linux 服务管理
来源:互联网 发布:淘宝直播一个月多少钱 编辑:程序博客网 时间:2024/05/16 17:40
后台服务管理
service iptables status 查看指定服务的状态
service iptables stop 停止指定服务
service iptables start 启动指定服务
service iptables restart 重启指定服务
service –status-all 查看系统中所有的后台服务
设置后台服务的自启配置
chkconfig 查看所有服务器自启配置
chkconfig iptables off 关掉指定服务的自动启动
chkconfig iptables on 开启指定服务的自动启动
chkconfig iptables –list 查看启动
系统启动级别管理
chkconfig可以查看各个服务在各种启动级别里面的状态
vi /etc/inittab
# Default runlevel. The runlevels used are:# 0 - halt (Do NOT set initdefault to this) # 关机# 1 - Single user mode # 单用户模式级别# 2 - Multiuser, without NFS (The same as 3, if you do not have networking) # 多用户级别不支持NFS# 3 - Full multiuser mode # 全功能的多用户模式# 4 - unused# 5 - X11 # 图形化界面# 6 - reboot (Do NOT set initdefault to this) # 不断的重启
id:3:initdefault:
阅读全文
0 0
- linux管理服务
- Linux服务管理命令
- Linux服务管理
- Linux/MAC服务管理
- Linux的服务管理
- Linux服务管理
- Linux服务管理命令
- Linux服务管理
- Linux 管理FTP 服务
- Linux服务管理
- Linux服务管理
- linux服务管理
- Linux服务管理
- Linux-服务管理
- Linux服务管理
- (Linux)服务管理
- Linux服务管理
- Linux服务管理
- 使用Visual Studio Code对Node.js进行断点调试
- android 7.0 安装apk
- 获取泛型类型
- 串口通信
- MyEclipse项目名和部署到tomcat上项目名不一致
- linux 服务管理
- 2017年09月19日泰国清迈曼谷普吉岛三地游
- 驼峰命名法和数据库下划线问题和一个mybatis的源码解释网站
- 遍历一个未知的json
- WPF自定义图片按钮控件
- 【socket】深入浅出讲解:php的socket通信
- bzoj2957 楼房重建 分块 || 线段树
- Spring三种实例化Bean的方法
- 记录一下自己常用的方法