[Original] linux Server discuz Forum-general Linux technology-Linux technology and application information. For details, refer to the following section. Set up a discuz forum in linux
Copyright: www.itshanghai.net
This is the learning notes of Beijing University, and is suitable for beginners.
1. Install the service
Install WebServer, SQL Database server, and Samba on the GUI
2. Start the service
Service httpd reload
Service mysqld restart
3. Install the PHP Forum
A) (first install Samba and then mount it)
Mount? O username = administrtator // 192.168.1.2/Discuz/mnt/cdrom
B) copy the files in the Discuz directory to the/www/bbs directory.
Cp? R/mnt/cdrom/Discuz/www/bbs
C) view Description: URL (http: // 192.168.1.100/bbs/users_guide.html)
D) modify the permissions of several files and directories under the upload directory.
Cd/www/bbs/upload
Chmod 777
Templates
Templates/default
Templates/default /*.*
Attachments
Customavatar
Forumdata
Forumdata/cache
Forumdata/templates
Config. inc. php
E) Move the files and directories under the upload directory to the/www/bbs directory.
Cd/www/bbs/upload
Mv */www/bbs
F) install the PHP Forum (http: // 192.168.1.100/bbs/install. php)
Database: localhost
Database User: root
The Database Password is null)
G) Remove garbled characters
Vi/www/bbs/config. inc. php
Search for the field/headercharset = 1;
4. Restart the service
Service httpd reload
Service mysqld restart
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