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

毕浩渺
2023-12-01
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
 类似资料:

相关阅读

相关文章

相关问答