The previous article covered installing WordPress on Windows. This article will show you how to quickly install WordPress on Linux. Linux is known to be less resource-intensive, more stable, and more secure than Windows, so if you’re building a formal website, Linux is recommended.
To reduce errors during the installation and improve the success rate of website establishment, you are advised to use the newly installed Linux operating system to set up the environment. You are advised to use VMware WorkStation or Oracle VirtualBox virtualization software to deploy Linux virtual machines, and then install the Pagoda panel and WordPress on the virtual machines.
Environmental information
System and software names | version |
---|---|
Windows(Physical machine) | Windows 10 |
Linux(Virtual machine) | CentOS 7.9 (Minimum Installation) |
VMware Workstation | VMware WorkStation 16 pro |
The pagoda panel | Pagoda Linux Panel 7.5.2 |
Nginx | Nginx 1.18.0 |
MySQL | MySQL 5.7.33 |
PHP | PHP 7.4 |
WordPress | WordPress 5.7 |
steps
The process for installing WordPress using the Pagoda Linux panel on Linux is as follows: ① Installing the Pagoda panel → ② downloading WordPress → ③ Registering a Pagoda account → ④ Configuring the Pagoda panel → ⑤ Installing WordPress.
Step 1: Install the Pagoda Linux panel
Log in to the Linux VM on the host (dedicated server) using SecureCRT, Xshell, or another SSH client, and run the following command to automatically install the Pagoda Linux panel:
/ root @ Linux ~ # yum install wget - y && wget - O the sh http://download.bt.cn/install/install_6.0.sh && sh the shCopy the code
During installation: Do you want to install the pagoda panel to the/WWW directory? Type y and press Enter.
Do you want to install Bt-Panel to the /www directory now? (y/n): yCopy the code
The Pagoda Linux panel is usually automatically installed within 5 minutes. After successful installation, the following output is displayed:
================================================================== Congratulations! Installed successfully! = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = the network panel address: http://120.229.96.167:8888/79c4c266 network panel address: http://192.168.1.100:8888/79c4c266 username: sv8thwjp # user name password: 5f601be5 # password If you cannot access the panel, release the following panel port [8888] in the security group Please check whether the firewall/security group has released a panel [8888] port = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = ` ` ` Time consumed: 1 Minute!Copy the code
Save the panel address, user name and password for later use.
Step 2: Download WordPress
In a physical machine to download WordPress 5.7, download address: cn.wordpress.org/wordpress-5…
Step 3: Register a pagoda account
The pagoda panel can only be used after binding with pagoda account, click this to register the pagoda account and send ¥3188 gift package, fill in the mobile phone number and password, click Verification, then click “get verification code”, after receiving the verification code, click “free registration” button to complete registration.
Step 4: Configure the pagoda panel
1. Log in to pagoda panel:Enter the Intranet panel address in the browser of the dedicated server, for example:http://192.168.1.100:8888/79c4c266, then enter your user name and password, and click”The loginPagoda panel. Drag the right scroll bar to the bottom, check “I have read and agree to the User Agreement”, and click”Into the panel“.
2. Install LNMP environment
- Select LNMP (recommended), select Nginx 1.18, MySQL 5.7, PHP 7.4, FTP and phpMyAdmin without installing Nginx 1.18, MySQL 5.7, PHP 7.4, FTP and phpMyAdmin, select Quick Install, and click One-click Install.
- Installing software and waiting for the installation to complete.
3. Bind the pagoda official website accountOn the popup interface for binding pagoda official website account, enter the account and password registered in pagoda official website and click”The login“Button.
4. Initial setupTo change the default user name and password, click”save“.
5. Upload the WordPress application and unzip it
- Select the downloaded WordPress application, click “Start uploading”, and wait for the upload to complete.
- To decompress the WordPress installation package, select WordPress Files and click Decompress.
- Select unzip to the/WWW /wwwroot directory and click the “Unzip” button in the image below to complete the unzip.
6. Add a siteClick on the”Add site“, fill in the domain name, select the root directory of the website, create a database, enter the database account, password, and then click”submit“.
- Create a site successfully after submission, save the database name, user, password, the later installation of WordPress to use.
- The site is successfully created and in the Running state.
7. Edit the hosts fileEdit C:\Windows\System32\drivers\etc directory on the physical machinehostsAdd a line 192.168.1.100 useclouds.cn at the end of the file to save the file.
Step 5: Install WordPress
To install WordPress, enter the domain name in the address bar of your browser (Chrome or Firefox is recommended)www.useclouds.cnEnter, hit”Start now!“Button to start installing WordPress.
Fill in the created database name, username, and password as shown below. Use the default localhost for the database host and the default wp_ for the table prefix. Click”submit“.
Next click on”Now the installation“Button to continue installation.
Fill in the basic information of the website according to the picture below, and then click “Install WordPress” to go to the next step.
Site title: The name of your site, giving your site a loud or impressive name
User name: This user is the background administrator account of WordPress and has the highest background management rights. The user name cannot be changed after confirmation. You are advised not to use common administrator names such as admin, administrator, and root, because Black K likes to crack the passwords of these users.
Password: a complex random password will be generated by default, please take care of it, the initial password can be changed in the background. It is recommended to enter your own complex password here (set the password to 16 characters or more, composed of upper and lower case letters, numbers and special symbols). If the password is too simple, it is easy to crack.
Email: Enter the email address
Visibility to search engines:Do not check the recommendation, if your website does not want to be included in the search engine can be checked, even if the check can not guarantee that the search engine will not be included.
If WordPress is successfully installed, clickThe login“Button ready to log in to WordPress.
Enter your username and password and clickThe login“Button to enter the WordPress background management system.
You have successfully logged in to the WordPress background management system, as shown below:
The initial installation of WordPress is complete, the default theme is used and the site only has a ** hello world! ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** *
This article is from Lightning Cloud sdyol.com