yum配置与使用(很详细)yum的配置一般有两种方式,一种是直接配置/etc目录下的yum.conf文件,另外一种是在/etc/yum.repos.d目录下增加.repo文件。一、yum的配置文件$cat/etc/yum.conf[main]cachedir=/var/cache/yum#yum下载...
分类:
其他好文 时间:
2014-06-11 23:11:34
阅读次数:
376
1.下载并安装最新的bind包yum install –y bind bind-chroot
bind-utis2.配置named.confacl internals{ 127.0.0.0/8; 192.168.0.0/24;};view
"internal" { m...
分类:
其他好文 时间:
2014-06-11 22:51:09
阅读次数:
331
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
linux yum命令详解yum(全 称为 Yellow dog Updater,
Modified)是一个在Fedora和RedHat以及SUSE中的Shell前端软件包管理器。基於RPM包管理,能够从指定的服务器自动下载
RPM包并且安装,可以自动处理依赖性关系,并且一次安装所有依赖的软体包,无...
分类:
其他好文 时间:
2014-06-11 22:15:39
阅读次数:
321
This how-to will explain how to download rpm
packages from a yum repository without installing them. This will work on Redhat
Enterprise Linux 5.x, Fe...
分类:
其他好文 时间:
2014-06-11 22:07:34
阅读次数:
406
一、安装Apache2 #yum -y install
httpd安装配置完成,启动httpd服务#service httpd start二、安装Mysql1.安装mysql#yum -y install
mysql-server安装完成,启动mysql服务:#service mysqld star...
分类:
数据库 时间:
2014-06-11 11:14:36
阅读次数:
416
什么是 yum? yum 是 yellowdog updater modified
的缩写。yellowdog 是一个 Linux 的 distribution,RH 将这种升级技术利用到自己的 distribution 形成了现在的
yum,感觉上 yum 和 apt 的原理类似,但是 apt ....
分类:
系统相关 时间:
2014-06-08 08:07:52
阅读次数:
310
一、Fedora
启动sshd服务:1、先确认是否已安装ssh服务:[root@localhost ~]# rpm -qa | grep
openssh-serveropenssh-server-5.3p1-19.fc12.i686 (这行表示已安装)若未安装ssh服务,可输入:#yum
insta...
分类:
其他好文 时间:
2014-06-07 17:04:33
阅读次数:
185
Given a linked list, remove thenthnode from the
end of list and return its head.For example, Given linked list:
1->2->3->4->5, and n = 2. After re...
分类:
其他好文 时间:
2014-06-07 16:54:26
阅读次数:
221
在控制台操作时,使用的格式化输入和输出为scanf和printf,那么对文件的IO操作也可以使用fscanf和fprintf,它们的使用如下:
#include
#include
#include
const int LENGTH=80;
int main(void){
long num1=234567L;
long num2=345123L;
long num3=78...
分类:
其他好文 时间:
2014-06-07 13:12:41
阅读次数:
248