CentOS 安装discuz

操作系统:CentOS6.5

平台环境:LAMP

虚拟机安装Centos操作系统请转入:安装CentOS操作系统

CentOS安装LAMP请输入:一键部署LAMP平台

一、安装完LAMP平台之后,确定PHP页面可以正常打开。

二、在官网下载discuz的安装包。下载utf8编码格式的。

http://www.discuz.net/forum.php

image

三、使用secure crt连接到操作系统并上传下载到本地的网站源码包。secure crt 连接Linux 请接入:利用secure crt 连接Linux

yum -y install lrzsz

image

image

image

四、将网站源码包解压并放到网站目录下。

[root@wlzs ~]# unzip Discuz_X3.2_SC_UTF8.zip
[root@wlzs ~]# cd upload
[root@wlzs ~]# mv * /var/www/html/
[root@wlzs ~]# cd /var/www/
[root@wlzs www]# chown -R apache:apache html
[root@wlzs www]# cd html/
[root@wlzs html]# ll
 116
-rw-r--r--.  1 apache apache 2739 12 26 09:49 admin.php
drwxr-xr-x. 11 apache apache 4096 12 26 09:49 api
-rw-r--r--.  1 apache apache  727 12月 26 09:49 api.php
drwxr-xr-x.  2 apache apache 4096 12月 26 09:49 archiver
drwxr-xr-x.  2 apache apache 4096 12月 26 09:49 config
-rw-r--r--.  1 apache apache  922 12月 26 09:49 connect.php
-rw-r--r--.  1 apache apache  253 12月 26 09:49 cp.php
-rw-r--r--.  1 apache apache  106 12月 26 09:49 crossdomain.xml
drwxr-xr-x. 13 apache apache 4096 12月 26 09:49 data
-rw-r--r--.  1 apache apache 5558 12月 26 09:49 favicon.ico
-rw-r--r--.  1 apache apache 2242 12月 26 09:49 forum.php
-rw-r--r--.  1 apache apache  821 12月 26 09:49 group.php
-rw-r--r--.  1 apache apache 1290 12月 26 09:49 home.php
-rw-r--r--.  1 apache apache 5669 12月 26 09:49 index.php
drwxr-xr-x.  5 apache apache 4096 12月 26 09:49 install
-rw-r--r--.  1 apache apache 1025 12月 26 09:49 member.php
-rw-r--r--.  1 apache apache 2462 12月 26 09:49 misc.php
-rw-r--r--.  1 apache apache 1757 12月 26 09:49 plugin.php
-rw-r--r--.  1 apache apache  988 12月 26 09:49 portal.php
-rw-r--r--.  1 apache apache  582 12月 26 09:49 robots.txt
-rw-r--r--.  1 apache apache 1161 12月 26 09:49 search.php
drwxr-xr-x. 10 apache apache 4096 12月 26 09:49 source
drwxr-xr-x.  6 apache apache 4096 12月 26 09:49 static
drwxr-xr-x.  3 apache apache 4096 12月 26 09:49 template
drwxr-xr-x.  6 apache apache 4096 12月 26 09:49 uc_client
drwxr-xr-x. 13 apache apache 4096 12月 26 09:49 uc_server
-rw-r--r--.  1 apache apache 1682 12月 26 09:49 userapp.php

五、远程访问服务器

image

image

image

image

image

 

 

注:安装完成后,请将网站根目录下的install文件夹删除。

二〇一五年四月二十日 11:48:23

THE END