LNMP 源码发布Thinksaas论坛

第一步:搭建LNMP架构

LNMP架构

注意:搭建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  --enable-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 ,安装

原文地址:https://www.cnblogs.com/IMSCZ/p/10875351.html