码迷,mamicode.com
首页 >  
搜索关键字:服务不支持 chkconfig    ( 1456个结果
搭建hadoop平台(二)VSFTP安装配置
(一)、检查是否已经安装:chkconfig –list | grep vsftpd(二)、若没有反应,输入安装命令:yum –y install vsftpd截图如下:从上面的结果中看出,已经成功安装。然后为它创建日志文件:touch /var/log/vsftpd.log这样简单的两个命令就完成...
分类:其他好文   时间:2015-05-10 20:21:13    阅读次数:129
Linux服务管理之系统管理员需要掌握的命令
systemd的主要命令行工具是systemctl。大多数Linux系统管理员应该都已经非常熟悉系统服务和init系统管理,比如service,chkconfig和telinit命令的使用。systemd也完成同样的管理任务,只是命令工具systemctl的语法...
分类:系统相关   时间:2015-05-10 13:02:56    阅读次数:199
shell基础练习笔记
1.关闭不必要的服务ntsysvchkconfig必须开启的服务有: crond/messagebus/network/iptables/sshd/syslog/sysstat/snmpd关闭不必要的服务脚本:foriin`chkconfig--list|awk‘/3:on/{print$1}‘|grep-v"crond\| messagebus\|sshd\|iptables\|network\|syslog\|snmpd\|sysstat"`;doc..
分类:系统相关   时间:2015-05-10 08:37:18    阅读次数:211
在linux中查看防火墙当前的状态
一、linux查看防火墙当前的状态1)查看防火墙状态:/etc/init.d/iptablesstatus暂时关闭防火墙:/etc/init.d/iptablesstop禁止防火墙在系统启动时启动/sbin/chkconfig--level2345iptablesoff重启iptables:/etc/init.d/iptablesrestart二、重启后生效开启:chkconfigiptableson关..
分类:系统相关   时间:2015-05-09 20:33:48    阅读次数:177
CentOS 7.0 systemd
CentOS 7已经切换到 systemd,系统指令也有所变化。之前用于启动、重启、停止各种服务的service作为向后兼容的指令还能使用,但是将来可能会消失。同时,chkconfig也改成了systemctl了。这里列举了一些常用的对应于service和chkconfig的新的systemctl指...
分类:其他好文   时间:2015-05-09 17:24:47    阅读次数:125
centos6.3配置gitlab-7.10.0-omnibus && msmtp+mutt发送邮件
centos6.3配置gitlab-7.10.0-omnibus(使用smtp服务进行邮件发出)1.依赖包安装yuminstallopenssh-servercronie-y#yuminstallpostfix//使用sendmail进行发送邮件需要安装,但是没有配置成功,这里采取smtp服务器进行邮件发出,故不再安装postfix。#servicepostfixstart#chkconfig..
分类:其他好文   时间:2015-05-08 00:19:30    阅读次数:219
RHEL6.4 KVM 桥接上网的设置
关闭网络管理器 chkconfig NetworkManager off ##和桥接有冲突,要关闭 service NetworkManager stop 修改eth0为物理网口,br0为桥接网口配置文件: [root@vfeelit network-scripts]# cat ifcfg-br0 ...
分类:其他好文   时间:2015-05-07 20:20:08    阅读次数:177
centos6搭建nfs服务器
1. 安装nfs-utils和rpcbindyum install nfs-utils rpcbind2.设置开机启动服务chkconfig nfs onchkconfig rpcbind on3.第一次启动服务servicerpcbind startservicenfs start2.创建共享目录...
分类:其他好文   时间:2015-05-07 13:53:49    阅读次数:114
RabbitMQ 心跳检测 和 开机自启动脚本
启动脚本:vim/etc/init.d/rabbitmq-server#!/bin/sh##rabbitmq-serverRabbitMQbroker##chkconfig:-8005#description:EnableAMQPserviceprovidedbyRabbitMQ####BEGININITINFO#Provides:rabbitmq-server#Required-Start:$remote_fs$network#Required-Stop:$remote_fs$network#De..
分类:其他好文   时间:2015-05-07 12:42:23    阅读次数:798
基础设置脚本
#!/bin/sh sz=`uname-a|grep"x86_64"|wc-l` if[$sz-ne1] then echo"systemhardware-platformerror" exit1 fi echo"----------------------------------------------------------------------" echo"closesomeservices" { chkconfig--level3abrtdoff chkconfig--level3acpidoff ..
分类:其他好文   时间:2015-05-06 18:19:50    阅读次数:128
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!