BBS Forum Construction

Source: Internet
Author: User

Preparations for BBS Forum construction:

Linux, discuz_x2_ SC _utf8.zip (download available), securecrt (available)

Action start:

Mount disc containing package on Redhat to/mnt

Mount/dev/sr0/mnt

Force remove rhel-source.repo with itself

Rm-RF/etc/yum. Repos. d/rhel-source.repo

CD/etc/yum. Repos. d

Create a file under/etc/yum. Repos. D.

Touch source. Repo

VI source. Repo

Enter the editing page

Input:

[Base]

Name = base

Baseurl = file: // mnt

Enabled = 1

Gpgcheck = 0

Save disk and exit

Check whether vsftpd is installed.

/Etc/init. d/vsftpd restart

If Not Installed

Yum install vsftpd

Restart vsftpd.

/Etc/init. d/vsftpd restart

Go to FTP

CD/var/FTP/

Disable Firewall

Method 1:

/Etc/init. d/iptables stop

Method 2:

Enter setup to enter the graphical interface and manually disable the firewall.

 

If yum is used for installation, the configuration cost of yum is the source.

 

Yum install mysql-Server httpd PHP-MySQL

 

 

[[Email protected] HTML] #/etc/init. d/mysqld start MySQL database

 

[[Email protected] HTML] # mysqladmin-u Root Password 123456 Add a password to the MySQL database.

 

[[Email protected] HTML] # mysql-uroot-p123456 access the database

Welcome to the MySQL monitor. commands end with; or \ G.

Your MySQL connection ID is 3

Server version: 5.1.47 Source Distribution

 

Copyright (c) 2000,201 0, Oracle and/or its affiliates. All rights reserved.

This software comes with absolutely no warranty. This is free software,

And you are welcome to modify and redistribute it under the GPL V2 license

 

Type 'help; 'or' \ H' for help. type' \ C' to clear the current input statement.

 

Mysql> show databases; view all databases. Note that the statement must end with a; sign.

+ -------------------- +

| Database |

+ -------------------- +

| Information_schema |

| MySQL |

| Test |

+ -------------------- +

3 rows in SET (0.00 Sec)

 

Mysql> Create Database base; create a new database. For more information about the databases created in the Forum, see.

Query OK, 1 row affected (0.00 Sec)

 

Mysql> show databases; check the database again. The newly created database is displayed.

+ -------------------- +

| Database |

+ -------------------- +

| Information_schema |

| MySQL |

| Test |

| Ultrax |

+ -------------------- +

4 rows in SET (0.00 Sec)

 

Mysql> quit exit

Bye

 

Start Apache

[[Email protected] HTML] #/etc/init. d/httpd start if startup is successful, enter http: // ip in the browser

You can see the RedHat page. The IP address I wrote here is the IP address of your server.

Disable Firewall/etc/init. d/iptables stop

 

The default website address of Apache is/var/www/html/directory.

Upload the discuz_x2_ SC _utf8.zip file to rz.

Put discuz_x2_ SC _utf8.zip under/var/www/html

Unzip discuz_x2_ SC _gbk.zip

 

 

Enter http: // ip/upload/install/in the browser/

If not

1. A proxy may be enabled.

2. Enter reboot to restart the VM. (do not forget to enter/etc/init. d/mysqld start and/etc/init. d/httpd start after restart)

3. Note that your database name must be consistent with that entered in/etc/yum. Repos. d/source. repo.

Install the software package as prompted.

 

If the redirection prompts that the File Permission is incorrect, modify the permission.

[[Email protected] HTML] # cd/var/www/html/upload/

[[Email protected] upload] # chmod 777/var/www/html/*-r indicates Recursion

After refresh, the BBS forum is successfully set up:

 

BBS Forum Construction

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.