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


    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"
  • 相关阅读:
    数据库
    用hosts管理IP和域名
    软件测试周期
    jdk安装、环境配置
    IntelliJ IDEA 下载、安装、破解及卸载
    Servlet线程
    servlet什么时候被实例化?【转】
    JSP转译成Servlet详细过程【转】
    电脑使用--快捷键等【转】
    api大全
  • 原文地址:https://www.cnblogs.com/herry52/p/5644537.html
Copyright © 2020-2023  润新知