Lamp platform Deployment and application (ii) installation discuz! Forum System

Source: Internet
Author: User
Tags ftp client

LAMP platform Deployment and Application (ii)

Installing discuz! Forum System

Specific steps:

n server-side deployment

1. Preparatory work

first , you should prepare a Web server that can parse the PHP Web page to support the database, where the version of Apache, PHP, and MySQL components should conform to discuz! The minimum requirements of the system, where the previous source code compiled to build the lamp platform for example, the default home page is set to index.php.

second , you should determine the forum server domain name, IP address and access to the Forum URL address. discuz! The forum supports running as a standalone website, such as://bbs.benet.com, or as a directory for the site, such as://www.benet.com/bbs/. The specific access method is determined by the site administrator based on the registered DNS domain name.

finally , start the httpd, MySQL server program, and create the database and authorized users. discuz! The forum system needs to use a MySQL database to hold a variety of information, so you should provide an available library and a user who can read and write to the library before installation.

650) this.width=650; "Style=" background-image:none; border-bottom:0px; border-left:0px; margin:0px; padding-left:0px; padding-right:0px; border-top:0px; border-right:0px; padding-top:0px "title=" clip_image002 "border=" 0 "alt=" clip_image002 "src=" http://s3.51cto.com/wyfs02/M02/77/57/ Wkiom1zmrtobpb8haaafxxdsfh0483.png "" 244 "height="/>

2. Download and confirm the program code

Visit discuz! The official website of the forum Http://www.discuz.net, or its own company Hong Sing create the site http://www.comsenz.com/, can be downloaded discuz! The latest version of the Forum program.

Unzip the Discuz_7.2_full_sc_utf8 file package, which includes the readme, upload, utilities three folders by default. The Readme directory includes software introduction, installation instructions, version update logs and other files, upload is required to upload to the site of the Forum code directory, utilities directory includes a number of additional tools page.

650) this.width=650; "Style=" background-image:none; border-bottom:0px; border-left:0px; margin:0px; padding-left:0px; padding-right:0px; border-top:0px; border-right:0px; padding-top:0px "title=" clip_image004 "border=" 0 "alt=" clip_image004 "src=" http://s3.51cto.com/wyfs02/M00/77/57/ Wkiom1zmrttqbxhraaarlmr7jby290.png "244" height= "/>650" this.width=650; "style=" background-image:none; border-bottom:0px; border-left:0px; margin:0px; padding-left:0px; padding-right:0px; border-top:0px; border-right:0px; padding-top:0px "title=" clip_image006 "border=" 0 "alt=" clip_image006 "src=" http://s3.51cto.com/wyfs02/M02/77/56/ Wkiol1zmraxsbzgaaaasrrav4mk839.png "" 244 "height="/>

3. Deploying discuz! Forum Code

discuz! The Forum code corresponds to the upload directory after unpacking, so you need to upload this directory to the site, where it is specified by the site administrator.

650) this.width=650; "Style=" background-image:none; border-bottom:0px; border-left:0px; margin:0px; padding-left:0px; padding-right:0px; border-top:0px; border-right:0px; padding-top:0px "title=" clip_image008 "border=" 0 "alt=" clip_image008 "src=" http://s3.51cto.com/wyfs02/M01/77/57/ Wkiom1zmrtwrmsrdaaagxum3e7m137.png "244" height= "ten"/>

These actions are for the site administrator to operate on the forum server natively. For authorized personal site users, the FTP client software such as FLASHFXP should be used for uploading, rather than copying directly.

After you deploy the Forum code to the appropriate location in the site directory, to ensure that the discuz! The Forum program has permission to write data (such as user postings, upload pictures, etc.), and should also adjust the permissions or attribution of several sub-directories. All the adjusted directories include templates/, attachments/, forumdata/, uc_client/data/cache/, and configuration file config.inc.php. The principle of adjustment is to ensure that the httpd user (by default, daemon) can read and write the above directories and files.

650) this.width=650; "Style=" background-image:none; border-bottom:0px; border-left:0px; margin:0px; padding-left:0px; padding-right:0px; border-top:0px; border-right:0px; padding-top:0px "title=" clip_image010 "border=" 0 "alt=" clip_image010 "src=" http://s3.51cto.com/wyfs02/M02/77/57/ Wkiom1zmrtbamjo3aaaddjuehuy810.jpg "" 244 "height="/>

n the installation process of the forum

1. Acceptance of the license Agreement

Access to the address http://192.168.10.10/bbs/install/in the browser will open the Forum Setup program. Click the "I Agree" button to accept the Chinese version of the license agreement, in order to formally start the installation, or the installation process will not continue.

650) this.width=650; "Style=" background-image:none; border-bottom:0px; border-left:0px; margin:0px; padding-left:0px; padding-right:0px; border-top:0px; border-right:0px; padding-top:0px "title=" clip_image012 "border=" 0 "alt=" clip_image012 "src=" http://s3.51cto.com/wyfs02/M02/77/57/ Wkiom1zmrtirq6zcaacmzsimb2i253.png "" 244 "height=" 185 "/>

2. Check environment and directory, file permissions

The installer then checks the software requirements, disk space, directory and file permissions, PHP function support, and so on to meet the requirements before the installation is formally installed. All check items are green checkmark status, which may cause the installation to fail.

650) this.width=650; "Style=" background-image:none; border-bottom:0px; border-left:0px; margin:0px; padding-left:0px; padding-right:0px; border-top:0px; border-right:0px; padding-top:0px "title=" clip_image014 "border=" 0 "alt=" clip_image014 "src=" http://s3.51cto.com/wyfs02/M02/77/56/ Wkiol1zmraniet1taacdlptmces592.png "" 244 "height=" 184 "/>

The problem found in the test results must be resolved before proceeding with the installation. Be sure to confirm that all check results are correct, click the "Next" button to continue the installation process.

3. Install the database and set up the administrator account

Correctly filled in as discuz! Information about MySQL databases prepared by the Forum, including server addresses, library names, authorized users, and passwords, to ensure consistency with the deployment settings of the server. In addition, you should also set the password for the Forum Admin Account Admin and change the account name if necessary.

650) this.width=650; "Style=" background-image:none; border-bottom:0px; border-left:0px; margin:0px; padding-left:0px; padding-right:0px; border-top:0px; border-right:0px; padding-top:0px "title=" clip_image016 "border=" 0 "alt=" clip_image016 "src=" http://s3.51cto.com/wyfs02/M00/77/57/ Wkiom1zmrtuqtvocaab-13h-hxc449.png "" 244 "height=" 184 "/>

If the settings are correct, then clicking the "Next" button will perform the database installation operation (a short time) and will automatically go to the next page when finished.

4. Complete the forum installation

When the page "description of the Hong Sing Improvement plan" appears, it indicates that discuz! The Forum has been successfully installed. In this page, the user can enter QQ, MSN, e-mail and other contact information, to maintain and discuz! Vendor communication, if you do not need the relevant features, you can directly click the "Skip this step" button, to complete the installation.

650) this.width=650; "Style=" background-image:none; border-bottom:0px; border-left:0px; margin:0px; padding-left:0px; padding-right:0px; border-top:0px; border-right:0px; padding-top:0px "title=" clip_image018 "border=" 0 "alt=" clip_image018 "src=" http://s3.51cto.com/wyfs02/M01/77/57/ Wkiom1zmrt3gevclaacwmezgene556.png "" 244 "height=" 185 "/>

At the end of the previous step, the interface will usually automatically jump to discuz! The homepage of the Forum. Of course, the user can also directly access the Http://192.168.10.10/bbs to open this page. The newly installed discuz! Forum only includes a "default section", Forum name, site logo pictures, etc. are also the default.

650) this.width=650; "Style=" background-image:none; border-bottom:0px; border-left:0px; margin:0px; padding-left:0px; padding-right:0px; border-top:0px; border-right:0px; padding-top:0px "title=" clip_image020 "border=" 0 "alt=" clip_image020 "src=" http://s3.51cto.com/wyfs02/M01/77/57/ Wkiom1zmrt6qujs3aabxnda1v0a410.png "" 244 "height=" 185 "/>

5. post-installation processing

Complete discuz! After the installation of the Forum, in order to avoid repeated installation, reduce security risks, the install/directory should be transferred, and restrict access rights. For example, you can rename install/to install.lock/and set the permissions to 600.

650) this.width=650; "Style=" background-image:none; border-bottom:0px; border-left:0px; padding-left:0px; padding-right:0px; border-top:0px; border-right:0px; padding-top:0px "title=" clip_image022 "border=" 0 "alt=" clip_image022 "src=" http://s3.51cto.com/wyfs02/M02/77/57/ Wkiom1zmrt_jbjmvaaatoorszge047.png "244" height= "Max"/>

Lamp platform Deployment and application (ii) installation discuz! Forum System

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.