2008-05-15

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
评论
openfetion 2008-07-15
vsftpd配置很简单。

/etc/vsftpd.conf

修改几个定义就可以了。缺省只能是匿名用户登录。
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
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
openfetion 2008-06-20
install gcc documentation

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

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

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

sudo apt-get install tofrodos
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)
openfetion 2008-06-06
sudo apt-get install libz-dev
openfetion 2008-06-05
nfs

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

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

sudo apt-get install libtool
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
openfetion 2008-06-04
== 数学库,不一定需要

http://gmplib.org/

./configure --host=x86
make
make check
make install
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
openfetion 2008-06-04
安装 minicom

sudo apt-get install minicom
发表评论

您还没有登录,请登录后发表评论

openfetion
搜索本博客
博客分类
最近加入圈子
最新评论