`
openfetion
  • 浏览: 26696 次
  • 性别: Icon_minigender_1
  • 来自: 广州
最近访客 更多访客>>
文章分类
社区版块
存档分类
最新评论

ubuntu 8.04 安装

阅读更多
1.修改 /etc/apt/source.list
使用 http://ubuntu.cn99.com/ubuntu/
sudo apt-get update

安装中文
System > Language support
安装好之后,中文输入也OK了。

2.常用软件安装
sudo apt-get install emacs
sudo apt-get install xchm
sudo apt-get install ssh
sudo apt-get install vsftpd
sudo apt-get install filezilla

3.安装开发环境
======== 安装GCC
sudo apt-get install build-essential

======== 安装Java
sudo apt-get install sun-java6-jdk
update-alternatives --config javac

在 /etc/environment加入
JAVA_HOME="/usr/lib/jvm/java-6-sun

======== 安装eclipse 3.3
www.eclipse.org
下载eclipse 最新版本。解压就可以用

但是,如果是eclipse 3.3 版本,就需要
mkdir ~/.mozilla/eclipse

// 不明白为什么,3.3如果不这样就会在启动过程warning:
Could not initialize the application's security component

最后可以安装eclipse plugins
分享到:
评论
20 楼 openfetion 2008-08-09  
install mkimage for u-boot uImage

http://ubuntu2.cica.es/ubuntu/ubuntu/pool/universe/u/uboot-mkimage/
get the .dep package

then

sudo dpkg -i uboot_xxx.deb
19 楼 openfetion 2008-07-29  
emacs 显示中文

http://zhdotemacs.sourceforge.net/emacs/x188.html

(set-language-environment 'Chinese-GB)
(set-keyboard-coding-system 'euc-cn)
(set-clipboard-coding-system 'euc-cn)
(set-terminal-coding-system 'euc-cn)
(set-buffer-file-coding-system 'euc-cn)
(set-selection-coding-system 'euc-cn)
(modify-coding-system-alist 'process "*" 'euc-cn)
(setq default-process-coding-system
            '(euc-cn . euc-cn))
(setq-default pathname-coding-system 'euc-cn)
18 楼 openfetion 2008-07-28  
as samba server
add

/etc/samba/smbusers
username = "network username"

# username is some valid user, "xxx" is description

modify /etc/samba/smb.conf

[shares]
path=/pathtowhereusharewithwindows
public=yes
writable=yes
valid user=username #this username appears in smbusers file
force user=nobody
force group=nogroup
availabel=yes
browseable=yes
create mask=0700
directory mask=0700

sudo smbpasswd -a username # to set password and add username into samba user


#######################################################################


sudo mount -t smbfs //192.168.8.137/testdir /home/xxx/mnt/test
17 楼 openfetion 2008-07-15  
vsftpd配置很简单。

/etc/vsftpd.conf

修改几个定义就可以了。缺省只能是匿名用户登录。
16 楼 openfetion 2008-07-15  
nfs 配置

/etc/exports
增加 /nfsdir 192.168.1.1/24 (rw,no_root_squash,async) 类似的声明

运行
exportfs -a

/etc/init.d/nfs-kernel-server restart


client访问

mount -t nfs 192.168.1.2:/home/xxx/nfsroot /local/dir/path
15 楼 openfetion 2008-07-11  
sudo apt-get install glibc-doc manpages-dev binutils-doc cpp-doc gcc-4.0-locales debian-keyring gcc-4.0-doc lib64stdc++6
  manpages-dev autoconf automake1.9 libtool flex bison gcc-doc libc6-dev-amd64
  lib64gcc1 glibc-doc libstdc++6-4.0-doc stl-manual
14 楼 openfetion 2008-06-20  
install gcc documentation

sudo apt-get install gcc-doc
13 楼 openfetion 2008-06-20  
install binutils documentation. including gas, ld, nm, objcopy ...

sudo apt-get install binutils-doc
12 楼 openfetion 2008-06-12  
kernel source

sudo apt-get install linux-source
11 楼 openfetion 2008-06-11  
dos工具

sudo apt-get install tofrodos
10 楼 openfetion 2008-06-06  
emacs

~/.emacs.d/init.el

(setq c-default-style "linux")

(defconst color-scheme 'dark)
(defconst foreground-color "gray85")
(defconst background-color "gray25")
(defconst cursor-color "red3")
(defconst pointer-color "white")

(set-face-foreground 'default foreground-color)
(set-face-background 'default background-color)
(setq frame-background-mode color-scheme)
(set-cursor-color cursor-color)
(set-mouse-color pointer-color)
9 楼 openfetion 2008-06-06  
sudo apt-get install libz-dev
8 楼 openfetion 2008-06-05  
nfs

sudo apt-get install nfs-kernel-server nfs-common portmap
7 楼 openfetion 2008-06-05  
makeinfo

apt-get install texinfo
6 楼 openfetion 2008-06-04  

apt-get install bison
apt-get install flex
apt-get install gettext
5 楼 openfetion 2008-06-04  
安装 libtool

sudo apt-get install libtool
4 楼 openfetion 2008-06-04  
安装 tftpd
refrence http://www.davidsudjiman.info/2006/03/27/installing-and-setting-tftpd-in-ubuntu/


sudo apt-get install tftp tftpd xinetd

/etc/xinet.d/tftp
service tftp
{
protocol = udp
port = 69
socket_type = dgram
wait = yes
user = nobody
server = /usr/sbin/in.tftpd
server_args = /tftpboot
disable = no
}

$ sudo mkdir /tftpboot
$ sudo chmod -R 777 /tftpboot
$ sudo chown -R nobody /tftpboot

$ sudo /etc/init.d/xinetd start

测试
tftp localhost
tftp>put xxx
tftp>get xxx
3 楼 openfetion 2008-06-04  
== 数学库,不一定需要

http://gmplib.org/

./configure --host=x86
make
make check
make install
2 楼 openfetion 2008-06-04  
安装 ncurses

*** MUST ***
sudo apt-get install libncurses5-dev


Maybe not necessary, I'm not sure!
===============
http://ftp.gnu.org/pub/gnu/ncurses/
下载

解压

./configure --without-debug

make

sudo make install
1 楼 openfetion 2008-06-04  
安装 minicom

sudo apt-get install minicom

相关推荐

Global site tag (gtag.js) - Google Analytics