このブログは、旧・はてなダイアリー「檜山正幸のキマイラ飼育記 メモ編」(http://d.hatena.ne.jp/m-hiyama-memo/)のデータを移行・保存したものであり、今後(2019年1月以降)更新の予定はありません。

今後の更新は、新しいブログ http://m-hiyama-memo.hatenablog.com/ で行います。

nginxをインストール、と思ったら

次の手順でパッケージ化されたngixを準備してみた。


[hiyama@microapplications DOWNLOAD]$ wget http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm
--10:59:00-- http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm
=> `epel-release-5-3.noarch.rpm'
Resolving download.fedora.redhat.com... 209.132.183.67
Connecting to download.fedora.redhat.com|209.132.183.67|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11,989 (12K) [application/x-rpm]

100%[=================================================================================>] 11,989 47.54K/s

10:59:01 (47.53 KB/s) - `epel-release-5-3.noarch.rpm' saved [11989/11989]

[hiyama@microapplications DOWNLOAD]$ sudo rpm -Uvh epel-release-5-3.noarch.rpm
hiyama@microapplications Password:
warning: epel-release-5-3.noarch.rpm: V3 DSA signature: NOKEY, key ID 217521f6
Preparing... ########################################### [100%]
1:epel-release ########################################### [100%]
[hiyama@microapplications DOWNLOAD]$ rpm -qi epel-release
Name : epel-release Relocations: (not relocatable)
Version : 5 Vendor: Fedora Project http://bugzilla.redhat.com/bugzilla
Release : 3 Build Date: Sat Apr 26 03:16:23 2008
Install Date: Thu Jan 28 10:59:35 2010 Build Host: ppc2.fedora.redhat.com
Group : System Environment/Base Source RPM: epel-release-5-3.src.rpm
Size : 22091 License: GPL
Signature : DSA/SHA1, Sat Apr 26 09:03:47 2008, Key ID 119cc036217521f6
Packager : Fedora Project http://bugzilla.redhat.com/bugzilla
URL : http://download.fedoraproject.org/pub/epel
Summary : Extra Packages for Enterprise Linux repository configuration
Description :
This package contains the Extra Packages for Enterprise Linux (EPEL) repository
GPG key as well as configuration for yum.
[hiyama@microapplications DOWNLOAD]$ rpm -ql epel-release
/etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL
/etc/yum.repos.d/epel-testing.repo
/etc/yum.repos.d/epel.repo
/usr/share/doc/epel-release-5
/usr/share/doc/epel-release-5/GPL
[hiyama@microapplications DOWNLOAD]$ cd /var
..
.. ゴチャゴチャ、雑用
..
[hiyama@microapplications var]$ sudo yum list
hiyama@microapplications Password:
Setting up repositories
epel 100% |=========================| 3.4 kB 00:00
kbs-CentOS-Extras 100% |=========================| 951 B 00:00
kbs-CentOS-Misc 100% |=========================| 951 B 00:00
update 100% |=========================| 951 B 00:00
base 100% |=========================| 1.1 kB 00:00
sakura 100% |=========================| 951 B 00:00
contrib 100% |=========================| 951 B 00:00
centosplus 100% |=========================| 951 B 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
a78199c898af49c31a1717393 100% |=========================| 1.3 MB 00:00
epel : ################################################## 4001/4001
primary.xml.gz 100% |=========================| 172 kB 00:00
sqlite cache needs updating, reading in metadata
update : ################################################## 538/538
primary.xml.gz 100% |=========================| 611 kB 00:00
sqlite cache needs updating, reading in metadata
base : ################################################## 1599/1599
primary.xml.gz 100% |=========================| 4.8 kB 00:00
sqlite cache needs updating, reading in metadata
sakura : ################################################## 14/14
primary.xml.gz 100% |=========================| 92 kB 00:00
sqlite cache needs updating, reading in metadata
centosplus: ################################################## 283/283
primary.xml.gz 100% |=========================| 36 kB 00:00
sqlite cache needs updating, reading in metadata
extras : ################################################## 141/141
Installed Packages
4Suite.i386 1.0-3 installed
Canna-libs.i386 3.7p3-7.EL4 installed
FreeWnn-libs.i386 1:1.10pl020-6.el4 installed
GConf2.i386 2.8.1-2.el4 installed
MAKEDEV.i386 3.15.2-3 installed
..
..
..
..
zziplib.i386 0.13.49-1.el5.1 epel
zziplib-devel.i386 0.13.49-1.el5.1 epel
zziplib-utils.i386 0.13.49-1.el5.1 epel
[hiyama@microapplications var]$ yum list | grep nginx
collectd-nginx.i386 4.5.3-2.el5.1 epel
nginx.i386 0.6.39-2.el5 epel
[hiyama@microapplications var]$ yum search nginx
Searching Packages:
Setting up repositories
Reading repository metadata in from local files


nginx.i386 0.6.39-2.el5 epel
Matched from:
nginx
Nginx [engine x] is an HTTP(S) server, HTTP(S) reverse proxy and IMAP/POP3
proxy server written by Igor Sysoev.

One third party module, nginx-upstream-fair, has been added.
http://nginx.net/


collectd-nginx.i386 4.5.3-2.el5.1 epel
Matched from:
collectd-nginx
Nginx plugin for collectd
This plugin gets data provided by nginx.
[hiyama@microapplications var]$

バージョンが 0.6.39 か、これは古いなー。0.7が欲しい。