码迷,mamicode.com
首页 >  
搜索关键字:chkconfig    ( 1438个结果
Linux服务器软件安装备忘
1.Centos安装Mysql 1 --安装 2 yum install mysql-server 卸载 yum -e mysql-server 3 --设置为开机启动 4 chkconfig mysqld on 5 --启动mysql 6 service mysqld start 7 --设置.....
分类:系统相关   时间:2014-11-18 23:02:47    阅读次数:285
Linux下chkconfig命令详解
chkconfig命令主要用来更新(启动或停止)和查询系统服务的运行级信息。谨记chkconfig不是立即自动禁止或激活一个服务,它只是简单的改变了符号连接。使用语法:chkconfig [--add][--del][--list][系统服务] 或 chkconfig [--level ][系统服务...
分类:系统相关   时间:2014-11-18 17:26:51    阅读次数:176
阿里云ECS使用03:ftp的安装与配置
1、安装使用chkconfig --list查看系统是否已经安装有vsftpd服务,若有,跳过此步骤。使用yum命令直接安装,并为塔创建日志文件[root@iZ23o5qv2ozZ /]# yum -y install vsftpd ......[root@iZ23o5qv2ozZ /]# tou....
分类:其他好文   时间:2014-11-18 00:18:32    阅读次数:209
centos6.6中service启动gearman服务
#!/bin/bash # chkconfig: - 85 15 #descrīption: service(/usr/local/gearmand-1.1.12/sbin/gearmand) . /etc/rc.d/init.d/functions start() { echo -n $"Starting $prog" echo -e " gearman : ...
分类:其他好文   时间:2014-11-15 23:19:09    阅读次数:496
如何查看和停止Linux启动的服务
1. 查看Linux启动的服务chkconfig --list 查询出所有当前运行的服务chkconfig --list atd 查询atd服务的当前状态2.停止所有服务并且在下次系统启动时不再启动,如下所示:chkconfig --levels 12345 NetworkManager off如果...
分类:系统相关   时间:2014-11-15 11:27:13    阅读次数:302
一键优化系统脚本 for centos6.x
#!/bin/bash#setenvexportLANG="en_US.UTF-8"exportPATH=$PATH:/bin/sbin:/usr/sbin#whetherroottorunninguserif[[$(whoami)!=root]];thenecho"pleasesu-rootrunthescript."fiSERVICE=`whichservice`CHKCONFIG=`whichchkconfig`./etc/init.d/functions#installpackagesinstallT..
分类:其他好文   时间:2014-11-15 06:42:14    阅读次数:143
iptables 脚本实例
#!/bin/sh##firewallstartingfirewall##chkconfig:23459801#description:settingfirewall###########################################################################设定参数##########################################################################INNER_NET=192.168..
分类:其他好文   时间:2014-11-14 18:04:23    阅读次数:141
优化系统脚本(简写)
#!/bin/bash#setenvexportLANG="en_US.UTF-8"exportPATH=$PATH:/bin/sbin:/usr/sbin#whetherroottorunninguserif[[$(whoami)!=root]];thenecho"pleasesu-rootrunthescript."fiSERVICE=`whichservice`CHKCONFIG=`whichchkconfig`./etc/init.d/functions#installpackagesinstallT..
分类:其他好文   时间:2014-11-14 01:44:19    阅读次数:189
chkconfig命令
chkconfig命令--启动或停止和查询系统服务的运行级别信息chkconfig参数chkconfig[--levellevels]name<on|off|reset>chkconfig[--levellevels]name参数说明--list显示所有系统服务运行级别信息--level指定服务的运行级别(0-6)--add添加一个服务--del删除一个服务[root@loc..
分类:其他好文   时间:2014-11-12 18:02:31    阅读次数:268
linux vsftpd 虚拟目录
环境:CentOS6.5+vsFTPvsftpd-2.2.2-13.el6_6.1.x86_64第一步:安装vsftppamdb4yuminstallvsftpdpam*db4*-y关闭防火墙#/etc/init.d/iptablesstop#chkconfig–level35iptablesoff关闭setenforce#setenforce0在多用户和界面模式vsftpd开机启动#chkconfig--level35vsftpdon第二?.
分类:系统相关   时间:2014-11-11 23:06:08    阅读次数:499
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!