运用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"
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"
相关文章推荐
- android studio ndk 开发以及问题
- BFC规范的一些理解
- 常见磁盘文件系统格式
- Matlab中sort函数的用法
- mysql limit 分页
- android 屏幕适配攻略(2) weight 注意点
- svn 报 Previous operation has not finished; run 'cleanup' if it was interrupted
- spark 1.6.0 core源码分析1 集群启动及任务提交过程
- Android开发问题汇总
- netapp 培训
- spring boot 发送邮件
- ls: cannot access /usr/sbin/smartctl: No such file or directory
- iOS 右滑手势返回上一级
- java.lang.IllegalStateException: Illegal access: this web application instance has been stopped
- 面向对象的JavaScript-009-闭包
- 你需要知道的Android拍照适配方案
- linux centos6.3 升级svn1.6到svn1.8
- SVN
- php入门(3) QtQuick最简单的注册系统
- 【QT练习】文件简单读写操作