ArticleDirectory
- I. required environment requirements
- Ii. Install tools and software that may be used
- 3. discuz! 6.0 installation steps: (use a virtual space to install discuz! 6.0.0 for example)
- Step 3: Installation Process
I. required environment requirements operating system requirements
Discuz! It has cross-platform features and can run in Linux, FreeBSD, UNIX, Microsoft Windows 2000/2003, and other operating system environments. We have done a lot of tests and field tests on the above operating system in the software to ensure discuz! It can run securely and stably in the above system, but you still need to take security precautions at the server operating system level. For example, Windows users need to change the initial Root Password of MySQL for Windows, avoid reading and writing files across directories; avoid using too simple passwords for Unix-like users, avoid reading and writing files across user directories, and do other related software (such as Sendmail, FTPD, httpd) on the server) and later versions.
If you rent a virtual host, the provider of formal and technically powerful virtual hosts has prepared for the operating system. You do not have to pay attention to this part.
We recommend that you use the Linux/FreeBSD operating system, which is free of charge and provides better stability and load capabilities. If you are using a Windows system, install PHP in the ISAPI (non-CGI) mode.
Language and database support environment requirements
- Available HTTPd servers (such as Apache, Zeus, and IIS)
- PHP 4.1.0 and later
- Zend optimizer 3.0 and above
- MySQL 3.23 and later versions (only for MySQL discuz !)
In addition to the httpd software, the above software may need to be purchased, and the rest are free cross-platform software. We recommend that you use the latest stable version of the above software, which not only has more functions, in addition, you have fixed known security vulnerabilities in earlier versions.
Recommended environment software version:
- PHP 4.4.4 (or 5.1.6)
- Zend optimizer 3.0.6 or above
- MySQL 4.1.21 or (5.0.24)
Windows host environment setup Tutorial:
Http://www.discuz.net/viewthread.php? Tid = 378804
If you are renting a virtual host, please consult the virtual host provider, whether your space server has installed the above software. Because discuz! The data table has a prefix design, so you can usually discuz! Install Multiple discuz instances in the same database with other software or use different prefix names! Forums do not conflict.
Your MySQL database account should have execution permissions such as create, drop, and alter, and the file space should be no less than 2 MB, and the database space should not be less than 5 MB, generally, your virtual space meets this condition to meet the requirements, including discuz! And most of the network software. If you do not know the details, please consult your Space Provider.
Ii. Install tools and software that may be used
Discuz! The development team tries its best to make the installation steps simple and convenient, but some commonly used tools and software may still be used. If you use the network to discuz! When the software is uploaded to the server, you may need an FTP client. Use the FTP client software to upload related files to the server using your Server FTP account. At the same time, you may need a simple text file editing software to modify the parameters of the configuration file. Generally, Windows "Notepad" or third-party software, such as ultraedit, is competent.
Discuz! It is required that PHP files be uploaded using the FTP software in binary mode. Otherwise, PHP files cannot be used normally. For more information about binary uploads, see the http://www.discuz.net/viewthread.php? Tid = 73393
3. discuz! 6.0 installation steps: (use a virtual space to install discuz! 6.0.0 for example) Step 1: In discuz! Download the appropriate version from the official forum
First download the desired version of discuz to the http://www.discuz.net/thread-686858-1-1.html! 6.0.0 to local or server.
Here, we provide four different encodings. Including GBK Simplified Chinese version (recommended), UTF-8 Simplified Chinese version, big5 Traditional Chinese version (recommended), UTF-8 Traditional Chinese version, please according to the server MySQL version, select the appropriate version of the ForumProgramDownload.
Note: MySQL and earlier versions do not have the character set concept.
Step 2: decompress and upload the Forum program to the server and modify the corresponding directory permissions.
- Upload the Forum program to the server
This demonstration uses the GBK version as an example to download to the local device and compress the following four files:
You only need to upload all the files under the upload directory to FTP;
Here, users_guide.htm is the user manual (this document );
The usersguide directory is the user manual content and image directory;
Utilities directory is a tool attached to the Forum.
Upload All files under the upload directory to the space using FTP, as shown in Figure 2:
For the FTP software upload method, refer to the instructions here:
Http://kb.discuz.com/index.php? Title = Chapter 2: Upload a website
- Set related directory properties so that data files can be correctly read and written by the program
Log on to your server using FTP, set the following directory on the server and the attributes of all files under the directory to 777, and set the Internet Guest account read/write attribute on the win host. If the following directory contains a directory that you do not have, you do not need to set it.
For directory permission modification, see: http://www.discuz.net/viewthread.php? Tid = 487165
- Config. Inc. php
- ./Templates
- ./Attachments
- ./Customavatars
- ./Forumdata
- ./Forumdata/templates
- ./Forumdata/Cache
- ./Forumdata/threadcaches
- ./Forumdata/logs
Step 3: Installation Process
After the upload is complete, run install. php In the browser to enter the preparation page, as shown in 3:
After reading the license agreement, click "I agree" To Go To The following inspection configuration file page, as shown in 4:
After checking the configuration, click "Next" to go to the database information configuration page, as shown in Figure 5:
Note: For a VM user, the database user name and password are generally provided by the VM Space Provider. For an independent host, the database username and password are the username (usually root) and password you entered when installing MySQL (it is recommended that you create a new database user for installation and use root for security issues ).
"System email" refers to the email that a forum system user can contact. Generally, it is filled in with the webmaster's email address. The "Contact Us" link is displayed on the front-end.
After entering the "database username" and "Database Password", click "Next" to go to the page 6 shown in the following figure: Enter the Administrator account password.
Enter the Administrator account password and click "Next" to go to the installation page, as shown in 7:
After the installation is complete, click "congratulations on the successful installation of the forum, click to enter the Forum Homepage" To Go To The installed Forum homepage, as shown in Figure 8:
Since then, discuz! 6.0.0 Forum installed successfully! You can use it!