Log in to the management server as root.
Create symbolic links to the /etc/init.d/vsftpd file in the /etc/rc3.d and /etc/rc5.d directories.
For example:
# ln -s /etc/init.d/vsftpd /etc/rc3.d/S99vsftpd # ln -s /etc/init.d/vsftpd /etc/rc5.d/S99vsftpd |
The FTP service is enabled, and starts when the management server is rebooted. After the system is rebooted, you can verify whether the FTP service has started by using the ps and grep commands:
# ps -eaf | grep ftp root 3035 1 0 16:27 ? 00:00:00 /usr/sbin/vsftpd /etc/vsftpd/vsf |
Update the /etc/hosts file as described in the next section.