Centos上Apache重启,mysql重启, nginx 重启方法
2016-01-17 11:14
741 查看
1.重启 apache
service httpd restrat
/etc/init.d/httpd stop
/etc/init.d/httpd start
2.重启 mysql
service mysql restart
/etc/init.d/mysqld stop
/etc/init.d/mysqld start
3.重启Nginx
service nginx restart
/etc/init.d/nginx stop
/etc/init.d/nginx start
各linux版本重启apache命令
Slackware Linux命令:
/etc/rc.d/rc.httpd restart
ubuntu、Debian 系统命令:
/etc/init.d/apache2 restart
Fedora 、Redhat、CentOS系统重启Apache命令:
/etc/init.d/httpd restart
或
service httpd restart(CentOS 成功)
service httpd restrat
/etc/init.d/httpd stop
/etc/init.d/httpd start
2.重启 mysql
service mysql restart
/etc/init.d/mysqld stop
/etc/init.d/mysqld start
3.重启Nginx
service nginx restart
/etc/init.d/nginx stop
/etc/init.d/nginx start
各linux版本重启apache命令
Slackware Linux命令:
/etc/rc.d/rc.httpd restart
ubuntu、Debian 系统命令:
/etc/init.d/apache2 restart
Fedora 、Redhat、CentOS系统重启Apache命令:
/etc/init.d/httpd restart
或
service httpd restart(CentOS 成功)
相关文章推荐
- nginx错误日志出现worker process 24939 exited on signal 11 (core dumped)
- Jemalloc优化MySQL和Nginx
- nginx +phpfastcgi 环境下 导出excel文件,超时,数据被截断问题,解决
- nginx机制-从源码分析(1)
- Nginx 启动出错 error while loading shared libraries: libpcre.so.1
- redhat Nginx 安装
- nginx启动,重启,关闭命令
- windows下nginx安装、配置与使用
- Nginx配置文件详细说明
- Ubuntu 14.04 nginx 502 bad getaway 处理及优化
- ubuntu下配置nginx支持phpt(unix:/var/run/php5-fpm.sock failed (2: No such file or directory) )
- nginx相应的命令-启动等
- Nginx重写规则
- nginx请求转发
- nginx启动和停止
- nginx 日志分析工具goaccess的使用以及碰到的坑
- nginx的部署初级(上)
- Nginx设置重定向跳转
- 同步异步,阻塞非阻塞 和nginx的IO模型
- php7.0 + mysql5.7.10 + nginx7.0 web开发环境搭建(CentOS7)