Talking about how to install WordPress, most of us think it is too simple, almost in any environment how to install the same. But I noticed before many people wonder how to install WordPress into VestaCP because ... not found data in VestaCP.
That's not to say that VestaCP does not have a File Manager, but rather that you have to pay a small amount to use it, see here.
In fact, we do not need the File Manager to do that. You can also use FTP to upload data, in this tutorial I will talk about how to install WordPress on VestaCP via FTP if you do. do not know
STEP 1. CREATE DATABASE
To create a database, go to the DB entry in the VestaCP administration page, then press the green button to create the database.
Here you just enter the database name and user database with the password to create only. You will see the database name and the user name with the forward prefix, which is the prefix based on the login name of the host you are using, which is to avoid duplicating the database name with others.
STEP 2. LOGIN IN HOST BY FTP
Now use the software that supports FTP connection (FileZilla, WinSCP, Cyberduck, ...) and log on to the host with the following information:
FTP URL: server IP or primary domain.
FTP User: The username that you created in the first post.
FTP Password: password of login to host
Port: 21
Then go to /web/domain.com/public_html to get to the root of your site. This must be too familiar.
STEP 3. UPLOAD CODE WORDPRESS ON HOST
Download the latest WordPress source code at https://wordpress.org/latest.zip and unpack it, then upload the entire file and directory in the wordpress directory to the public_html directory of the domain using FTP, so delete Take index.html and robots.txt files available.
After you have uploaded the source code, go to the domain and fill in the database information you just created to start the installation.
TRANSFER WEBSITE FROM OTHER HOST
To transfer the website data from other host is simple, in particular you will do the following steps:
Download the source code in the old host on the machine.
Go to phpMyAdmin at the old host to export the database.
Create a new database at VestaCP
Login to FTP at VestaCP and upload the source code downloaded in step 1.
Open the wp-config.php file uploaded to the host in step 4. Edit the database information via the database created in step 3.
Log into VestaCP -> DB -> phpMyAdmin to import the database you made in step 2.
To access phpMyAdmin at VestaCP as described in step 6, you click on the link below the image in the DB section.
EPILOGUE
Although this part seems a little redundant in this series because it is too basic but I think a little sure you also do not know so I write so that when you find the document that reference.
In the next post, we fixed the error messages sent from the system it all into the spam folder. For example, when creating a database or adding a domain, the information will be sent to the user's email but by default these messages will be added to the spam because of incorrect information on the website, the same thing we will fix it.
Friday, May 4, 2018
[VESTACP - PART 7] SETTING AND TRANSFERRING WORDPRESS DATA
Subscribe to:
Post Comments (Atom)

No comments:
Post a Comment