Build Discuz under CentOS 7

Source: Internet
Author: User
Tags forum software

Crossday discuz! Board (hereinafter referred to as discuz!) is a set of general community forum software system introduced by Beijing Kang Sheng New Technology Co., Ltd. Since its debut in June 2001, discuz! has more than 13 years of application history and more than 2 million site user stories, is one of the world's most mature, coverage of the largest forum software system.

How do I build a discuz under CentOS?

1. First build the lamp environment.

Use the Yum command in turn:

#yum Install httpd

#yum install MySQL

#yum Install Mariadb-server

#yum Install PHP

#Yum Install php-mysql php-gd libjpeg* php-imap php-ldap php-odbc php-pear php-xml php-xmlrpc php-mbstring php-mcrypt Php-bcmath Php-mhash Libmcrypt

Then test the environment

#httpd-K Start

#mysqld start

#service mariadb Start

#mysqladmin-U root Password//modify mySQL user Password

#cd/var/www/html

# VI index.php//Press I to enter edit mode, enter the following content
<?php
Phpinfo ();
?>//Press CTRL + C to exit edit mode
: wq! #保存退出

Browser Access 127.0.0.1

650) this.width=650; "style=" height:292px;width:521px; "alt=" wkiom1smn1rw31cnaaglhnoxobw852.jpg "src=" http:/ S3.51cto.com/wyfs02/m01/56/c0/wkiom1smn1rw31cnaaglhnoxobw852.jpg "width=" 693 "height=" 423 "/>

2. Build Discuz.

Official website Download a good installation package with a upload folder

#mv/tmp/upload/*/var/www/html//Move all files in the/tmp/upload to/var/www/html (/tmp/upload is the current path)

Visit the server again to see the first configuration page for Discuz.

Build Discuz under CentOS 7

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.