Home >CMS Tutorial >WordPress >How to create a blog in wordpress
First download the WordPress installation package. You can download it directly from their official website. You can search it on Baidu. It is not convenient to put the link here.
Secondly, you must have a server or a virtual host space. The virtual host space only requires you to upload your files. It is quite convenient. You can use it in Alibaba Cloud or Other cloud servers can be opened directly there.
Here we still use Alibaba Cloud’s Linux server as a tutorial, because the server is more professional after all. Here we first upload the compressed package to the server. Below is the directory of the uploaded and decompressed files.
Copy the file to your nginx default site directory and open the WordPress installation home page as follows. The premise is that you first install the nginx and php environments.
Related recommendations: "WordPress Tutorial"
If you don’t have a database, you must create a database first. The database can be installed directly with yum. Enter on your server: mysql -u root -p Enter the password xxxx to view the existing databases, enter: show databases; to create the WordPress database wordpress_db, enter: create database wordpress_db; the creation is completed, the operation process is as follows:
Just click Next according to the above prompts until the following interface appears. Congratulations, the installation is completed!
Start enjoying your personal blogging journey, isn’t it easy!
The above is the detailed content of How to create a blog in wordpress. For more information, please follow other related articles on the PHP Chinese website!