- 论坛徽章:
- 0
|
2007/10/21
===================================================================================================
Host OS install and environment build
===================================================================================================
1. Linux host OS: Ubuntu-7.10
2. On linux host, execute command after installed
$sudo apt-get upgrade
$sudo apt-get update
3. Install build-essential - this will install a complete devlopement environment for linux
$sudo apt-get install build-essential libncurses5-dev bison flex texinfo zlib1g-dev gettext autoconf
4. Install nfs
$sudo apt-get install nfs-kernel-server
$edit /etc/exports, add /opt/nfs *(sync,rw)
$sudo /etc/init.d/nfs-kernel-server restart
5. Install tftp
1) Install tftpd and related packages.
$sudo apt-get install xinetd tftpd tftp
2) Create /etc/xinetd.d/tftp and put this entry:
service tftp
{
protocol = udp
port = 69
socket_type = dgram
wait = yes
user = nobody
server = /usr/sbin/in.tftpd
server_args = /tftpboot
disable = no
}
3) Make /tftpboot directory
$sudo mkdir /tftpboot
$sudo chmod -R 777 /tftpboot
$sudo chown -R nobody /tftpboot
4) Start tftpd through xinetd
$sudo /etc/init.d/xinetd start
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/27204/showart_433964.html |
|