How To Install Discuz 3.2 on the One-Click LEMP Application

How To Install Discuz 3.2 on the One-Click LEMP Application
# Introduction
Discuz is Internet forum software written in PHP and developed by Comsenz Inc., which supports MySQL databases. It is the most popular Internet forum program used in China.


In this article, We will show you how to install Discuz on a Vultr server based on the One-Click LEMP application. Actually it is very straight forward.


At present Discuz 3.2 is latest stable version




# Prerequisites
We assume that you have deployed a One-Click LEMP Vultr server instance from scratch and have logged in as root.


# Download and Decompress Discuz 3.2


    cd
    wget http://download2.comsenz.com/DiscuzX/3.2/Discuz_X3.2_SC_UTF8.zip  
    unzip Discuz_X3.2_SC_UTF8.zip 


/usr/share/nginx/html is default www root document path of Nginx


    cd Discuz_X3.2_SC_UTF8
    cp -r upload /usr/share/nginx/html/


before installation, you need to change files permission and ownership.


    chown -R ngnix:ngnix /usr/share/nginx/html
    chmod -R 777 /usr/share/nginx/html/config
    chmod -R 777 /usr/share/nginx/html/data
    chmod -R 777 /usr/share/nginx/html/config
    chmod -R 777 /usr/share/nginx/html/uc_client
    chmod -R 777 /usr/share/nginx/html/uc_server


# Installation


Discuz installation is doing from web browser, open you browser and enter http://your_ip/install/, follow guide to finish your installation. it is very straight forward and easy. 


During installation, you will be asked MySQL root password.


By default, the MySQL root password is saved on the VPS in /root/.my.cnf. Make it display on the screen with the following command:


    cat /root/.my.cnf
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值