码迷,mamicode.com
首页 > 其他好文 > 详细

Centos7 安装lnmp

时间:2018-08-07 20:36:43      阅读:140      评论:0      收藏:0      [点我收藏+]

标签:wget   查看   ror   port   sed   mys   tmp   code   .net   

Centos7 安装lnmp

1.下载

wget http://soft.vpser.net/lnmp/lnmp1.5-full.tar.gz

2.解压

tar -zvxf lnmp1.5-full.tar.gz 
mv lnmp1.5-full /usr/local/
cd /usr/local/lnmp1.5-full

3.安装

./install.sh lnmp

4.添加redis

./addons.sh install redis 
# php -m|grep redis
redis

查看服务开启状况

# ps -ef |grep mysql
root      2275     1  0 18:31 pts/0    00:00:00 /bin/sh /usr/local/mysql/bin/mysqld_safe --datadir=/usr/local/mysql/var --pid-file=/usr/local/mysql/var/izwz9bw2bq5dzndcry5vubz.pid
mysql     2792  2275  0 18:31 pts/0    00:00:00 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/var --plugin-dir=/usr/local/mysql/lib/plugin --user=mysql --log-error=izwz9bw2bq5dzndcry5vubz.err --open-files-limit=65535 --pid-file=/usr/local/mysql/var/izwz9bw2bq5dzndcry5vubz.pid --socket=/tmp/mysql.sock --port=3306
# ps -ef |grep nginx
root      2265     1  0 18:31 ?        00:00:00 nginx: master process /usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf
www       2268  2265  0 18:31 ?        00:00:00 nginx: worker process

Centos7 安装lnmp

标签:wget   查看   ror   port   sed   mys   tmp   code   .net   

原文地址:https://www.cnblogs.com/jiqing9006/p/9438709.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!