The construction of DISCUZ forum

Source: Internet
Author: User

Discuz: Open source, you can use for free, but can not advertise in it to make money, you want to make money you have to pay to the other party first. It has two kinds of authorization: free authorization and commercial authorization, if it is used by the enterprise to pay first, but not very expensive. Discuz's forum address is: www.discuz.net, can download down to build their own forum

Here is the version of discuz2.5: Note that it relies on lamp

Preparatory work:

1, install the HTTPD package, the purpose is to prepare 1 domain name; In the actual work need money to buy, here is only testing, is created by themselves (of course, before the installation needs to configure Yum, as well as the development environment, in the Bowen "on the introduction of several configuration of Apache" has detailed introduction)

Yum Install Httpd-y

Vim/etc/httpd/conf/httpd.conf #取消中心主机

#DocumentRoot "/var/www/html" to comment out this trip

Vim/etc/httpd/conf.d/virtual.conf #自己编辑一个配置文件, creating a virtual host

<virtualhost 172.16.50.100:80>

ServerName www.jll.com

DocumentRoot "/www/jll.com"

</VirtualHost>

MKDIR/WWW/JLL.COM-PV #创建目录

Vim/www/jll.com/index.html #创建一个网页文档

Domain name resolution on Windows needs to be added in the Hosts file:

172.16.50.100 www.jll.com #此时就可以访问www. jll.com.

2, installation of various and package

A space to support PHP scripts;

1 MySQL database;

Yum Install php53-y #安装php

Yum install MySQL #安装mysql

Yum Install mysql-server-y #安装mysql服务器

Yum Install php53-mbstring-y #支持中文

Yum install php53-mysql-y #安装驱动 to establish a connection with MySQL

Also provide a PHP script to enable this script to connect to the MySQL database

Here gives a test script

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.