您的位置:首页 > 其它

运用yunwei.zip压缩包安装过程:

2016-07-05 17:51 260 查看
12 yum install lrzsz -y

13 rz
14 ll
15 unzip -o yunwei.zip
16 unzip yunwei.zip
17 yum install zip unzip
18 ll
19 unzip -o yunwei.zip
20 ll
21 mkdir -p /data/wwwroot
22 ls
23 cd yunwei
24 ls
25 cd njw_env_install/
26 ls
27 nohup sh front_env_install.sh &
28 ls
29 vim nohup.out
30 vi nohup.out
31 tail -f nohup.out
32 ls
33 ps -ef | grep nginx
34 ps -ef | grep mysqld
35 ps -ef | grep redis

项目代码部署linux环境:

cp www.njw88.com.conf aa.admin.com.conf

unzip admin.njw88.com.zip

mkdir -p /data/wwwlogs/admin.njw88.com

cd /data/wwwroot/admin.njw88.com

mkdir Runtime

chmod -R 777 Runtime/

注意还要启动redis
编译完成后,在./Src目录下,有三个可执行文件redis-server、redis-benchmark、redis-cli和./redis.conf然后拷贝到一个目录下。

mkdir /usr/redis
cp redis-server /usr/redis
cp redis-benchmark /usr/redis
cp redis-cli /usr/redis
cp redis.conf /usr/redis
cd /usr/redis
3、启动Redis服务。

redis-server redis.conf
4、然后用客户端测试一下是否启动成功。

redis-cli
redis> set foo bar
OK
redis> get foo
"bar"
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: