May 24, 2021 That's what Linux should learn
To verify that the LNMP dynamic site environment is properly configured, you can use to deploy the Discuz! system above and then view the results. I f you can successfully install the Use OfDiscuz! forum system in the LNMP dynamic site environment, it means that the architecture is available. D iscuz! X3.2 is the most common community forum system in China, after more than a decade of research and development has become the world's most mature, the most extensive coverage of the forum website system.
Discuz! T he suffix of the X3.2 package is .zip format, so it should be unziped using a dedicated unzip command. A fter unziping, a file directory named upload appears in the current directory, which holds TheDiscuz! T he system program of the forum. O nce we have emptied the contents of the root directory of the Nginx service provider site, we can copy all the files in this directory. Remember to modify the owners and groups of the Root Directory of the Nginx Service program to local www users (created in section 20.2.2) and give them 755 permissions to read, write, and execute files within the forum system.
[root@linuxprobe php-5.5.14 ]# cd /usr/local/src/ [root@linuxprobe src]# unzip Discuz_X3.2_SC_GBK.zip [root@linuxprobe src]# rm -rf /usr/local/nginx/html/{index.html,50x.html} [root@linuxprobe src]# mv upload/ /usr/local/nginx/html/ [root@linuxprobe src]# chown -Rf www:www /usr/local/nginx/html [root@linuxprobe src]# chmod -Rf 755 /usr/local/nginx/ h tml Step 1: Accept the license agreement for the Discuz! installation wizard. T he browser page can be refreshed after copying the Content! forum system program (i.e., the content in the update directory just now) to the root of the Nginx service site, which will automatically jump to Discuz! X3.2 Forum system installation interface, here you need to click the "I agree" button, into the next installation process, as shown in Figure 20-4.
Figure 20-4 AcceptIng Discuz! Installation license for the X3.2 Forum system
Step 2: Check Discuz! X 3.2 Forum system installation environment and directory permissions. The version and software we deployed for the LNMP dynamic site environment are in line with the requirements of the Discuz! forum, and if the directory status in box 20-5 is not writeable, check for the directory's owners and groups as www users, and whether 755 permissions are set on the directory, and then click the Next button.
Figure 20-5 Check Discuz! X3.2 Forum system installation environment and directory permissions
Step 3: Select "Fresh installation of Discuz! X (including UCenter Server). UCenter Server is the site's management platform, able to synchronize member account and password information between multiple sites, click the Next button, as shown in Figure 20-6.
Figure 20-6 Select the newly installed Discuz! Forum and UCenter Server
Step 4: Fill in the server's database information and forum system administrator information. T he website system uses a database service provided locally by the server, where the data name and data sheet prefix can be filled out by the user, where the username and password of the database are the information used to log on to the MySQL database ( whichever is filled in when the MySQL service program is initialized). T he administrator account of the forum system is the verification information used to log in and manage the Discuz! forum in the future, where the account can be set up simply and well remembered, but the password should be set as complex as possible. Click the Next button after the information is filled in correctly, as shown in Figure 20-7.
Figure 20-7 Fill in the server's database information and forum system administrator information
Step 5: Wait for Discuz! T he X3.2 Forum system is installed, as shown in Figure 20-8. T his installation process is very fast, it only takes about 30 seconds, and then you can see the forum installation completed welcome interface. B ecause the virtual machine host may not be connected to the Internet, ads for the Diskuz! forum system may not display properly in this interface. S uccessfully installed Discuz on an Internet-connected server! A fter the X3.2 forum system, the interface is shown in Figure 20-9. Then click the "Your forum is installed, click here" button to access the forum's home page, as shown in Figure 20-10.
Figure 20-8 Waiting for Discuz! X3.2 Forum system installed
Figure 20-9 Successful installation of Discuz! Welcome interface after X3.2 forum system
Figure 20-10 Discuz! The home page interface of the X3.2 forum system