yum で tracをインストール
サーバを管理していく上に問題となるのがパッケージの依存関係。
このパッケージの管理は各ディストリビューションで色々あるが、
せっかくCentOSを使っているならrpm(yum)で一元管理をしたい。
http://trac.edgewall.org/wiki/TracOnFedoraCoreThree
上記にやり方書いてあるんだけど、これはFedora用なので、
centosではこんな感じで。
$ sudo vi /etc/yum.repos.d/CentOS-Base.repo
下記を追加
[dag] name=Dag RPM Repository for Redhat EL4 baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag gpgcheck=1 enabled=1 gpgkey=http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt
インストールはこれだけ。
$ sudo yum install trac Setting up Install Process Setting up repositories Reading repository metadata in from local files Excluding Packages in global exclude list Finished Parsing package install arguments Resolving Dependencies
-
- > Populating transaction set with selected packages. Please wait.
- > Downloading header for trac to pack into transaction set.
- > Populating transaction set with selected packages. Please wait.
-
-
- > Package trac.noarch 0:0.10-1.el4.rf set to be updated
- > Running transaction check
- > Processing Dependency: python-clearsilver >= 0.9.3 for package: trac
- > Restarting Dependency Resolution with new changes.
- > Populating transaction set with selected packages. Please wait.
- > Downloading header for python-clearsilver to pack into transaction set.
-
-
-
- > Package python-clearsilver.i386 0:0.10.1-1.2.el4.rf set to be updated
- > Running transaction check
- > Processing Dependency: clearsilver = 0.10.1 for package: python-clearsilver
- > Restarting Dependency Resolution with new changes.
- > Populating transaction set with selected packages. Please wait.
- > Downloading header for clearsilver to pack into transaction set.
-
-
-
- > Package clearsilver.i386 0:0.10.1-1.2.el4.rf set to be updated
- > Running transaction check
-