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