开发者社区> 问答> 正文

阿里云一键安装包安装完成后 重启云主机

阿里云一键安装包安装完成后 重启云主机
nginx:
mysql:
php:
phpmyadmin:
这些怎么重启

展开
收起
非文可可 2015-12-20 00:30:57 1797 0
1 条回答
写回答
取消 提交回答
  • 一个普普通通的人。

    主机重启这些也会跟着重启,如果不重启而想单独重启服务,请参考以下命令:

    A、定义成服务
    chkconfig memcached on
    chkconfig nginx on
    chkconfig php-fpm on
    chkconfig mysqld on

    B、启动/停止/重启
    service nginx start(start|stop|restart|reload)
    service php-fpm start(start|stop|restart)
    service mysqld start(start|stop|restart|reload)
    service memcached start(start|stop|restart|reload)

    2019-07-16 11:49:55
    赞同 1 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
阿里云云原生 Serverless 技术实践营 PPT 演讲 立即下载
阿里云产品十月刊 立即下载
基于阿里云构建博学谷平台实时湖仓 立即下载