打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

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

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 reload1234567

ftp的使用

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

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

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

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 restart12345

mysql的操作

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

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

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

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 memcached123456789

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

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
CentOS Linux使用crontab运行定时任务详解
docker部署lnmp-wordpress的实现步骤
服务器上的Nginx和PHP都是源码编译安装的(转)--Nginx和PHP启动脚本
centos下配置LNMP环境(源码安装)
每天一个linux命令(50):crontab命令
Linux之定时任务
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服