开发中常用的命令和使用(基础)

开发中常用的命令和使用(基础)

nginx的使用

 

1. 启动nginx :/etc/init.d/nginx start

2.停止nginx:/etc/init.d/nginx stop

3.重启nginx:/etc/init.d/nginx restart

4. 平滑重启nginx:/etc/init.d/nginx reload

ftp的使用     

 

1.启动ftp:/etc/init.d/vsftpd start 

2.停止ftp:/etc/init.d/vsftpd stop

3.重启ftp:/etc/init.d/vsftpd restart

php-fpm的使用

1.启动php-fpm: /etc/init.d/php-fpm start

2.停止php-fpm:/etc/init.d/php-fpm stop

3.重启php-fpm:/etc/init.d/php-fpm restart

mysql的操作

 

1.启动mysql:/etc/init.d/mysqld start

2.停止mysql:/etc/init.d/mysqld stop

3.重启mysql: /etc/init.d/mysqld restart

crontab的操作 

 

1.启动crontab:/sbin/service crond start

2.停止crontab:/sbin/service crond stop

3.重启crontab:/sbin/service crond restart

4.重新载入配置:/sbin/service crond reload

查看是否启动:ps aux|grep memcached

去年整理的一直放到有道云上,今年放出来,希望可以帮助大家,学习技术!










posted @ 2020-08-29 13:34  雨夜的博客  阅读(180)  评论(0编辑  收藏  举报