linux启动php服务,Linux启动、关闭、重启网络服务的两种方式?

用户投稿 103 0

关于“linux_启动_php服务”的问题,小编就整理了【2】个相关介绍“linux_启动_php服务”的解答:

Linux启动、关闭、重启网络服务的两种方式?

第一种就是楼上说的直接service 服务名称 start/restart/stop第二种可以直接进入/etc/init.d目录,服务的脚本文件都存放在此目录中,可以直接执行对其start/restart/stop如:[root@localhost ~]# cd /etc/init.d[root@localhost init.d]# ./ntpd restart关闭 ntpd: [确定]启动 ntpd: [确定][root@localhost init.d]#

linux如何启动,停止,查看服务?

可以通过service xxx start/stop/resrart控制,可以通过systemctl,也可以通过/etc/init.d/xxx.service来控制。

到此,以上就是小编对于“linux_启动_php服务”的问题就介绍到这了,希望介绍关于“linux_启动_php服务”的【2】点解答对大家有用。

抱歉,评论功能暂时关闭!