常见的linux服务命令

来源:互联网 发布:类似于知乎的app 编辑:程序博客网 时间:2024/06/15 05:40

Nginx/Tengine/OpenResty:

service nginx {start|stop|status|restart|reload|configtest}

MySQL/MariaDB/Percona:

service mysqld {start|stop|restart|reload|status}

PHP:

service php-fpm {start|stop|restart|reload|status}

HHVM:

service supervisord {start|stop|status|restart|reload}

Apache:

service httpd {start|restart|stop}

Tomcat:

service tomcat {start|stop|status|restart} 

Pure-Ftpd:

service pureftpd {start|stop|restart|status}

Redis:

service redis-server {start|stop|status|restart|reload}

Memcached:

service memcached {start|stop|status|restart|reload}
原创粉丝点击