Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use Pagoda Panel to build WordPress website

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article will explain in detail how to use the pagoda panel to build a WordPress website. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.

I. preparation conditions for the construction of the station

Condition 1: one Ali CVM. In principle, it would be nice to have a server, but I generally like to use big brands, stability and security.

Condition 2: one Aliyun domain name. Where you buy the server, you will use the domain name of the server, and vice versa. By the way, you also need to record the domain name, otherwise, the domain name will not be able to access the site. You can refer to: do you have to put on record if you buy a domain name?

Condition 3: the server installs pagoda panel environment. Pagoda panel, really easy to use, helped me save a lot of energy and time. For more information on how to install pagoda panels on CVM, please refer to the tutorial: the most complete tutorial on building pagoda panels based on Ali Cloud servers (figure and text)

Conditional 4:wordpress Chinese installation package. You can download it from the official website, or you can use me to download it. Wordpress Chinese installation package (download CAPTCHA: 123456)

Second, pagoda panel add site

Ready to start adding sites:

Site added successfully! It doesn't matter if you can't remember the user name and password of FTP and database, anyway, you can change it at any time. But you remember the login account number and password of the pagoda panel.

Go to the root of the site. The subsequent steps to install any website program will be carried out in this root directory. As long as you create a new site, there will be a unique site root. The file in the root directory of the site is the website program.

Upload the website program and extract the installation package

Here I am going to install WordPress, so I need to upload the WordPress Chinese version installation package.

If you can't see the upload button on the page, please zoom in to the browser page and you can see it.

The installation package file was uploaded successfully:

Prepare to extract the installation package file:

Modify the site configuration file

This configuration file is the Nginx configuration file, because our site environment is LNNMP (Linux+Nginx+Mysql+PHP). However, this configuration file is easy to understand and does not require you to do in-depth configuration. Warm Tip _ _: if you want to get started with Nginx-related knowledge, you can read this site's: Nignx practical course

To put it simply, because the installation package under the site root directory unzipped the files to the "site root directory / wordpress" directory. So the root of the site profile needs to be changed to:

Root/ www/wwwroot/begin.yundashi168.com/wordpress

Configuration file completion code:

Server {listen 80; # warm Tip: if you plan to visit your site with a public network ip address, you can't fill in the domain name here, just write the public network ip address of the server. For configuration related to server_name begin.yundashi168.com; index index.php index.html index.htm default.php default.htm default.html; root/ www/wwwroot/begin.yundashi168.com/wordpress; # SSL-START SSL, do not delete or modify the next line of annotated error_page 404 rule # SSL-END # ERROR-PAGE-START error page configuration. You can comment, delete or modify # html. # error_page 502 / 502.html; # ERROR-PAGE-END # PHP-INFO-START PHP reference configuration, you can comment or modify include enable-php-73.conf; # PHP-INFO-END # REWRITE-START URL rewriting rule references, which will invalidate the pseudo-static rules set by the panel include / www/server/panel/vhost/rewrite/begin.yundashi168.com.conf. # REWRITE-END # prohibited files or directories location ~ ^ / (\ .user.ini |\ .htaccess |\ .git |\ .svn |\ .project | LICENSE | README.md) {return 404;} # one-click application for SSL certificate verification directory related settings location ~. Well-known {allow all;} location ~. *\. (gif | jpg | jpeg | png | bmp | swf) ${expires 30d; error_log off Access_log / dev/null;} location ~. *\. (js | css)? ${expires 12h; error_log off; access_log / dev/null;} access_log / www/wwwlogs/begin.yundashi168.com.log; error_log / www/wwwlogs/begin.yundashi168.com.error.log;}

Tip: after modifying the configuration file, you need to click the "Save" button to save it.

Domain name resolution binding

Because the domain name is required to access the created site, the domain name resolution binding must be carried out. If you only need IP access, this step is omitted, but you have to change the server_name attribute in the site Nginx configuration file to your server's public network IP address instead of writing the domain name address. Domain name list address: you need to log in to the Aliyun account before https://dc.console.aliyun.com/next/index?accounttraceid=0050f9ab236f4896866130327de9264fubpf#/domain/list/all-domain can access the domain name list address.

Click analyze, as shown in the figure.

Add a resolution record:

After filling in, click "OK" to save, and it will take effect in 10 minutes. You can use the second-level domain name to access the site you created.

6. Install WordPress online (domain name access)

The IP address of the site has been bound to the secondary domain name in the previous step. This step directly accesses the domain name to install Wordpress online.

Direct access: http://begin.yundashi168.com starts to install WordPress.

1. Fill in the information related to the database name

2. Fill in the relevant information about the website.

3. WordPress installed successfully!

This is the end of the article on "how to build a WordPress website using pagoda panels". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report