
linux 启动、关闭、重启网络服务的两种方式:
1、使用service脚本来调度网络服务,如:
启动
service network start
关闭
安装说明重要提醒:程序不支持二级目录安装,请使用一级目录或二级目录绑定!第一步,确定你的服务器支持PHP+mysql。第二步,确定你的服务器开启了gd库。第三步,将upload文件内的文件上传到网站的根目录第四步,访问你的域名+ /install/index.html进行安装,linux系统访问你的域名+ /Install/index.html第五步,按照安装程序步骤进行安装配置第六步,安装完毕后
service network stop
重启
service network restart
(推荐教程:linux教程)
2、直接执行网络服务的管理脚本,如:
启动
/etc/init.d/network start
关闭
/etc/init.d/network stop
重启
/etc/init.d/network restart
扩展:
1、linux显示所有服务的运行状态命令
service --status-all chkconfig --list
2、linux查看单个服务的运行状态命令
service iptables status
3、linux查看服务启动状态,是否开机自动启动命令
chkconfig --list servicename
相关视频教程:linux视频教程









