At present, many enterprise organizations are framing their own intranet,ftp server is one of the service support, a number of units to purchase a UNIX-based platform of computers, in order to be able to provide FTP service online support, specialized in the acquisition of Unix-based platform FTP server software, In fact, based on the UNIX platform of Computer systems, to take certain technical methods, you can set up their own FTP Server, to achieve online file download services, no need to purchase specialized software, and music and not for it? The following is an elaboration of its establishment process:
1, determine the FTP server's shared directory
Create an FTP working directory for FTP server, which is set to/home/ftp
2, write the FTP server initial settings of the shell program (Setup)
Use an editing tool (such as VI) to write a shell program to set up the system.
3. Edit/etc/passwd and/etc/shadow documents
To set up an anonymous FTP account, add the following data items to the/etc/passwd and/etc/shadow two files, respectively, in the following ways:
(1) Increase in the/etc/passwd file
Ftp:x:30000:30000:anonymous Ftp:/home/ftp:/nosuchshell
(2) Increase in the/etc/shadow file
ftp:np:6445:::::
4., run the Setup program
Before you run the Setup program, set the file as the execution file
#chmod +x Setup
Run the Setup program #setup/home/ftp
The above steps to complete the establishment of the FTP server, you can use the FTP server, such as Explorer, Netscape Navigator and other browsers to access the FTP server, download and upload file operations, the use of very convenient.