2008年6月24日火曜日

とりあえず、まだCentOS5.1のままにしたい

1週間ぶりに、yum updateをしたら何か遅いなぁと思ったら、5.2が出たもよう。そういえば、週明けぐらいっていってたっけ。

でももう少し5.1にしたいなぁと思い、どうすればいいんだっけということで、調査

CentOS-Base.repoの$releaseverが関係してたような気が…

[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

man yum.confしてみました。

VARIABLES
       There  are  a number of variables you can use to ease maintenance of yum’s
       configuration files. They are available in the values of  several  options
       including name, baseurl and commands.

       $releasever
              This  will be replaced with the value of the version of the package
              listed in distroverpkg. This defaults to the  version  of  ‘redhat-
              release’ package.

redhat-releaseパッケージのバージョンて?→【参照】CentOS 5.0 のままアップデートを続ける場合 - daily dayflowerということのようです。追試してみました。

# rpm -q --whatprovides redhat-release
centos-release-5-1.0.el5.centos.1
# rpm -q --whatprovides redhat-release --qf "%{VERSION}\n"
5

同じでした。引き続き上のページを参考にyum.confを変更。無事に戻りました。感謝。

[base]
name=CentOS-5.1 - Base
mirrorlist=http://mirrorlist.centos.org/?release=5.1&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

5.2へは、夏休みのころ?

2008年6月15日日曜日

PowerEdge T105にメモリ追加

メモリを追加

  • SanMax SMD-2G48EHP-8E-D
  • 1GBx2, DDR2-800, ECC, Unbuffered

これで、都合3GBになりました。いまのところUbuntu8.04から認識されて、元気に動作しています

実は、メモリ追加は1回失敗していて、そのときのメモリは今回と同じSanMaxでSMD-2G48HP-8E-Dというもの。これはUnbufferedなんだけど、non-ECCのタイプでした。全然認識しなくて、BIOS途中で再起動してしまう感じ。今はhpのML115で活躍してます。こちらは、non-ECCでも大丈夫でした。

2008年6月1日日曜日

Ubuntu 8.04にVMware Server

環境とか

  • Ubuntu 8.04 amd64 Desktop
  • Ubuntuは通常のインストール

足りなかったのでインストールしたもの

$ sudo apt-get install build-essential
$ sudo apt-get install xinetd
$ sudo apt-get install ia32-libs

インストール中に出たエラー

Unable to get the last modification timestamp of the destination file 
/etc/vmware/ssl/rui.key.

Execution aborted.

その対応

$ sudo touch /etc/vmware/ssl/rui.key
$ sudo touch /etc/vmware/ssl/rui.crt

Vmware Server Consoleが起動できなかったので

$ cd /usr/lib/vmware/lib
$ sudo mv libgcc_s.so.1 libgcc_s.so.1-bak
$ ln -s /lib/libgcc_s.so.1 libgcc_s.so.1