100字范文,内容丰富有趣,生活中的好帮手!
100字范文 > linux启动常用软件命令 Linux常用软件启动 停止 重启命令

linux启动常用软件命令 Linux常用软件启动 停止 重启命令

时间:2022-11-07 00:30:24

相关推荐

linux启动常用软件命令 Linux常用软件启动 停止 重启命令

一、PHP

启动命令:

/usr/local/php5/sbin/php-fpm

停止命令:

pkill php-fpm

二、MySQL

启动命令:

/etc/init.d/mysqld start

停止命令:

/etc/init.d/mysqld stop

重启命令:

/etc/init.d/mysqld restart

三、Apache

启动命令:

/usr/local/apache2/bin/apachectl start

停止命令:

/usr/local/apache2/bin/apachectl stop

重启命令:

/usr/local/apache2/bin/apachectl restart

四、Nginx

启动命令:

/usr/local/nginx/sbin/nginx

停止命令:

/usr/local/nginx/sbin/nginx -s stop

重启命令:

/usr/local/nginx/sbin/nginx -s reload

五、MemCached

启动命令:

memcached -d -m 10 -u root -l 192.168.0.122 -p 11200 -c 256 -P /tmp/memcached.pid

停止命令:

kill `cat /tmp/memcached.pid`

六、Redis

启动命令:

redis-server redis.conf

停止命令:

redis-cli -h 127.0.0.1 -p 6379 shutdown

七、MongoDB

启动命令:

/usr/local/mongodb/bin/mongod -f /etc/mongodb.conf

停止命令:

pkill mongod

标签:

版权申明:本站文章部分自网络,如有侵权,请联系:west999com@

特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。