码迷,mamicode.com
首页 >  
搜索关键字:chkconfig    ( 1438个结果
Linux开机自启动
永久打开或则关闭 chkconfig iptables on chkconfig iptables off 即时生效,重启后还原 service iptables start service iptables stop 开机默认VSFTP服务自动启动:方法一:(常用\方便)[root@localho...
分类:系统相关   时间:2015-06-17 14:39:59    阅读次数:173
redis 在centos下的安装部署
安装的redis版本是 redis-3.0.2请严格按照以下步骤进行可以免除以下错误1 make[2]: cc: Command not found异常原因:没有安装gcc解决方案:yum install gcc-c++2 redis 服务不支持 chkconfig异常原因 /etc/init.d/...
分类:其他好文   时间:2015-06-17 11:00:12    阅读次数:141
centos 安装配置ssh
安装SSH yum install ssh 启动SSH service sshd start 设置开机运行 chkconfig sshd on 相关配置文件修改 [root@sample ~]# vi /etc/ssh/sshd_config  ← 用vi打开SSH的配置文件 ? #Protocol 2,1 ← 找到此行将...
分类:其他好文   时间:2015-06-16 17:10:26    阅读次数:106
Vsftp配置
standalone模式下创建vsftpd脚本#!/bin/bash- #startupscriptfortheverysecureFtpserver //设置与chkconfig相关的选项 #chkconfig:-9813 #description:vsftpdisasecureftpserver ./etc/rc.d/init.d/functions //调用系统初始化脚本 if[-f/etc/init.d/functions];then ./etc/in..
分类:其他好文   时间:2015-06-16 14:55:53    阅读次数:139
CentOS安装\卸载 apache、mysql、php
使用命令安装:1.安装apache#yum -y install httpd2.安装mysql#yum -y install mysql#yum -y install mysql-server#yum -y install mysql-devel#chkconfig --levels 235 mys...
分类:数据库   时间:2015-06-15 23:50:22    阅读次数:172
CentOS6.5配置PHP CI程序
步骤: 1.安装CentOS6.5系统: 1.选择PHP+Mysql环境 2.关闭防火墙和SeLinux 1.chkconfig --level 35 iptables off 2.vi /etc/selinux/config SELINUX=disabled 3.重启 3.设置静...
分类:Web程序   时间:2015-06-11 16:27:17    阅读次数:315
centos下利用yum安装LAMP(Linux+Apache+MySQL+PHP)及配置
先说下我的实践配置,centos6.5(64位),联网安装前准备:关闭防火墙 service iptables stop安装MySQL打开终端,root用户yum install mysql mysql-server安装完毕,设置MySQL自启动chkconfig --levels 235 mysq...
分类:数据库   时间:2015-06-09 19:08:03    阅读次数:208
Linux系统服务管理 ntsysv,日志, exec,xargs , screen ,curl,
linux系统服务管理1.Linux系统服务管理工具ntsysv类似图形界面管理工具,如果没有该命令使用安装安装:yuminstall-yntsysv常用服务:crond,iptables,network,sshd,syslog,irqbalance,sendmail,microcode_ctlchkconfig--list:列出所的服务以及在每个级别是否开启chkconfig--add..
分类:Web程序   时间:2015-06-09 14:01:49    阅读次数:163
chkconfig的用法
chkconfig的用法用户自定义的服务要添加到开机启动: 1)/etc/rc.local 开机时,最后会找到这个文件中写入的每行内容,执行 2)/etc/init.d/ 开机时,会根据系统配置,到这个目录中,找到对应的服务 例如:nginx这个服务的控制脚本(官方有提供,也可以自己编写),放在这个位..
分类:其他好文   时间:2015-06-08 19:51:39    阅读次数:161
用shell写的nginx服务程序
用shell写的nginx服务程序 可以先添加到/etc/init.d/目录下。 chkconfig --add nginxd chkconfig nginxd on service nginxd start service nginxd stop service nginxd " restart | reload | test | status " #!...
分类:系统相关   时间:2015-06-08 15:22:00    阅读次数:197
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!