2008年10月20日 星期一

安裝Ubuntu

當安裝完Ubuntu後,還需安裝套件的筆記

1. 安裝nfs
$ sudo apt-get install nfs-common nfs-kernel-server
$ sudo vi /etc/exports
/work/MVP 192.168.*.*(rw,no_root_squash,nohide,insecure,no_subtree_check,async)
/etc/init.d/nfs-kernel-server restart

2. 安裝tftp
sudo apt-get install xinetd tftp-hpa tftpd-hpa
vi /etc/xinetd.d/tftp
service tftp
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /var/lib/tftpboot
disable = no
per_source = 11
cps = 100 2
flags = IPv4
}
sudo /etc/init.d/xinetd restart

3. 安裝inputrc
cp .inputrc ~/

4. 安裝samba
$ sudo apt-get install samba smbfs
$ sudo smbpasswd -a lucky
$ sudo vi /etc/samba/smb.conf
[FIRST]
comment = Lucky NB
path = /
available = yes
browsable = yes
public = yes
writable = yes
$ sudo /etc/init.d/samba restart

5. apt
sudo apt-get install
vim mc ctags cscope global gcc-4.1 linux-source libncurses5-dev denyhosts

沒有留言: