Installation of various network services on REDHAT6.3-I386

Source: Internet
Author: User

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

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.