码迷,mamicode.com
首页 >  
搜索关键字:chkconfig    ( 1438个结果
设置resin在linux下的默认启动
第一种方式: 在/etc/init.d/下添加一个启动脚本 #vi resin.sh #!/bin/sh #chkconfig:345 99 10 #description:auto start resin #/etc/init.d/resin.sh export export JAVA_HOME=/usr/java/jdk1.7 export CLASSP...
分类:系统相关   时间:2014-10-14 19:03:49    阅读次数:208
chkconfig系统服务启动设置
chkconfig命令主要用来更新(启动或停止)和查询系统服务的运行级信息。谨记chkconfig不是立即自动禁止或激活一个服务,它只是简单的改变了符号连接。使用语法:chkconfig [--add][--del][--list][系统服务] 或 chkconfig [--level ][系统服务...
分类:其他好文   时间:2014-10-10 00:58:43    阅读次数:196
beanstalkd自动安装脚本
#! /bin/sh # chkconfig: 2345 55 25 # Description: Startup script for nginx webserver on Debian. Place in /etc/init.d and # run 'update-rc.d -f nginx defaults', or use the appropriate command on your #...
分类:其他好文   时间:2014-10-09 14:36:04    阅读次数:322
[Linux] CentOS 加入开机启动
1、在/etc/init.d/目录下新建一个文件:autostart.sh#!/bin/sh#chkconfig: 2345 80 80#description: auto start web serverservice iptables startsh /usr/jboss-as-7.1.1.Fi...
分类:系统相关   时间:2014-10-09 01:26:37    阅读次数:235
cenots7
centos7中iptables被firewalld替代启动防火墙:systemctlstartfirewalld关闭防火墙:systemctlstopfirewalld重启防火墙:systemctlrestartfirewalld一、Services使用了systemd来代替sysvinit管理,SysV即将退居二线systemctl是主要的工具,融合了service和chkconfig的功能,可以..
分类:其他好文   时间:2014-10-08 16:00:16    阅读次数:264
使用xftp连接VirtualBox中的centos6.5
首先要在windows上安装xftp软件,这个是傻瓜式操作就不说了安装完成之后,在centos上查看是否装了xftpd服务, [root@centos Desktop]# rpm -qa | grep vsftpd  vsftpd-2.2.2-12.el6_5.1.x86_64  [root@centos Desktop]# chkconfig vsftpd on  [root@cento...
分类:其他好文   时间:2014-10-07 16:16:33    阅读次数:170
centos 6.4 samba 安装配置(记录)
前提: 关掉防火墙 service iptables stop 或chkconfig iptables off(永久关闭防火墙) 关闭SELinux setenforce 0 或vi /etc/sysconfig/selinux把 SELINUX=enforcing 修改为SELINUX= disa...
分类:其他好文   时间:2014-10-05 00:58:37    阅读次数:245
linux设置开机服务自动启动
linux设置开机服务自动启动[root@localhost ~]# chkconfig --list 显示开机可以自动启动的服务[root@localhost ~]# chkconfig --add *** 添加开机自动启动***服务[root@localhost ~]# chkconfig .....
分类:系统相关   时间:2014-10-04 21:20:57    阅读次数:289
cat /etc/rc.d/init.d/mysql
#!/bin/sh## mysqld This shell script takes care of starting and stopping# the MySQL subsystem (mysqld).## chkconfig: - 64 36# description: MySQL data....
分类:数据库   时间:2014-10-03 16:06:44    阅读次数:407
-bash: crontab: command not found(转)
操作步骤1.确认crontab是否安装:执行crontab命令如果报commandnotfound,就表明没有安装2.安装crontab执行yuminstall-yvixie-cron3.确认是否安装成功:执行crontab-l4.看是否设置了开机自动启动chkconfig--listcrond5....
分类:其他好文   时间:2014-09-28 21:27:15    阅读次数:115
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!