Setting up an FTP server on Ubuntu10.0.4 is very simple: 1. Download and install vsftpd: Open the terminal and enter sudoapt-getinstallvsftpd. At this time, multiple ftp folders are added under the home directory. Installation is complete. 2. Then, start the ftp server: sudo/etc/init. d/vsftpdstart. At this time, a simple ftp server is set up. However, you can access it anonymously or
Setting up an FTP server on Ubuntu 10.0.4 is very simple:
1. Download and install vsftpd:
Open the terminal and enter
Sudo apt-get install vsftpd
In this case, an ftp folder is added to the home directory.
Installation is complete.
2. Then, start the ftp server:
Sudo/etc/init. d/vsftpd start
In this case, a simple ftp server is set up. However, the password can be accessed anonymously or through an ftp user name. To add a user and extend the function, you need to set/etc/vsftpd. conf.
Vftpd has three types of users. The first category is anonymous users, the second category is local users, and the third category is guest users. A local user is a logon user on a linux server. The third type of guest is an external account that needs to be allocated separately.
In vftpd. conf, you can easily set these users and their permissions, and set to lock the main directory, download rate, upload rate, and so on. Each setting has a more detailed explanation. If the English is good, there is no problem.
Setting up an apache server on ubuntu is also very simple:
1. Download and install apache2
Open the terminal and enter
Sudo apt-get install apache2
2. After installation, start the apache2 server.
Sudo/etc/init. d/apache start
3. The home page of the default server is located in/var/www.
To install php,
Then sudo apt-get install libapache2-mod-php5
4. Put a php file in var/www to test whether php is successfully installed.
Phpinfo is a function in php used to display environment information.
Sudo sh-c "echo' '>/Var/www/info. php"
Open the browser and enter localhost/info. php. If the php and environment information is displayed, the installation is successful.