vps安装Discuz论坛
2012-11-06 19:15
183 查看
最近在smartvps.cn上购买了一台vps,在上边搭建了Discuz论坛,现把安装步骤发布给大家
1。安装yum install httpd* php* mysql* -y
2。设置服务
chkconfig httpd on
chkconfig mysqld on
service httpd restart
service mysqld restart
3。设置mysql密码
mysqladmin -u root password "密码"
4。创建Discuz所用的数据库
[root@hkg-vps-srv003 ~]# mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 4
Server version: 5.1.61 Source distribution
Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> create database discuz;
Query OK, 1 row affected (0.00 sec)
mysql> exit
5.从http://www.comsenz.com/downloads/install/discuzx#下载安装包
6。解压ZIP包,并将upload文件下所有文件移动到/var/www/html下
unzip Discuz_X2.5_SC_UTF8.zip
mv upload/* /var/www/html/
7。从网页访问:http://IP/,选择同意
8.修改不可写文件的权限,执行
chmod 777 -R /var/www/html/config/
chmod 777 -R /var/www/html/data/
chmod 777 -R /var/www/html/uc_client/
chmod 777 -R /var/www/html/uc_server/
然后选择下一步,选择全新安装
9。输入DB的IP地址,数据库名,数据库密码,以及管理信息,选择下一步,进行安装。
10。
本文出自 “LINUX交流” 博客,请务必保留此出处http://syuanwei.blog.51cto.com/2616312/1051933
1。安装yum install httpd* php* mysql* -y
2。设置服务
chkconfig httpd on
chkconfig mysqld on
service httpd restart
service mysqld restart
3。设置mysql密码
mysqladmin -u root password "密码"
4。创建Discuz所用的数据库
[root@hkg-vps-srv003 ~]# mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 4
Server version: 5.1.61 Source distribution
Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> create database discuz;
Query OK, 1 row affected (0.00 sec)
mysql> exit
5.从http://www.comsenz.com/downloads/install/discuzx#下载安装包
6。解压ZIP包,并将upload文件下所有文件移动到/var/www/html下
unzip Discuz_X2.5_SC_UTF8.zip
mv upload/* /var/www/html/
7。从网页访问:http://IP/,选择同意
8.修改不可写文件的权限,执行
chmod 777 -R /var/www/html/config/
chmod 777 -R /var/www/html/data/
chmod 777 -R /var/www/html/uc_client/
chmod 777 -R /var/www/html/uc_server/
然后选择下一步,选择全新安装
9。输入DB的IP地址,数据库名,数据库密码,以及管理信息,选择下一步,进行安装。
10。
本文出自 “LINUX交流” 博客,请务必保留此出处http://syuanwei.blog.51cto.com/2616312/1051933
相关文章推荐
- (ZZ)xampp搭建的php服务器安装discuz论坛图文全解
- CentOS7最小化安装下源码编译搭建LAMP, LNMP环境及搭建discuz论坛
- Ubuntu之LAMP搭建篇及discuz论坛安装
- 安装Discuz论坛
- linux下安装和配置论坛(Discuz!7.0)
- 安装LAMP部署Discuz论坛脚本
- Discuz!NT代码阅读笔记(2)--网站安装自动化--论坛程序安装及初始化过程
- RHEL7搭建LAMP环境并安装Discuz论坛
- LR实战之Discuz开源论坛——安装及简介
- 如何本地安装Discuz论坛程序
- ubuntu11.04下Discuz论坛的安装
- Discuz论坛安装部署全过程
- Linux下Apache+MySQL+PHP的rpm包安装实现DISCUZ论坛
- Centos安装Discuz论坛
- dedecms和discuz!论坛安装不同虚拟主机商不同数据库上面的帖子
- 构建LAMP平台利用虚拟主机实现提供discuz论坛、基于SSL安装phpMyAdmin、安装wordpress
- discuz 论坛安装出现空白页
- discuz论坛和PHP7.0有兼容问题安装不了
- Discuz论坛文件系统的安装
- CentOS 7搭建tengine+php+mariadb环境并安装discuz论坛