systemctl命令是系统服务管理器指令,它实际上将service和chkconfig这两个命令组合到一起。任务旧指令新指令使某服务自动启动chkconfig--level3httpdonsystemctlenablehttpd.service使某服务不自动启动chkconfig--level3httpdoffsystemctldisablehttpd.service检查服务状态serv..
分类:
其他好文 时间:
2015-08-07 11:29:58
阅读次数:
146
一.安装方法:1.RPM包安装:mount/dev/cdrom/media/rpm-ivh/media/centos/ntp/-4.XXXX.rpm2.源码编译安装:wgethttp://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-4.2.6p4.tar.gztar-zxvfntp-4.2xx.tar.gz-C/usr/localcdntp-4.2.xx./configure--prefix=/usr/local/nt..
分类:
其他好文 时间:
2015-08-05 13:10:17
阅读次数:
172
yum-ygroupinstall"ServerwithGUI"RHEL7安装图形界面1.以root角色运行以下命令来安装TigerVNCserveryuminstalltigervnc-server也可以同时安装vncclientyuminstallvnc2.配置VNCServer2.1创建一个新的配置文件,我这里是开启3号窗口,方法如下:cp/lib/systemd/system/vncserver@..
分类:
其他好文 时间:
2015-08-04 23:21:34
阅读次数:
701
1、安装的时候要选择带GUI的,就是要带图形的。不然很麻烦。2、如果没有带图形,则需要1)安装和配置YUM。mount /Media /mntcd /mntcd /etc/yum.repo.d/vi server.reponame=serverbaseurl=ftp:///mntenabled=1g...
分类:
其他好文 时间:
2015-08-03 13:02:50
阅读次数:
173
1、安装的时候要选择带GUI的,就是要带图形的。不然很麻烦。2、如果没有带图形,则需要1)安装和配置YUM。mount /Media /mntcd /mntcd /etc/yum.repo.d/vi server.reponame=serverbaseurl=ftp:///mntenabled=1g...
分类:
其他好文 时间:
2015-08-03 12:52:44
阅读次数:
143
CentOS7/RHEL7:Reset/RecoverforgottenrootpasswordOctober11,2014bysharadchhetri4CommentsInthispostwewilllearn,howtoreset/recoverforgottenrootpasswordonCentOS7/RHEL7(RedHatEnterpriseLinux7).OnRHEL5/6orCentOS5/6series,themethodofresettingforgottenrootpasswordwa..
分类:
其他好文 时间:
2015-08-02 23:40:24
阅读次数:
628
【前言】在计算机的世界里,时间同步对于计算机间的相互协调合作无比重要,在我们实现高可用集群、负载均衡、DNS服务等等都需要时间同步。NTP(NetworkTimeProtocol,网络时间协议)就是用来使网络中的各个计算机时间同步的一种协议。它的用途是把计算机的时钟同步到世界协调时..
分类:
系统相关 时间:
2015-07-31 06:42:58
阅读次数:
257
date输出日期和时间cal查看当月日历cal-y查看全年日历修改系统时间date-s"2014-12-3013:23:23"网络更新时间yuminstall-yntpntpdatentp.fudan.edu.cn使用复旦大学的时间服务器,校对时间。date+%F只打印日期如:2014-12-30date+%T只打印时间如:13:23:23date+%Y只打印年如:2014..
分类:
其他好文 时间:
2015-07-27 16:33:57
阅读次数:
99
这个设置针对cdpserver版本v7.6和v7.0,v6.15版本不适用通过ssh控制台连接到飞康linux系统里输入vaconfig可以进入这个配置界面,在这里设置基本参数主机名、系统时间、密码、网络、网关、时间服务器
分类:
其他好文 时间:
2015-07-23 14:07:07
阅读次数:
162
linux版本 RHEL7.0IP地址172.7.16.111apache服务的包名为httpd,检查包使用yum源安装包,配置yum方法可以参考我的博客 《linux yum源配置方法》http://blog.itpub.net/27771627/viewspace-1223153/[root@r...
分类:
Web程序 时间:
2015-07-22 18:02:20
阅读次数:
213