appnode环境软件命令参考

文章目录
多用于各种命令,以及计划任务

Nginx

  • 主程序路径:/usr/sbin/nginx
  • 配置文件路径:/etc/nginx.conf
  • 服务控制命令:
    • CentOS 6:service nginx start|stop|reload|restart
    • CentOS 7:systemctl start|stop|reload|restart nginx.service

PHP

  • PHP命令:
    • appnode-php53
    • appnode-php54
    • appnode-php55
    • appnode-php56
    • appnode-php70
    • appnode-php71
    • appnode-php72
  • php.ini 配置路径:
    • /opt/appnode/appnode-php53/root/etc/php.ini
    • /opt/appnode/appnode-php54/root/etc/php.ini
    • /opt/appnode/appnode-php55/root/etc/php.ini
    • /opt/appnode/appnode-php56/root/etc/php.ini
    • /etc/opt/appnode/scls/appnode-php70/php.ini
    • /etc/opt/appnode/scls/appnode-php71/php.ini
    • /etc/opt/appnode/scls/appnode-php72/php.ini
  • 服务控制命令:
    • CentOS 6:
      • service appnode-php53-php-fpm start|stop|reload|restart
      • service appnode-php54-php-fpm start|stop|reload|restart
      • service appnode-php55-php-fpm start|stop|reload|restart
      • service appnode-php56-php-fpm start|stop|reload|restart
      • service appnode-php70-php-fpm start|stop|reload|restart
      • service appnode-php71-php-fpm start|stop|reload|restart
      • service appnode-php72-php-fpm start|stop|reload|restart
    • CentOS 7:
      • systemctl start|stop|reload|restart appnode-php53-php-fpm.service
      • systemctl start|stop|reload|restart appnode-php54-php-fpm.service
      • systemctl start|stop|reload|restart appnode-php55-php-fpm.service
      • systemctl start|stop|reload|restart appnode-php56-php-fpm.service
      • systemctl start|stop|reload|restart appnode-php70-php-fpm.service
      • systemctl start|stop|reload|restart appnode-php71-php-fpm.service
      • systemctl start|stop|reload|restart appnode-php72-php-fpm.service

MySQL/AliSQL

  • MySQL命令:mysql
  • 服务器配置:/etc/my.cnf
  • 默认数据存放路径:/var/lib/mysql/
  • 服务控制命令:
    • CentOS6:service mysqld start|stop|restart
    • CentOS7:systemctl start|stop|restart mysqld.service

MariaDB

  • MySQL命令:mysql
  • 服务器配置:/etc/my.cnf
  • 默认数据存放路径:/var/lib/mysql/
  • 服务控制命令:
    • CentOS6:service mariadb start|stop|restart
    • CentOS7:systemctl start|stop|restart mariadb.service
原文链接:,转发请注明来源落伍老站长!

发表评论