Publish Forum Discuz, publish WordPress blog system

Source: Internet
Author: User
Tags wordpress blog

One: Release Forum Discuz:

1. Configure the database:

Mysql-uroot-p123123

mysql> CREATE DATABASE Bbsdb;

Mysql> Grant all on bbsdb.* to ' Runbbs ' @ ' localhost ' identified by ' 123123 ';

mysql> flush Privileges;

Mysql> quit

2. Download Discuz and publish:

Lftp 192.168.100.100

Lftp 192.168.100.100:~> CD tools/

Lftp 192.168.100.100:/tools> Get Discuz_7.2_full_sc_utf8.zip

4704761 bytes Transferred

Lftp 192.168.100.100:/tools> bye

Unzip discuz_7.2_full_sc_utf8.zip-d Discuz # #解压

CP discuz/upload//USR/LOCAL/HTTPD/HTDOCS/LINUXYY/BBS-RF


cd/usr/local/httpd/htdocs/linuxyy/bbs/


Chown Daemon Forumdata/attachments/uc_client/data/cache/templates/config.inc.php-r


3. Access Installation:

http://www.linuxyy.cn/bbs/install/


4. Post-Installation processing:

MV Install/install.lock

chmod install.lock/


Two: Publish WordPress blog system:

1. Configure the database:

mysql> CREATE DATABASE wpdb;

Mysql> Grant all on wpdb.* to ' wpadm ' @ ' localhost ' identified by ' 123123 ';

Mysql> quit

2. Download WordPress, and publish:

wget Https://cn.wordpress.org/wordpress-4.4.1-zh_CN.zip

Unzip Wordpress-4.4.1-zh_cn.zip

CP wordpress/usr/local/httpd/htdocs/linuxyy/-RF

cd/usr/local/httpd/htdocs/linuxyy/wordpress/

CP wp-config-sample.php wp-config.php

# #修改配置文件可以使用vim wp-config.php

Sed-i ' s/database_name_here/wpdb/g ' wp-config.php

Sed-i ' s/username_here/wpadm/g ' wp-config.php

Sed-i ' s/password_here/123123/g ' wp-config.php

3. Visit:

http://www.linuxyy.cn/wordpress/


Three: Download a website and publish it locally:

Wget-c-r-np-k-L http://learnpythonthehardway.org/book/# #下载网站, guaranteed to be networked

MV learnpythonthehardway.org/book//usr/local/httpd/htdocs/linuxyy/book # #发布

Access:

http://www.linuxyy.cn/book/




This article is from the "11628205" blog, please be sure to keep this source http://11638205.blog.51cto.com/11628205/1982187

Publish Forum Discuz, publish WordPress blog system

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.