zoukankan      html  css  js  c++  java
  • LNMP状态管理命令

    LNMP 1.2+状态管理: lnmp {start|stop|reload|restart|kill(终止进程)|status(状态)}
    LNMP 1.2+各个程序状态管理: lnmp {nginx|mysql|mariadb|php-fpm|pureftpd} {start|stop|reload|restart|kill|status}
    LNMP 1.1状态管理: /root/lnmp {start|stop|reload|restart|kill|status}
    Nginx状态管理:  {start|stop|reload(重装)|restart(重启)}
    MySQL状态管理:/etc/init.d/mysql {start|stop|restart|reload|force-reload|status}
    Memcached状态管理:/etc/init.d/memcached {start|stop|restart}
    PHP-FPM状态管理:/etc/init.d/php-fpm {start|stop|quit|restart|reload|logrotate}
    PureFTPd状态管理: /etc/init.d/pureftpd {start|stop|restart|kill|status}
    Redis状态管理: /etc/init.d/redis {start|stop|restart|kill}

    ftp账号增加:lnmp ftp add

    网站(虚拟主机):lnmp vhost  {list(列出)、del(删除)、add增加}

    ##默认网站(虚拟主机)##

    LNMP默认网站配置文件:/usr/local/nginx/conf/nginx.conf
    LNMPA默认网站配置文件:/usr/local/nginx/conf/nginx.conf 和 /usr/local/apache/conf/extra/httpd-vhosts.conf
    LAMP默认网站配置文件:/usr/local/apache/conf/extra/httpd-vhosts.conf

    数据库管理

    添加数据库命令:lnmp database add
    编辑数据库用户密码命令:lnmp database edit
    删除数据库命令:lnmp database del
    列出所有数据库命令:lnmp database list

    ftp管理和数据库管理一样

    vi命令:

    :wq!强制保存和退出

  • 相关阅读:
    阿里云 MaxCompute 2019-12 月刊
    【原】react+redux实战
    【原】http缓存与cdn相关技术
    【原】redux异步操作学习笔记
    【原】javascript最佳实践
    【原】react做tab切换的几种方式
    【原】web移动端常用知识点笔记
    【原】移动端界面的适配
    【原】js检测移动端横竖屏
    【原】javascript数组操作
  • 原文地址:https://www.cnblogs.com/tangbomao/p/6779132.html
Copyright © 2011-2022 走看看