LAMP
作者:tseng 日期:2009-04-24
yum install httpd mysql-server php php-devel php-mysql
yum 修改
[base]
name=CentOS-$releasever - Base
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
baseurl=http://ftp2.tnc.edu.tw/pub1/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=http://ftp2.tnc.edu.tw/pub1/centos/RPM-GPG-KEY-CentOS-5
#released updates
[update]
name=CentOS-$releasever - Updates
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
baseurl=http://ftp2.tnc.edu.tw/pub1/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=http://ftp2.tnc.edu.tw/pub1/centos/RPM-GPG-KEY-CentOS-5
#packages used/produced in the build but not released
[addons]
name=CentOS-$releasever - Addons
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=addons
baseurl=http://ftp2.tnc.edu.tw/pub1/centos/$releasever/addons/$basearch/
gpgcheck=1
gpgkey=http://ftp2.tnc.edu.tw/pub1/centos/RPM-GPG-KEY-CentOS-5
#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
baseurl=http://ftp2.tnc.edu.tw/pub1/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=http://ftp2.tnc.edu.tw/pub1/centos/RPM-GPG-KEY-CentOS-5
yum 修改
[base]
name=CentOS-$releasever - Base
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
baseurl=http://ftp2.tnc.edu.tw/pub1/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=http://ftp2.tnc.edu.tw/pub1/centos/RPM-GPG-KEY-CentOS-5
#released updates
[update]
name=CentOS-$releasever - Updates
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
baseurl=http://ftp2.tnc.edu.tw/pub1/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=http://ftp2.tnc.edu.tw/pub1/centos/RPM-GPG-KEY-CentOS-5
#packages used/produced in the build but not released
[addons]
name=CentOS-$releasever - Addons
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=addons
baseurl=http://ftp2.tnc.edu.tw/pub1/centos/$releasever/addons/$basearch/
gpgcheck=1
gpgkey=http://ftp2.tnc.edu.tw/pub1/centos/RPM-GPG-KEY-CentOS-5
#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
baseurl=http://ftp2.tnc.edu.tw/pub1/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=http://ftp2.tnc.edu.tw/pub1/centos/RPM-GPG-KEY-CentOS-5
评论: 0 | 引用: 0 | 查看次数: 2589
发表评论