一、简介chkconfig 命令主要用来更新(启动或停止)和查询系统服务的运行级信息。谨记chkconfig不是立即自动禁止或激活一个服务,它只是简单的改变了符号连接。二、安装&启动user@ae01:~$ sudo apt-get install chkconfig三、语法&参数user@ae01...
分类:
系统相关 时间:
2014-10-30 19:00:00
阅读次数:
373
mongod启动脚本/etc/init.d/mongod 1 #!/bin/bash 2 3 # mongod - Startup script for mongod 4 5 # chkconfig: 35 85 15 6 # description: Mongo is a scalable, .....
分类:
数据库 时间:
2014-10-30 16:56:31
阅读次数:
397
一、简介chkconfig命令主要用来更新(启动或停止)和查询系统服务的运行级信息。谨记chkconfig不是立即自动禁止或激活一个服务,它只是简单的改变了符号连接。二、安装user@ae01:~$ sudo apt-get install chkconfig三、用法user@ae01:~$ chk...
分类:
系统相关 时间:
2014-10-29 21:29:23
阅读次数:
251
./install_packages --enhanced_reporting
katello-configure --deployment=sam --user-pass=redhat
chkconfig mongod on
service mongod start
su - splice -s /bin/sh -c 'ssh-keygen -t rsa -f /var/lib/spli...
分类:
其他好文 时间:
2014-10-22 22:02:48
阅读次数:
253
用途说明service命令用于对系统服务进行管理,比如启动(start)、停止(stop)、重启(restart)、查看状态(status)等。相
关的命令还包括chkconfig、ntsysv等,chkconfig用于查看、设置服务的运行级别,ntsysv用于直观方便的设置各个服务是否自动
启动。service命令本身是..
分类:
系统相关 时间:
2014-10-22 18:32:02
阅读次数:
273
# cat /etc/init.d/httpd#!/bin/bash## httpd Startup script for the Apache HTTP Server## chkconfig: - 85 15# description: The Apache HTTP Server ...
分类:
Web程序 时间:
2014-10-22 18:05:32
阅读次数:
352
CentOS7上systemctl的用法我们对service和chkconfig两个命令都不陌生,systemctl是管制服务的主要工具,它整合了chkconfig与service功能于一体。systemctlis-enablediptables.servicesystemctlis-enabledservicename.service#查询服务是否开机启动systemctlenable*.service#开..
分类:
其他好文 时间:
2014-10-20 19:41:58
阅读次数:
246
Linux下chkconfig命令详解chkconfig命令主要用来更新(启动或停止)和查询系统服务的运行级信息。谨记chkconfig不是立即自动禁止或激活一个服务,它只是简单的改变了符号连接。使用语法:chkconfig [--add][--del][--list][系统服务] 或 chkcon...
分类:
系统相关 时间:
2014-10-20 14:52:57
阅读次数:
208
#!/bin/bash# httpd starts/stop the at daemon#chkconfig: 345 61 29#description: runs apache as httpd#Source function library. /etc/init.d/functionsexec...
分类:
Web程序 时间:
2014-10-19 07:56:18
阅读次数:
226
Redhat使用了SELinux来增强安全,关闭的办法为:1. 永久有效修改 /etc/selinux/config 文件中的 SELINUX="" 为 disabled ,然后重启。2. 即时生效setenforce 0关闭防火墙的方法为:1. 永久性生效开启:chkconfig iptables...
分类:
系统相关 时间:
2014-10-16 18:34:02
阅读次数:
254