LoginSignup
4
2

More than 5 years have passed since last update.

最小構成CentOS5.11にX-windowとXfceを入れる

Last updated at Posted at 2015-10-09

PHPの開発で、xdebugを使いたくなった。色々検討した結果、最小構成CentOSにNetbeans+xdebugを入れることにした。GNOMEなど立地なX-Windowは比較的重たいのでそれ以外を入れる。

groupinstallを実行し、X-Windowに必要なパッケージを一括インストール
$sudo yum groupinstall "X Window System"

続いてXfceインストールするが、32bit環境の場合、下記の依存性エラーが発生する。こちらを参考にさせていただいた。

file /usr/share/applications/xfce-settings-manager.desktop conflicts between attempted install s of xfce4-settings-4.6.5-3.el5.i386 and xfce-mcs-manager-4.4.2-1.el5.centos.i386

依存性エラーを解消する
$wget ftp://fr2.rpmfind.net/linux/epel/5/i386/xfce4-settings-4.6.5-3.el5.i386.rpm
$sudo yum install xfce4-settings-4.6.5-3.el5.i386.rpm
$sudo rpm -ivh --force --nodeps http://mirror.centos.org/centos/5/extras/i386/RPMS/xfce-mcs-manager-4.4.2-1.el5.centos.i386.rpm
XFceをインストールする
$sudo yum groupinstall "XFCE4"
X-Windowを起動してみる
$startx

netbeansとxdebug編に続く……

4
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
2