The installation of Wordpress is very simple. if everything goes well, it only takes a few minutes. Of course, proper preparations are necessary here. To place your Wordpress files, you must first find a suitable host. It doesn't matter whether you build it yourself or rent it from a service provider. (Here
The installation of Wordpress is very simple. if everything goes well, it only takes a few minutes. Of course, proper preparations are necessary here.
To place your Wordpress files, you must first find a suitable host. It doesn't matter whether you build it yourself or rent it from a service provider. (Only the last case is described here)
As mentioned in the previous introduction, Wordpress is implemented using PHP + MySQL. Therefore, its installation has a basic requirement on the host, that is, the host must support PHP versions later than 4.1 and MySQL versions later than 3.23.23. In addition, the host's Apache (the most popular Web server on the Earth, similar to Microsoft's IIS-Internet InformationServices) is best to support the mod_rewrite function, in this way, you can generate various specified forms of Permalink (a static html form of page address) for search engine search and user use. Otherwise, the form of page link can only be my Blog such, such as http://alexhuang.org /? P = 1. Of course, this does not affect its normal use.
After purchasing a host, you can log on to the management page, and then define a database of your own by setting the MySQL database panel. the name and user name and password of the database are determined by yourself. These three things are very important. please remember them.
Next, you can download the latest Wordpress package here for formal installation.
First, decompress the package with the decompression software such as WinRAR.
Then, find the wp-config-sample.php file in the unzipped directory and open it with text editing software such as notepad.
The next step is the most critical step: enter your MySQL database information, which is defined in the settings panel provided by the VM service provider. In the header of the wp-config-sample.php file, you will find
// ** MySQL settings **//
Define ('Db _ name', 'wordpress '); // replace wordpress with your MySQL database NAME
Define ('Db _ user', 'Username'); // replace username with your MySQL database username
Define ('Db _ password', 'password'); // PASSWORD is your MySQL database password
Define ('Db _ host', 'localhost'); // in general, this line does not need to be modified.
Follow the instructions in Chinese to enter relevant information. Rename the wp-config-sample.php file as a wp-config.php save in the form of Save.
After the file is modified, use FTP software such as Filezilla to upload the entire extracted directory to the Wordpress directory on your VM, the relevant information required during the upload, such as the host IP address, user name, and password, will be provided to you by the service provider. the usage of the FTP client will not be elaborated here. The Wordpress directory is determined by yourself. it can be the root directory or a new directory defined by yourself. it will determine the address at which your Blog will be accessed. If I put it in the root directory, you can use the limit (of course, you can set and change this limit in the background ).
The last step of installation is to get your Wordpress user name and password. Enter install. the URL of the PHP file, which is located in the wp-admin subdirectory under your Wordpress Directory. Therefore, the general format is http: // wordpress directory/wp-admin/install. php. This installation file will generate a user name and password for you. through these, you can go to the Wordpress management panel to perform related operations, and have the highest permissions. This password is very important. please remember it. of course, you can also change the password to your favorite string after logon.