1. 程式人生 > >LNMP 源碼發布Thinksaas論壇

LNMP 源碼發布Thinksaas論壇

deb oca -- htm pan ant spa file 網站

第一步:搭建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  --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 [email protected]localhost identified by "123456";
3 flush privileges; 4 quit;

4.打開瀏覽器訪問服務器 IP/index.php ,安裝

LNMP 源碼發布Thinksaas論壇