Skip to content

开发机服务部署

开发机服务部署

数据库

mongodb

配置文件: /etc/mongod.conf 启动命令: sudo service mongod start

mysql

配置文件: /etc/mysql/my.cnf 启动命令: sudo service mysql start

redis 6379

配置文件: /etc/redis/redis.conf 启动命令: sudo service redis-server start

redis 6388

配置文件: /etc/redis/redis6388.conf 启动命令: redis-server redis6388.conf

web服务

nginx

配置文件: /etc/nginx/ 启动命令: sudo service nginx start

项目

  1. station /data/www/gm_service
  2. thrift /data/www/gm_service
  3. merchandise /data/www/gm_server_merchandise
  4. manage /data/www/gm_management
  5. bshop /data/www/gm_server_bshop

应用

openvpn

配置文件: /etc/openvpn/client.conf 启动命令: sudo service openvpn start

备注

  1. 目前开机自启动项 mysql redis6379 nginx,其它服务需要手动启动