サーバ構築ログ
Amebaでブログを始めよう!

South Hill SHIRAZ

商品名:South Hill SHIRAZ


原産国:オーストラリア

年度:2004年

購入価格:980円

コメント:セブンイレブンにて田崎真也セレクション
コルク栓でないものがあまり好きじゃないので、間違って購入。が、
さすがシラーズ。おいしいですね。ちゃんと豊潤な味わいで深みもあり好みの味です。


評価:1,000円~2,200円


RODREJO seleccion 2000 (selection)


商品名:RODREJO seleccion 2000 (selection)


原産国:スペイン

購入価格:1,200円

コメント:とっても濃いフルーティーで、アルコールの重さもある。
ただ、ワインの深みというよりも発酵ぶどうジュースの感じが強い。

香りとしては、フレッシュというよりもほしぶどうのかおり。


評価:1,200円~1,500円 程度?


RODREJO selection2000


SER sip express router による NAT越え nathelper

nathelper

[root@sip sip_router]# vi /usr/local/etc/ser/ser.cfg

で。

loadmodule "/usr/local/lib/ser/modules/nathelper.so"
loadmodule "/usr/local/lib/ser/modules/textops.so"
を追加


if (uri==myself) { ・・・・・・ };

これの後に

#inserted
if (method=="INVITE") {
record_route();
force_rtp_proxy();
/* set up reply processing */
t_on_reply("1");
};

を追加

一番最後に  route{ ・・・・ }  の後に

#inserted
# all incoming replies for t_onrepli-ed transactions enter here
onreply_route[1] {
if (status=~"[12][0-9][0-9]")
force_rtp_proxy();
}

を追加


これで、ソフトフォンの設定をすればOK。

SER sip express router のインストール


SER(SIP Express Router)のインストールと設定ログ


今回はwebの通り、cvsにて。
http://jo1upk.blogdns.net/linux/index.php?%E3%82%BD%E3%83%95%E3%83%88%2FSIP%2Fser
のようにrpmも作成できるので誰かバージョンごとにアップしてあげてください・・・・。



インストール時に参考・引用させて頂いてます。
http://wiki.sip-ix.jp/index.php?SER%A5%A4%A5%F3%A5%B9%A5%C8%A1%BC%A5%EB%A1%F5%C0%DF%C4%EA
CVSからソースの取得

[root@sip sip_router]#export CVSROOT=:pserver:anonymous@cvs.berlios.de:/cvsroot/ser
[root@sip sip_router]#cvs login
[root@sip sip_router]# cvs co -r rel_0_8_12 sip_router

インストール

[root@sip sip_router]# cd sip_router
[root@sip sip_router]#make
[root@sip sip_router]# sudo make install
[root@sip sip_router]# cd modules/mysql
[root@sip sip_router]# make
[root@sip sip_router]# sudo cp mysql.so /usr/local/lib/ser/modules/.

mysqlを起動

(CentOS4.3で起動できない場合はyum updateしてください。)

rootに、パスワードは必ず設定。

[root@sip sip_router]# /mysqladmin -u root password ここにパスワード

※mysqlで「set password for root=password('パスワード'); flush privileges;」
でもOK。

初期アカウントの匿名ユーザー削除・

[root@sip sip_router]# mysql -u root -p
Enter password: パスワード
mysql> use mysql
mysql> delete from user where user='';
mysql> flush privileges;
mysql> exit

次にser用のmysqlスクリプト起動。
[root@sip sip_router]# /usr/local/sbin/ser_mysql.sh create
MySql password for root:
Domain (realm) for the default user 'admin': sip.teluri.com

creating database ser ...
[root@sip sip_router]#


mysqldにコネクション数を設定
[root@sip sip_router]# vi /etc/my.conf
[mysqld]
set-variable = max_connections=500


ser fileの設定

追加(fifo="/tmp/ser_fifo"の下あたりに)
alias="sip.teluri.com"

認証に必要な部分の#を削除(コメントアウトを取り消し)
- loadmodule "/usr/lib/ser/modules/mysql.so"
- loadmodule "/usr/lib/ser/modules/auth.so"
- loadmodule "/usr/lib/ser/modules/auth_db.so"
- modparam("usrloc", "db_mode", 2)
- modparam("auth", "calculate_ha1", yes)
- modparam("auth_db", "password_column", "password")
- if (!www_authorize("iptel.org", "subscriber")) {
www_challenge("iptel.org", "0");
break;
};

5)必要な分の変更
自分のサーバのドメインを入れる。

# Uncomment this if you want to use digest authentication
if (!www_authorize("sip.teluri.com", "subscriber")) {
www_challenge("sip.teluri.com", "0");
break;
};


SERの起動
[root@sip sip_router]# SIP_DOMAIN=sip.teluri.com /usr/local/sbin/serctl start

Starting SER : started pid(12260)
[root@sip sip_router]#


確認

[root@sip sip_router]# ps -aux | grep ser
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.3/FAQ
root 110 0.0 0.0 0 0 ? S Apr29 0:00 [kseriod]
rpcuser 2122 0.0 0.4 3332 848 ? Ss Apr29 0:00 rpc.statd
htt 2360 0.0 1.3 8564 2564 ? S Apr29 0:00 htt_server -nodaemon
canna 2372 0.0 9.2 19148 17628 ? Ss Apr29 0:02 /usr/sbin/cannaserver -syslog -u canna
mysql 12109 0.1 10.9 138964 20860 pts/1 Sl 00:28 0:02 /usr/libexec/mysqld --defaults-file=/etc/my.cnf --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-locking --socket=/var/lib/mysql/mysql.sock
root 12260 0.2 1.8 40956 3592 ? S 00:56 0:00 /usr/local/sbin/ser -P /var/run/ser.pid
root 12263 0.0 1.8 40956 3564 ? S 00:56 0:00 /usr/local/sbin/ser -P /var/run/ser.pid
root 12266 0.0 1.8 40956 3564 ? S 00:56 0:00 /usr/local/sbin/ser -P /var/run/ser.pid
root 12269 0.0 1.8 40956 3564 ? S 00:56 0:00 /usr/local/sbin/ser -P /var/run/ser.pid
root 12272 0.0 1.8 40956 3564 ? S 00:56 0:00 /usr/local/sbin/ser -P /var/run/ser.pid
root 12275 0.0 1.8 40956 3564 ? S 00:56 0:00 /usr/local/sbin/ser -P /var/run/ser.pid
root 12276 0.0 1.8 40956 3564 ? S 00:56 0:00 /usr/local/sbin/ser -P /var/run/ser.pid
root 12279 0.0 1.8 40956 3564 ? S 00:56 0:00 /usr/local/sbin/ser -P /var/run/ser.pid
root 12282 0.0 1.8 40956 3564 ? S 00:56 0:00 /usr/local/sbin/ser -P /var/run/ser.pid
root 12285 0.0 1.8 40956 3564 ? S 00:56 0:00 /usr/local/sbin/ser -P /var/run/ser.pid
root 12288 0.0 1.8 40956 3564 ? S 00:56 0:00 /usr/local/sbin/ser -P /var/run/ser.pid
root 12290 0.0 1.8 40956 3564 ? S 00:56 0:00 /usr/local/sbin/ser -P /var/run/ser.pid
root 12291 0.0 1.8 40956 3564 ? S 00:56 0:00 /usr/local/sbin/ser -P /var/run/ser.pid
root 12299 0.0 1.8 40956 3564 ? S 00:56 0:00 /usr/local/sbin/ser -P /var/run/ser.pid
root 12302 0.0 1.8 40956 3564 ? S 00:56 0:00 /usr/local/sbin/ser -P /var/run/ser.pid
root 12305 0.0 1.8 40956 3564 ? S 00:56 0:00 /usr/local/sbin/ser -P /var/run/ser.pid
root 12308 0.0 1.8 40956 3564 ? S 00:56 0:00 /usr/local/sbin/ser -P /var/run/ser.pid
root 12311 0.0 1.8 40960 3592 ? S 00:56 0:00 /usr/local/sbin/ser -P /var/run/ser.pid
root 12314 0.0 1.8 40956 3596 ? S 00:56 0:00 /usr/local/sbin/ser -P /var/run/ser.pid
root 12317 0.0 1.8 40956 3596 ? S 00:56 0:00 /usr/local/sbin/ser -P /var/run/ser.pid
root 12320 0.0 1.8 40956 3596 ? S 00:56 0:00 /usr/local/sbin/ser -P /var/run/ser.pid
root 12323 0.0 1.8 40956 3596 ? S 00:56 0:00 /usr/local/sbin/ser -P /var/run/ser.pid
root 12326 0.0 1.8 40956 3596 ? S 00:56 0:00 /usr/local/sbin/ser -P /var/run/ser.pid
root 12327 0.0 1.8 40956 3596 ? S 00:56 0:00 /usr/local/sbin/ser -P /var/run/ser.pid
root 12330 0.0 1.8 40956 3596 ? S 00:56 0:00 /usr/local/sbin/ser -P /var/run/ser.pid
root 12333 0.0 1.8 40956 3596 ? S 00:56 0:00 /usr/local/sbin/ser -P /var/run/ser.pid
root 12336 0.0 1.8 40956 3596 ? S 00:56 0:00 /usr/local/sbin/ser -P /var/run/ser.pid
root 12339 0.0 1.8 40956 3596 ? S 00:56 0:00 /usr/local/sbin/ser -P /var/run/ser.pid
root 12348 0.0 0.3 6344 752 pts/2 R+ 00:57 0:00 grep ser
[root@sip sip_router]#

[root@sip sip_router]# SIP_DOMAIN=sip.teluri.com serctl add ユーザ パスワード メールアドレス
MySql password:
new user added

[root@sip sip_router]#

やっとここまで・・・。

CentOS 4.3 で yum 利用

CentS4.3で実施したyum のログです。


[root@sip ~]# rpm --import http://ftp.riken.jp/Linux/caos/centos/RPM-GPG-KEY-CentOS-4

[root@sip tel]# vi /etc/yum.repos.d/CentOS-Base.repo

もともとのファイルはコメントアウトして、日本のサイトを設定。

[base]
name=CentOS-$releasever - Base
baseurl=http://ftp.riken.jp/Linux/centos/$releasever/os/$basearch/
gpgcheck=1
#released updates
[update]
name=CentOS-$releasever - Updates
baseurl=http://ftp.riken.jp/Linux/centos/$releasever/updates/$basearch/
gpgcheck=1
#packages used/produced in the build but not released
[addons]
name=CentOS-$releasever - Addons
baseurl=http://ftp.riken.jp/Linux/caos/centos/$releasever/addons/$basearch/
gpgcheck=1


[root@sip tel]# yum check-update
Setting up repositories
update 100% |=========================| 951 B 00:00
base 100% |=========================| 1.1 kB 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 19 kB 00:00
update : ################################################## 53/53
Added 53 new packages, deleted 0 old in 2.09 seconds
primary.xml.gz 100% |=========================| 554 kB 00:01
base : ################################################## 1450/1450
Added 1450 new packages, deleted 0 old in 50.75 seconds
primary.xml.gz 100% |=========================| 157 B 00:00
Added 0 new packages, deleted 0 old in 0.01 seconds
primary.xml.gz 100% |=========================| 35 kB 00:00
extras : ################################################## 161/161
Added 161 new packages, deleted 0 old in 4.42 seconds

firefox.i386 1.0.8-1.4.1.centos4 update
fontconfig.i386 2.2.3-7.centos4 update
gnupg.i386 1.2.6-3 update
ipsec-tools.i386 0.3.3-6.rhel4.1 update
mozilla-nspr.i386 37:1.7.13-1.4.1.centos update
mozilla-nss.i386 37:1.7.13-1.4.1.centos update
php.i386 4.3.9-3.12 update
php-ldap.i386 4.3.9-3.12 update
php-pear.i386 4.3.9-3.12 update
python.i386 2.3.4-14.2 update
python-devel.i386 2.3.4-14.2 update
sendmail.i386 8.13.1-3.RHEL4.3 update
tzdata.noarch 2006a-2.EL4 update
[root@sip tel]#

[root@sip tel]# yum update
Setting up Update Process
Setting up repositories
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for php to pack into transaction set.
php-4.3.9-3.12.i386.rpm 100% |=========================| 22 kB 00:00
---> Package php.i386 0:4.3.9-3.12 set to be updated
---> Downloading header for gnupg to pack into transaction set.
gnupg-1.2.6-3.i386.rpm 100% |=========================| 15 kB 00:00
---> Package gnupg.i386 0:1.2.6-3 set to be updated
---> Downloading header for python-devel to pack into transaction set.
python-devel-2.3.4-14.2.i 100% |=========================| 60 kB 00:00
---> Package python-devel.i386 0:2.3.4-14.2 set to be updated
---> Downloading header for php-ldap to pack into transaction set.
php-ldap-4.3.9-3.12.i386. 100% |=========================| 18 kB 00:00
---> Package php-ldap.i386 0:4.3.9-3.12 set to be updated
---> Downloading header for python to pack into transaction set.
python-2.3.4-14.2.i386.rp 100% |=========================| 191 kB 00:00
---> Package python.i386 0:2.3.4-14.2 set to be updated
---> Downloading header for ipsec-tools to pack into transaction set.
ipsec-tools-0.3.3-6.rhel4 100% |=========================| 5.9 kB 00:00
---> Package ipsec-tools.i386 0:0.3.3-6.rhel4.1 set to be updated
---> Downloading header for php-pear to pack into transaction set.
php-pear-4.3.9-3.12.i386. 100% |=========================| 33 kB 00:00
---> Package php-pear.i386 0:4.3.9-3.12 set to be updated
---> Downloading header for firefox to pack into transaction set.
firefox-1.0.8-1.4.1.cento 100% |=========================| 66 kB 00:00
---> Package firefox.i386 0:1.0.8-1.4.1.centos4 set to be updated
---> Downloading header for mozilla-nss to pack into transaction set.
mozilla-nss-1.7.13-1.4.1. 100% |=========================| 13 kB 00:00
---> Package mozilla-nss.i386 37:1.7.13-1.4.1.centos4 set to be updated
---> Downloading header for fontconfig to pack into transaction set.
fontconfig-2.2.3-7.centos 100% |=========================| 11 kB 00:00
---> Package fontconfig.i386 0:2.2.3-7.centos4 set to be updated
---> Downloading header for sendmail to pack into transaction set.
sendmail-8.13.1-3.RHEL4.3 100% |=========================| 35 kB 00:00
---> Package sendmail.i386 0:8.13.1-3.RHEL4.3 set to be updated
---> Downloading header for tzdata to pack into transaction set.
tzdata-2006a-2.EL4.noarch 100% |=========================| 173 kB 00:00
---> Package tzdata.noarch 0:2006a-2.EL4 set to be updated
---> Downloading header for mozilla-nspr to pack into transaction set.
mozilla-nspr-1.7.13-1.4.1 100% |=========================| 12 kB 00:00
---> Package mozilla-nspr.i386 37:1.7.13-1.4.1.centos4 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
Package Arch Version Repository Size
=============================================================================
Updating:
firefox i386 1.0.8-1.4.1.centos4 update 16 M
fontconfig i386 2.2.3-7.centos4 update 117 k
gnupg i386 1.2.6-3 update 1.6 M
ipsec-tools i386 0.3.3-6.rhel4.1 update 221 k
mozilla-nspr i386 37:1.7.13-1.4.1.centos4 update 108 k
mozilla-nss i386 37:1.7.13-1.4.1.centos4 update 679 k
php i386 4.3.9-3.12 update 1.3 M
php-ldap i386 4.3.9-3.12 update 33 k
php-pear i386 4.3.9-3.12 update 266 k
python i386 2.3.4-14.2 update 4.8 M
python-devel i386 2.3.4-14.2 update 1.4 M
sendmail i386 8.13.1-3.RHEL4.3 update 571 k
tzdata noarch 2006a-2.EL4 update 440 k

Transaction Summary
=============================================================================
Install 0 Package(s)
Update 13 Package(s)
Remove 0 Package(s)
Total download size: 27 M
Is this ok [y/N]: Y
Downloading Packages:
(1/13): php-4.3.9-3.12.i3 100% |=========================| 1.3 MB 00:01
(2/13): gnupg-1.2.6-3.i38 100% |=========================| 1.6 MB 00:02
(3/13): python-devel-2.3. 100% |=========================| 1.4 MB 00:01
(4/13): php-ldap-4.3.9-3. 100% |=========================| 33 kB 00:00
(5/13): python-2.3.4-14.2 100% |=========================| 4.8 MB 00:06
(6/13): ipsec-tools-0.3.3 100% |=========================| 221 kB 00:00
(7/13): php-pear-4.3.9-3. 100% |=========================| 266 kB 00:00
(8/13): firefox-1.0.8-1.4 100% |=========================| 16 MB 00:22
(9/13): mozilla-nss-1.7.1 100% |=========================| 679 kB 00:00
(10/13): fontconfig-2.2.3 100% |=========================| 117 kB 00:00
(11/13): sendmail-8.13.1- 100% |=========================| 571 kB 00:00
(12/13): tzdata-2006a-2.E 100% |=========================| 440 kB 00:00
(13/13): mozilla-nspr-1.7 100% |=========================| 108 kB 00:00
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : mozilla-nspr ####################### [ 1/26]
Updating : fontconfig ####################### [ 2/26]
Updating : python ####################### [ 3/26]
Updating : mozilla-nss ####################### [ 4/26]
Updating : python-devel ####################### [ 5/26]
Updating : firefox ####################### [ 6/26]
Updating : tzdata ####################### [ 7/26]
Updating : sendmail ####################### [ 8/26]
Updating : php-pear ####################### [ 9/26]
Updating : ipsec-tools ####################### [10/26]
Updating : php-ldap ####################### [11/26]
Updating : gnupg ####################### [12/26]
Updating : php ####################### [13/26]
Cleanup : php ####################### [14/26]
Cleanup : gnupg ####################### [15/26]
Cleanup : python-devel ####################### [16/26]
Cleanup : php-ldap ####################### [17/26]
Cleanup : python ####################### [18/26]
Cleanup : ipsec-tools ####################### [19/26]
Cleanup : php-pear ####################### [20/26]
Cleanup : firefox ####################### [21/26]
Cleanup : mozilla-nss ####################### [22/26]
Cleanup : fontconfig ####################### [23/26]
Cleanup : sendmail ####################### [24/26]
Cleanup : tzdata ####################### [25/26]
Cleanup : mozilla-nspr ####################### [26/26]

Updated: firefox.i386 0:1.0.8-1.4.1.centos4 fontconfig.i386 0:2.2.3-7.centos4 gnupg.i386 0:1.2.6-3 ipsec-tools.i386 0:0.3.3-6.rhel4.1 mozilla-nspr.i386 37:1.7.13-1.4.1.centos4 mozilla-nss.i386 37:1.7.13-1.4.1.centos4 php.i386 0:4.3.9-3.12 php-ldap.i386 0:4.3.9-3.12 php-pear.i386 0:4.3.9-3.12 python.i386 0:2.3.4-14.2 python-devel.i386 0:2.3.4-14.2 sendmail.i386 0:8.13.1-3.RHEL4.3 tzdata.noarch 0:2006a-2.EL4
Complete!


#自動アップデート設定

[root@sip tel]# /sbin/chkconfig yum on
[root@sip tel]#

CentOS4.3デフォルトで init.dにmysqlがない。 my.conf も?

CentOS4.3デフォルトで init.dにmysqlがない。
とりあえず、yumでアップデートで回避できます。

[root@sip mysql]# yum -y install mysql-server php-mysql
Setting up Install Process
Setting up repositories
update 100% |=========================| 951 B 00:00
base 100% |=========================| 1.1 kB 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for mysql-server to pack into transaction set.
mysql-server-4.1.12-3.RHE 100% |=========================| 28 kB 00:00
---> Package mysql-server.i386 0:4.1.12-3.RHEL4.1 set to be updated
---> Downloading header for php-mysql to pack into transaction set.
php-mysql-4.3.9-3.12.i386 100% |=========================| 18 kB 00:00
---> Package php-mysql.i386 0:4.3.9-3.12 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
mysql-server i386 4.1.12-3.RHEL4.1 base 6.7 M
php-mysql i386 4.3.9-3.12 update 34 k

Transaction Summary
=============================================================================
Install 2 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 6.7 M
Downloading Packages:
(1/2): mysql-server-4.1.1 100% |=========================| 6.7 MB 00:09
(2/2): php-mysql-4.3.9-3. 100% |=========================| 34 kB 00:00
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: php-mysql ######################### [1/2]
Installing: mysql-server ######################### [2/2]

Installed: mysql-server.i386 0:4.1.12-3.RHEL4.1 php-mysql.i386 0:4.3.9-3.12
Complete!
[root@sip mysql]#

[root@sip mysql]# mysql -u root
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)


#このメッセージは、mysqlが起動していないとのこと。

[root@sip mysql]# /etc/rc.d/init.d/m
mdmonitor mdmpd messagebus microcode_ctl mysqld
[root@sip mysql]# /etc/rc.d/init.d/mysqld start
MySQL データベースを初期化中: [ OK ]
MySQL を起動中: [ OK ]
[root@sip mysql]#


。もちろん、my.confも?

Centosデフォルトのrpmだけがあるときと違って、yum updateしたのでinit.dにmysqlがある!!


[root@sip]# /usr/sbin/ser_mysql.sh create
MySql password for root:
Domain (realm) for the default user 'admin':

/usr/sbin/ser_mysql.sh: line 1: gen_ha1: command not found
HA1 calculation failed

これが出た場合はパスがおかしいので
echo $PATHなどでチェックすること。


CentOSで文字化け

CentOS4は文字コードがUTF-8なので、EUC-JPだと文字化け。

CentOS4の文字コードをUTF-8からEUC-JPへの変更
http://www.geocities.jp/hoge_tomo/20050312.html

しかし、tratermにてUTF-8があるため
http://sourceforge.jp/projects/ttssh2/
ここからゲット&インストールで対応。


新規インストール CentOS 4.3

CentOS 4.3 を laptop にインストール。

NIC2枚ざしで、ネットワークがつながらなかったが

eth0とeth1の認識違い。
#/etc/sysconfig/network
Gatewaydev=eth1 ←追加

でeth1起動でOK。

redhat 8.0だったためCentOSにしました。

yum で、Linux update

yum install

サポートが終了したRed Hat Linux(7、8、9)アップデート
http://www.atmarkit.co.jp/flinux/rensai/linuxtips/599endrhlup.html

Red Hat Linux 8.0
http://www.fedoralegacy.org/docs/yum-rh8.php
参考に

rpm -Uvh http://download.fedoralegacy.org/redhat/8.0/legacy-utils/i386/rpm-4.1.1-1.8x.i386.rpm \
http://download.fedoralegacy.org/redhat/8.0/legacy-utils/i386/rpm-build-4.1.1-1.8x.i386.rpm \
http://download.fedoralegacy.org/redhat/8.0/legacy-utils/i386/rpm-devel-4.1.1-1.8x.i386.rpm \
http://download.fedoralegacy.org/redhat/8.0/legacy-utils/i386/rpm-python-4.1.1-1.8x.i386.rpm \
http://download.fedoralegacy.org/redhat/8.0/legacy-utils/i386/popt-1.7.1-1.8x.i386.rpm \
http://download.fedoralegacy.org/redhat/8.0/updates/i386/gnupg-1.0.7-14.i386.rpm


では途中でフリーズするので。

# wget
で全ファイル取得し、
# rpm -Uvh *.rpm

----------------------
[root@sip yum_file]# ls
gnupg-1.0.7-14.i386.rpm rpm-build-4.1.1-1.8x.i386.rpm
popt-1.7.1-1.8x.i386.rpm rpm-devel-4.1.1-1.8x.i386.rpm
rpm-4.1.1-1.8x.i386.rpm rpm-python-4.1.1-1.8x.i386.rpm
[root@sip yum_file]# rpm -Uvh rpm-4.1.1-1.8x.i386.rpm
警告: rpm-4.1.1-1.8x.i386.rpm: V3 DSA signature: NOKEY, key ID 731002fa
エラー: Failed dependencies:
popt = 1.7.1 is needed by rpm-4.1.1-1.8x
rpm = 4.1 is needed by (installed) rpm-python-4.1-1.06
rpm = 4.1 is needed by (installed) rpm-devel-4.1-1.06
rpm = 4.1 is needed by (installed) rpm-build-4.1-1.06
[root@sip yum_file]# rpm -Uvh rpm-*.rpm
警告: rpm-4.1.1-1.8x.i386.rpm: V3 DSA signature: NOKEY, key ID 731002fa
エラー: Failed dependencies:
popt = 1.7.1 is needed by rpm-4.1.1-1.8x
[root@sip yum_file]# rpm -Uvh pop*.rpm
警告: popt-1.7.1-1.8x.i386.rpm: V3 DSA signature: NOKEY, key ID 731002fa
エラー: Failed dependencies:
popt = 1.7 is needed by (installed) rpm-4.1-1.06
[root@sip yum_file]# rpm -Uvh *.rpm
警告: gnupg-1.0.7-14.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
警告: popt-1.7.1-1.8x.i386.rpm: V3 DSA signature: NOKEY, key ID 731002fa
Preparing... ########################################### [100%]
1:popt ########################################### [ 17%]
2:rpm ########################################### [ 33%]
3:gnupg ########################################### [ 50%]
4:rpm-build ########################################### [ 67%]
5:rpm-devel ########################################### [ 83%]
6:rpm-python ########################################### [100%]
[root@sip yum_file]#
----------------------
# wget http://ftp.freshrpms.net/pub/freshrpms/redhat/8.0/yum/yum-2.0.3-5.rh.fr.i386.rpm
[root@sip yum_file]# rpm -ivh yum-2.0.3-5.rh.fr.i386.rpm
警告: yum-2.0.3-5.rh.fr.i386.rpm: V3 DSA signature: NOKEY, key ID e42d547b
Preparing... ########################################### [100%]
1:yum ########################################### [100%]
[root@sip yum_file]#vi /etc/yum.conf
----------------------
[os]
name=Red Hat Linux $releasever - $basearch - os
#コメントアウト
#baseurl=http://ayo.freshrpms.net/redhat/$releasever/$basearch/os
#追加
baseurl=http://riksun.riken.go.jp/pub/Linux/fedoralegacy/redhat/$releasever/os/
basearch/

[updates]
name=Red Hat Linux $releasever - $basearch - updates
#コメントアウト
#baseurl=http://ayo.freshrpms.net/redhat/$releasever/$basearch/updates
#追加
baseurl=http://riksun.riken.go.jp/pub/Linux/fedoralegacy/redhat/$releasever/os/$basearch/
----------------------
# rpm --import http://www.fedoralegacy.org/FEDORA-LEGACY-GPG-KEY

[root@sip yum_file]# yum update

これでOK

コピー&ペーストが出来ない

アカウント作って、コピペが出来ないって不親切!
ちょっとイラッとしながら検索。

FireFoxだとうまくいかないらしいが、素直にIEにするのも不愉快なので。


C:\Documents and Settings\[ユーザ名]\Application Data\Mozilla\Firefox\Profiles\[ランダム].default
のフォルダに「user.js」ファイル作成で、
中身は

user_pref("capability.policy.policynames", "allowclipboard");
user_pref("capability.policy.allowclipboard.sites", "http://blog.ameba.jp");
user_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "allAccess");
user_pref("capability.policy.allowclipboard.Clipboard.paste", "allAccess");

で、URLは自分のURLに変更しておくと、コピペが出来ました。