第一步:搭建LNMP架构

LNMP架构

SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。

注意:搭建php服务时,初始化

./configure --prefix=/usr/local/php5  \
--enable-fpm   \
--enable-debug   \
--with-jpeg-dir   \
--with-png-dir  \
--with-freetype-dir  \
--enable-mbstring  \
--with-curl  \
--with-mysql=/usr/local/mysql5  \
--with-mysqli=/usr/local/mysql5/bin/mysql_config  \
--with-openssl  --with-fileinfo  --with-gd  \

 

第二步:发布Thinksaas论坛

1.上传或下载Thinksaas源码包至nginx网站根目录,并解压

rz 
unzip Thinksaas

2.给Thinksaas网页目录赋予写入权限

chmod 777  data/  upgrade/ uploadfile/ cache/  tslogs/  -p

3.配置数据库

1 create database thinsaas;
2 grant all on thinksaas.* to root@'localhost' identified by "123456";
3 flush privileges;
4 quit;

4.打开浏览器访问服务器  IP/index.php ,安装

 

扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄