I am “small white”, neither programming also do not understand CSS can build their own website? Can!!!! As long as you can use the mouse, know how to type can build your own website. How do you do that? Let’s see how this works. You can build a website quickly in Windows by using PHPStudy tools and WordPress software.

In order to reduce errors during the installation process and improve the success rate of setting up the website, it is recommended to use a newly installed Windows Server system to set up the environment, because installing PHPStudy will occupy some TCP or UDP ports, which will cause errors if they are occupied by other programs. It is recommended that you use VMware WorkStation or Oracle VirtualBox virtualization software to deploy Windows Server, and then install PHPStudy and WordPress on your virtual machine. The WorkStation and VirtualBox have the system snapshot function to roll back the system to the state when the snapshot was created. Another advantage is that VMS are isolated from physical servers. If a VM is faulty during installation, the physical servers are not affected.

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
PHPStudy PHPStudy V8.1.1.2
Nginx Nginx 1.15.11
MySQL MySQL 5.7.26
PHP PHP sections 7.3.4 NTS
WordPress WordPress 5.7

steps

The process of installing WordPress with PHPStudy on Windows Server is as follows: ① Obtain the software → ② Install PHPStudy → ③ Configure PHPStudy → ④ Install WordPress.

 

Step 1: Obtain software

  • Download PHPStudy V8.1 at www.xp.cn/download.ht… If it is a 32-bit system, select “32-bit Download”. This article downloads the 64-bit version for demonstration.
  • Download WordPress version 5.7, open the download page cn.wordpress.org/download/re… For Windows, download the installation file in **. Zip format.

Step 2: Install PHPStudy

Decompress the installation package of PHPStudy and WordPress respectively after downloading. The decompression of PHPStudy is as follows:

WordPress decompressed as follows:

 

Double click on the“Phpstudy_x64_8. 1.1.2. Exe”Start to install PHPStudy (note: use an account with administrator privileges to install PHPStudy), clickCustom options, select the installation directory, for example, D:\phpstudy_pro (the installation directory cannot contain Chinese or Spaces), then clickImmediate installationWait until the installation is complete.

Point”The installation is completeAfter the PHPStudy installation is complete, you can see the detailed version as V8.1.1.2

Step 3: Configure PHPStudy

1.Start the PHPStudy:Double click on the desktopphpstudyTo start PHPStudy, click”Start theStart Nginx, MySQL and PHP with one click, as shown below:

 

MySQL/Nginx/MySQL/Nginx/MySQL

 

2. Create a website

  • Copy all the extracted wordpress directories into D:\phpstudy_pro\WWW

 

  • Click “Create website” button, fill in the domain name useclouds.cn (domain name can be customized), select the root directory of the website D:\phpstudy_pro\WWW\wordpress, select PHP version php7.3.4nts, then click “Ok” button.

 

  • A message is displayed indicating that the website is successfully created

Create database:Before creating a database, change the password of user root to your own password. Click on the”Changing the root password, after entering the new password, clickConfirm 】, as shown below:

Click create database and fill in the database name, user name and password. Click create database.confirm**, record the database name, user name, and password, which will be used for installing WordPress later.

4. Set hosts:Click [hosts] indicated by the arrow to open the hosts file

 

Edit the hosts file in the C:\Windows\System32\drivers\etc directory on the Windows Server 2019 server. If the hosts file does not contain 127.0.0.1 usclouds.

Step 4: Install WordPress

To install WordPress, enter the domain name useclouds.cn in the address bar of your browser (Chrome or Firefox is recommended), press Enter, and click “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 [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 of search engines: it is recommended not to check, if your site does not want to be included in the search engine can check, even if the check can not guarantee that the search engine will not be included.

“WordPress installation is successful”The loginReady to log in to WordPress.

Enter the user name 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