1.1 Log On As the root user and enter the terminal command mode;
1.2 enable the FTP service.
CD/etc/xinetd. D. Edit the configuration file gssftp for the FTP service:
Enable FTP service settings.
VI gssftp will modify two items:
(1) Remove server_args =-l-A and Change-A to server_args =-L.
(2) Change disable = yes to disable = No
(3) Save and exit.
1.3 enable the Telnet Service
CD/etc/xinetd. D, check the settings of the Telnet service configuration file krb5-telnet:
Enable Telnet service settings
VI krb5-telnet,
(1) Change disable = yes to disable = No. Save and exit.
1.4 activate the service:
Telnet/FTP is stored under xinetd. Therefore, as long as xinetd is re-activated, the settings in Xinetd can be re-read. Therefore, the configured Telnet/FTP can be activated.
Activate the Directory and command:
CD/etc/rc. d/init. d/
Service xinetd restart
Sometimes the system prompts that the command does not exist and the command path needs to be added.
[Root @ localhost init. d] # service xinetd resart
Bash: Service: Command not found
[Root @ localhost init. d] #/sbin/service xinetd restart
Restart FTP and Telnet service vsftpd start
Note: If the host is configured with DNS, it does not know why FTP connection is slow. After the host is connected, it will be normal. If DNS is removed, it does not seem like this problem.