One, TFTP server: Windows---linux, or Linux-linux or windows-windows
1. Installing the TFTP server
rpm-ivh/mnt/packages/tftp-server-0.49-7.e16.i686.rpm
Attention:
Installing the TFTP RPM package separately will prompt an error:
Failed dependencies xinetd is needed by tftp ...
So:
RPM-IVH xinetd. Rpm
RPM-IVH Tftp-server. Rpm
2, configure the TFTP server: On Ubuntu is generally installed Apt-get tftpd tftp
The TFTP service defaults to XINETD's sub-service, so it is configured in/ETC/XINETD.D/TFTP
Vim/etc/xinetd.d/tftp
Server tftp{
Socket Type =dgram
Protocol =UDP
Wait =yes
User =root
Server =/usr/sbin/in.tftpd
Server_args =-s/var/lib/tftpboot//need to modify the server home directory
Server args =-s/tftpboot
Disable =yes//need to be modified
Disable =no
Per_source =11
CPS = 100 2
Flags =ipv4
}
3. Restart the TFTP server
/ETC/INIT.D/XINETD Startup and Shutdown script files for system services in restart INIT.D
4. Test TFTP service
Shut down firewall:/etc/init.d/iptables stop
Close Selinux:setenforce Permissice
On the Windows side, use the TFTPD client software to access the Tftp-server and do not need to set the port
Second, share the directory between Nfs:linux
1. Installation:
RPM-IVH nfs-utils...rpm
2. Add a shared directory
Vim/etc/exports
/temp * (Rw,sync,no_root_squash)
Description
/tmp: The directory to be shared
*: Allow access to the host IP of the shared directory
/wp * (Rw,sync,no_root_squash) allows all users
/wp 192.168.1.* (Rw,sync,no_root_squash) allows users of a network segment
(Rw,sync,no_root_squash): access rights
Sync refers to whether to write back to the server
No_root_squash: If it is accessed as root, the original root permission remains intact
3. Start the NFS Server menu
/etc/init.d/nfs restart
Third, the construction of FTP server
1.RPM-IVH vsftpd....rpm
2. Enter/ETC/VSFTPD
3. Vim vsftpd.conf: How to configure, according to the actual situation on-line access to relevant information
4. Restart the FTP server:/etc/init.d/vsftpd restart
Note: You cannot log on to the FTP server as the root user, log on
Installation of various network services on REDHAT6.3-I386