Ubuntu remote start (nfs)-Linux Enterprise Application-Linux server application information. The following is a detailed description. Preface:
This article aims to enable a hard disk-mounted Ubunt system to be started remotely, and ensure that the client hardware configuration is the same as that of the system installer.
Steps:
1. In C0 (IP: 192.168.0.100 ~ 255) Host OS installation
Install Ubuntu on a PC and adjust it to a satisfactory state.
2. Configure the Server on the S Server (IP: 192.168.0.2)
2.1
The following services must be installed on the S server:
DHCP
Sudo apt-get install dhcp3-server
TFTP
Sudo apt-get install tftpd-hpa tftp-hpa xinetd
NFS
Sudo apt-get install nfs-kernel-server
2.2NFS Configuration
Sudo vim/etc/exports
### Exports Start
# Remote start OS
/Desktop 192.168.0.0/24 (rw, no_root_squash, sync)
### Exports End
Exportfs-rv
Sudo/etc/init. d/nfs-kernel-server restart
Sudo mount-t nfs-o nolock 192.168.0.2:/desktop/mnt // test whether nfs works
2.3TFTP Configuration
Sudo mkdir/tftpboot
Sudo vim/etc/default/tftpd-hpa
### Tftpd-hpa Start
# Defaults for tftpd-hpa
RUN_DAEMON = "yes"
OPTIONS = "-l-s/tftpboot" // you can specify the tftp root directory.
### Tftpd-hpa End
Sudo vim/etc/xinetd. d/tftp
### Tftp Start
Service tftp
{
Socket_type = dgram
Protocol = udp
Wait = yes
User = tftp
Server =/usr/sbin/in. tftpd
Server_args =-l/tftpboot
# Only_from = client.test.net
}
2.4 configure dhcp
Cd/etc/dhcp3/
Sudo vim dhcpd. conf
Configure dhcp as needed to make it run.
Add the following two sentences to the end:
Next-server jack; // here jack is the IP address of the tftp server
Filename "pxelinux.0 ";
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.