码迷,mamicode.com
首页 >  
搜索关键字:chkconfig    ( 1438个结果
CentOS下安装使用phpMyAdmin. Set up phpMyAdmin on CentOS
需要组件: Apache PHP Mysql phpMyAdmin Apache 0. yum install httpd 1. 确认版本 $ httpd -v 2. 启动apache $ sudo service httpd start (http://xxx.xxx.xxx.xxx shows apache info) 3.设定自动启动(optional) $ sudo chkconfig ...
分类:Web程序   时间:2015-07-17 00:30:56    阅读次数:159
Linux 下开启/关闭防火墙命令
一.Linux下开启/关闭防火墙命令1) 永久性生效,重启后不会复原开启: chkconfig iptables on关闭: chkconfig iptables off2) 即时生效,重启后复原开启: service iptables start关闭: service iptables stop在...
分类:系统相关   时间:2015-07-14 13:14:17    阅读次数:171
linux(red hat)开启sshd服务
1.设置sshd服务开机启动[root@centos ~]# chkconfig sshd on查看sshd开机启动状态[root@centos ~]# chkconfig --list|grep SSHD 2.查看sshd服务状态[root@centos ~]# service sshd stat...
分类:系统相关   时间:2015-07-12 01:36:30    阅读次数:314
hadoop2.2伪分布安装加2.2源码编译
配置linux基本环境: -->java、ip、hostname、hosts、iptables、chkconfig、ssh环境配置hadoop2.2安装在linux64位机器上,需要对源码进行编译: 首先安装google的protobuf yum install glibc-he...
分类:其他好文   时间:2015-07-11 08:59:52    阅读次数:140
yum 安装Apache
1、查看是否安装Apache,命令: rpm -qa httpd 2、yum install httpd ,yum安装Apache3、chkconfig httpd on service httpd start 启动软件遇到的问题1、启动Apache报错,httpd: Could not relia...
分类:Web程序   时间:2015-07-09 19:44:09    阅读次数:237
Linux命令-服务命令:chkconfig
注意:service的安装目录在/etc/rc.d/init.d下,/etc/init.d 是/etc/rc.d/init.d的链接。chkconfig命令主要用来更新(启动或停止)和查询系统服务的运行级信息。谨记chkconfig不是立即自动禁止或激活一个服务,它只是简单的改变了符号连接。使用语法...
分类:系统相关   时间:2015-07-04 16:43:21    阅读次数:218
服务管理
一、服务的分类1.rpm安装包的服务2.源码包安装的服务二、查看服务rpm安装的服务可以通过 chkconfig -list 查看, rpm安装的服务分 "独立服务" 和 "xinetd服务"源码包安装的服务需要到安装目录下手动查看三、独立服务的启动1. /etc/init.d/httpd (sta...
分类:其他好文   时间:2015-07-04 12:39:57    阅读次数:132
Linux服务器管理: 系统的定时任务crond
cornd 是定时任务的守护进程 这个服务系统是默认启动的[root@localhost/]#/etc/init.d/crond strat|restart|stop[root@localhost/]#chkconfig crond on命令介绍:[root@localhost/]#crontab ...
分类:系统相关   时间:2015-06-30 20:21:20    阅读次数:203
nginx启动脚本
#!/bin/sh##nginx-thisscriptstartsandstopsthenginxdaemin##chkconfig:-8515#description:NginxisanHTTP(S)server,HTTP(S)reverse\#proxyandIMAP/POP3proxyserver#processname:nginx#config:/usr/local/nginx/conf/nginx.conf#pidfile:/usr/local/nginx/logs/nginx.pid#Source..
分类:其他好文   时间:2015-06-30 18:41:32    阅读次数:132
Linux服务器管理: RPM包
服务安装类型主要分两种:RPM安装和源码包编译安装:1.RPM包查看: rpm -qa | grep 包名 用chkconfig --list 查看服务自启动命令 只对RPM包安装的服务生效 源码包未必生效 ps -aux (查看系统当中所有启动的进程) ps aux | grep 服务名 如...
分类:系统相关   时间:2015-06-30 12:37:06    阅读次数:649
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!