The following describes my configuration methods.
First install the liunx VPs remote management tool. Here I use: [SSH Secure Shell client 3.2.9]
After installation, Open SSH Secure Shell client. Click quick connect. In the displayed dialog box, enter VPs information.
(Click to view the chart)
After entering the information, click Connect connection. If the information is correct, a password input box will pop up. Enter your VPS connection password here:
Use the passwd command to change the connection password
Next, configure domain name binding:
Click the button described in Figure 2 to open the file transfer window.
Find httpd. conf vhost. conf under/usr/local/apache2/conf and download them to the local device.
Open httpd. conf at the end of the file and change the domain name bound to the/data/web/mysqladmin directory.
After modification, upload the file to/usr/local/apache2/conf to overwrite httpd. conf (in case of protection, back up one copy first)
Then input/etc/init. d/httpd-K restart in the SSH Secure Shell client to restart Apache. Bind The phpmyladmin directory.
Open the domain name bound to phpMyAdmin in the browser and log on to phpMyAdmin.
Open the pureftpd database and Add. Modify. Delete. FTP username and password in the users table.
Bind the web directory:
Enable vhost. conf to configure the domain name bound to the web directory.
To bind the phpMyAdmin directory, restart Apache.