Server端:一.安装NTP包1 #yum -y install ntp
/*yum安装NTP服务*/2 #chkconfig --add ntpd /*添加NTP*/3 #chkconfig ntpd on ...
分类:
其他好文 时间:
2014-06-11 22:37:33
阅读次数:
335
1.svn服务自启动脚本把脚本放在/etc/init.d/下vi
/etc/rc.d/init.d/svnsvn脚本内容:01 #!/bin/bash02 # chkconfig: - 85 1503 #
description: svn server04 SVN_HOME=...
分类:
系统相关 时间:
2014-06-10 00:52:42
阅读次数:
315
yum-yinstallsamba/etc/init.d/smbstart(servicesmbstart)chkconfig--level35smbontestparm/etc/samba/smb.conf#检测配置文件配置文件:/etc/samba/smb.confStandaloneServerOptions密码设置:smbpasswd-a用户createmodedirectorymode
分类:
系统相关 时间:
2014-06-01 16:30:35
阅读次数:
293
mysql 的守护进程是mysqld [root@localhost ~]# service
mysqld start启动 MySQL: 你可以看看你的服务是否已经添加到linux上[root@localhost ~]# chkconfig --list
mysqldmysql...
分类:
数据库 时间:
2014-05-22 02:28:19
阅读次数:
304
注意:service的安装目录在/etc/rc.d/init.d下,/etc/init.d
是/etc/rc.d/init.d的链接。chkconfig命令用来安装,查看或修改
services随系统启动的启动选项的设置。本文章包含了7个实例来解释如何使用chkconfig命令。1 在shell脚本...
分类:
系统相关 时间:
2014-05-19 13:55:21
阅读次数:
353
1.首先是写
service脚本service脚本需要进入到目录/etc/init.d中,然后touch memcached,最后vim
memcached后进行脚本编写,脚本如下:#!/bin/bash#chkconfig:345 60 60#description:auto_runexport
...
分类:
系统相关 时间:
2014-05-17 00:52:40
阅读次数:
357
Step1:关闭防火墙 service iptables stop[status] service
iptables status chkconfig --list |grep iptables chkconfig iptables offStep2:修改IP
(重启网卡:se...
分类:
其他好文 时间:
2014-05-16 21:22:50
阅读次数:
318
chkconfig命令主要用来更新(启动或停止)和查询系统服务的运行级信息。谨记chkconfig不是立即自动禁止或激活一个服务,它只是简单的改变了符号连接。使用语法:chkconfig
[--add][--del][--list][系统服务] 或 chkconfig [--level ][系统服务...
分类:
系统相关 时间:
2014-05-15 10:28:17
阅读次数:
406
[root@localhost ~]# chkconfig --list
显示开机可以自动启动的服务[root@localhost ~]# chkconfig --add ***
添加开机自动启动***服务[root@localhost ~]# chkconfig --del *** 删除开机自动启...
分类:
系统相关 时间:
2014-05-15 09:47:40
阅读次数:
367
命令:chkconfig catlstaillnfindwctarcutgrepegrep一、如何过滤出已知当前目录下的所有一级目录如何区分目录和文件: 1、利用颜色(这个依赖与CRT等工具) 2、利用开头字母·ls–l|grep^d(正则表达式中一个字符在[]中是非,在[]外面就是以什么开头)·ls–lF|gr..
分类:
其他好文 时间:
2014-05-15 08:42:55
阅读次数:
269