スポンサーサイト
新しい記事を書く事で広告が消せます。

超私的。気になった物なら何でも格納しておきます。
CentOS4.4でPHPやMySQLも5以降のバージョンを使いたい…
だけどrpm探しに行くのはめんどい…という
ありがちな要求をクリアしてくれる方法です。
[root@hangar5 ~]# vi /etc/yum.repos.d/CentOS-Base.repo
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
#enabled=0
enabled=1 ←ここを1に
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
#contrib - packages by Centos Users
[contrib]
name=CentOS-$releasever - Contrib
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib
#baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/
gpgcheck=1
#enabled=0
enabled=1 ←ここを1に
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
:wq!
[root@hangar5 ~]# yum list | grep php
php.i386 5.1.6-3.el4s1.5 centosplus
php-bcmath.i386 5.1.6-3.el4s1.5 centosplus
php-cli.i386 5.1.6-3.el4s1.5 centosplus
php-common.i386 5.1.6-3.el4s1.5 centosplus
php-dba.i386 5.1.6-3.el4s1.5 centosplus
php-dbase.i386 5.1.6-1.el4.centos centosplus
php-devel.i386 5.1.6-3.el4s1.5 centosplus
php-domxml.i386 4.3.9-3.22.3 update
php-eaccelerator.i386 5.1.6_0.9.5-1.el4.cent centosplus
php-gd.i386 5.1.6-3.el4s1.5 centosplus
php-imap.i386 5.1.6-3.el4s1.5 centosplus
php-ldap.i386 5.1.6-3.el4s1.5 centosplus
php-mbstring.i386 5.1.6-3.el4s1.5 centosplus
php-mcrypt.i386 5.1.6-1.el4.centos centosplus
php-mhash.i386 5.1.6-1.el4.centos centosplus
php-mysql.i386 5.1.6-3.el4s1.5 centosplus
php-ncurses.i386 5.1.6-3.el4s1.5 centosplus
php-odbc.i386 5.1.6-3.el4s1.5 centosplus
php-pdo.i386 5.1.6-3.el4s1.5 centosplus
php-pear.i386 4.3.9-3.22.3 update
(省略)
[root@hangar5 ~]# yum list | grep mysql-server
mysql-server.i386 5.0.27-1.el4.centos centosplus
[root@hangar5 ~]# ll /var/cache/yum/
合計 28
drwxr-xr-x 4 root root 4096 2月 28 19:41 addons
drwxr-xr-x 4 root root 4096 2月 28 19:41 base
drwxr-xr-x 4 root root 4096 2月 28 20:47 centosplus
drwxr-xr-x 4 root root 4096 2月 28 20:47 contrib
drwxr-xr-x 4 root root 4096 2月 28 19:41 extras
-rw-r--r-- 1 root root 451 2月 28 19:41 timedhosts.txt
drwxr-xr-x 4 root root 4096 2月 28 19:40 update
[root@hangar5 ~]# yum list | grep vsftpd
vsftpd.i386 2.0.1-5.EL4.5 base
2007.02.28 | ご意見(20) | 提携(0) | 電子機器架
This is a best site, <a href=" http://nukufyfoliqi.narod.ru/page-58.html ">闔齏 髓瑁蔘 譫粤?/a>, 3792,
2008-08-01 金 08:11:25 | Stlgdxxy #- [ 編集]
このコメントは管理者の承認待ちです
2008-08-25 月 06:57:05 | # [ 編集]
このコメントは管理者の承認待ちです
2008-08-28 木 08:32:10 | # [ 編集]
このコメントは管理者の承認待ちです
2008-08-28 木 17:08:41 | # [ 編集]
このコメントは管理者の承認待ちです
2008-08-28 木 20:02:09 | # [ 編集]
このコメントは管理者の承認待ちです
2009-01-02 金 12:32:32 | # [ 編集]
このコメントは管理者の承認待ちです
2009-01-03 土 04:35:43 | # [ 編集]
このコメントは管理者の承認待ちです
2009-01-05 月 23:05:06 | # [ 編集]
このコメントは管理者の承認待ちです
2009-01-12 月 08:19:52 | # [ 編集]
このコメントは管理者の承認待ちです
2009-01-18 日 09:49:24 | # [ 編集]
このコメントは管理者の承認待ちです
2009-01-19 月 12:06:48 | # [ 編集]
このコメントは管理者の承認待ちです
2009-01-27 火 02:08:40 | # [ 編集]
このコメントは管理者の承認待ちです
2009-02-03 火 17:03:37 | # [ 編集]
このコメントは管理者の承認待ちです
2009-02-03 火 23:29:00 | # [ 編集]
このコメントは管理者の承認待ちです
2009-02-13 金 06:57:02 | # [ 編集]
このコメントは管理者の承認待ちです
2009-02-13 金 16:37:41 | # [ 編集]
このコメントは管理者の承認待ちです
2009-02-13 金 20:45:54 | # [ 編集]
このコメントは管理者の承認待ちです
2009-02-27 金 03:47:42 | # [ 編集]
このコメントは管理者の承認待ちです
2009-02-28 土 00:32:58 | # [ 編集]
このコメントは管理者の承認待ちです
2009-02-28 土 09:47:50 | # [ 編集]
« | 正面ゲート | »
ショウスケ
当格納庫の宿直職員。好きな市場は築地、好きな埠頭は芝浦、好きな電車はゆりかもめと東京モノレール。