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、查看系统运行级别#cat/etc/inittab#Defaultrunlevel.Therunlevelsusedare:#0-halt(DoNOTsetinitdefaulttothis)#1-Singleusermode#2-Multiuser,withoutNFS(Thesameas3,ifyoudonothavenetworking)#3-Fullmultiusermode#4-unused#5-X11#6-reboot(DoNOTsetinitdefaulttothis)#id..
分类:
其他好文 时间:
2014-06-10 23:13:36
阅读次数:
261
1 CRT显示乱码:
本地windows机器。修改SecureCRT的设置。找到“选项”->“会话选项”->“外观”:
* 字符编码设置为utf-8。
* 字体设置,选择中文字体,例如新宋体。
2 查看ftp 服务是否启动:
service vsftpd status
3 使 用chkconfig vsftpd on 设置...
分类:
其他好文 时间:
2014-06-10 17:59:51
阅读次数:
217
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
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