CentOS

CentOS 5.6 に PostgreSQL 9.0 をインストールする。

普通に yum でインストールすると 8.4 系がインストールされるので以下の手順で。「PostgreSQL RPM Building Project - Yum Repository」 からリポジトリをインストールするパッケージを取得。以下から対象のパッケージを取得 http://yum.pgrpms.org/reporpm…

yum のリポジトリいろいろ

CentOS5 向けの yum リポジトリ色々[remi] $ wget http://rpms.famillecollet.com/el5.i386/remi-release-5-7.el5.remi.noarch.rpm $ sudo rpm -Uvh remi-release-5-7.el5.remi.noarch.rpm [epel] $ wget http://download.fedoraproject.org/pub/epel/5/i386…

Nagios のインストール

とりあえず Nagios のインストール $ sudo yum install -y nagios nagios-pluigins-all HTTPS で監視がしたかったので以下のファイルに HTTPS のコマンドを追加 $ sudo vim /etc/nagios/objects/commands.cfg # 'check_https' command definition define com…

munin のインストール

net-snmp のインストール $ sudo yum install -y net-snmp net-snmp-devel munin のインストール $ sudo yum install -y munin munin-node あとは /etc/munin/munin.conf と /etc/munin/munin.conf で指定したディレクトリ群の owner を munin ユーザにして…

RRDTool のインストール

いやぁ〜、便利な世の中になりました。 $ sudo yum info rrdtool Name : rrdtool Arch : x86_64 Version : 1.4.4 Release : 1.el5.rf Size : 2.1 M Repo : installed Summary : Round Robin Database Tool to store and display time-series data URL : http…

CentOS 5.5 にSubversion 1.6 をインストールする

[dagextras] name=Dag Extras RPM Repository for Fedora Core baseurl=http://ftp.riken.jp/Linux/dag/redhat/el$releasever/en/$basearch/extras enabled=0 gpgcheck=1

thinのインストール

thinをインストールしようとしたら怒られた。 Building native extensions. This could take a while... ERROR: Error installing thin: ERROR: Failed to build gem native extension./usr/bin/ruby extconf.rb checking for rb_trap_immediate... yes chec…

VirtualBox on OSX

ちょっとCentOSの環境を作りたくてOSXにVirtualBoxを入れて、ゲストOSをCentOS5にしてみたんだけど、ホストからゲストに接続する方法がない。無駄だった。Windows版にはホストインタフェースを追加する機能があるようで、ブリッジネットワークをホスト側に作…

RailsをCentOS5のApache+mod_fcgidで動かす。

色々はまった。まず、Rubyのバージョンが1.8.5なので、1.8.6に更新。 ruby-sqlite3が1.2.2だとエラーになるので、1.2.1にダウングレード。mod_fcgidも多分設定がわるく動かない。う〜んめんどくさい。redmineを動かしたいだけなのに。

テストリポジトリ

http://dev.centos.org/centos/