CentOS5.x | Free Style



2008年03月30日

リモートからX Windowsを使用する方法

Yahoo!ブックマークに登録 はてなブックマークに追加 del.icio.usに追加 livedoorクリップへ追加 Buzzurlに追加 POOKMARK Airlinesへ追加 newsingへ投稿 Saafブックマークに追加

タイトルが正しい言い回しかどうかはいささか疑問だけどまぁニュアンスはわかるかと。

ということで備忘録。

CentOS4.6、RedhatES4共に同様の設定で利用可能。
CentOS5、RedhatES5もたぶん似たような感じでいけるでしょう、たぶん。

サーバ側にX-Windowsが導入されていることが前提です。
参考:GUIの追加インストールについて

●サーバー側準備
※ポート制限している場合には177をあけておく

1.「/etc/X11/gdm/gdm.conf」を編集
----------------------
[xdmcp]
Enable=true
----------------------
上記に変更。

・コンソールでGUIを起動させない場合下記設定にする
----------------------------
[servers]
#0=Standard
----------------------------

・ランレベル5でブート
/sbin/init 5
※サーバ側でXを立ち上げたくない場合は必要なし3でOK。

・GDM再起動
kill -HUP `cat /var/run/gdm.pid`

●クライアント(Windows側準備)
・ダウンロード
http://sourceforge.net/project/showfiles.php?group_id=156984
からXming,Xming-fontsをダウンロードする

・設定方法
http://dgegw3.nifs.ac.jp/gecev/xming/Xming.htm
の「◆XDMCPを使用してサーバに接続する」を参照(手抜きw)

CentOS4にGUI環境の追加インストール

Yahoo!ブックマークに登録 はてなブックマークに追加 del.icio.usに追加 livedoorクリップへ追加 Buzzurlに追加 POOKMARK Airlinesへ追加 newsingへ投稿 Saafブックマークに追加

Cent5は試していないけど同様でできるでしょう。(きっと)
RedhatESはup2dateで同じことできるのかなぁ?未検証。

要約するとyumにはgroupinstallというオプションがあって、グループってのは
インストール時に表示されるパッケージ群なわけです。

とりあえずミニマムインストールしたけど、後でGUIとか欲しくなったときに、
アッーとならないためのおまじない。

1.おもむろにグループ一覧表示
# yum grouplist
Repository update is listed more than once in the configuration
Repository base is listed more than once in the configuration
Repository contrib is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository addons is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Setting up Group 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
yumgroups.xml 100% |=========================| 558 kB 01:20
yumgroups.xml 100% |=========================| 4.6 kB 00:00
Installed Groups:
Compatibility Arch Support
Graphics
Available Groups:
Administration Tools
AptRPM
Authoring and Publishing
Compatibility Arch Development Support
DNS Name Server
Development Tools
Editors
Engineering and Scientific
FTP Server
GNOME Desktop Environment
GNOME Software Development
Games and Entertainment
Graphical Internet
Horde-Apps
KDE (K Desktop Environment)
KDE Software Development
Legacy Network Server
Legacy Software Development
Mail Server
MySQL Database
Network Servers
News Server
Office/Productivity
PostgreSQL Database
Printing Support
Server Configuration Tools
Sound and Video
System Tools
Text-based Internet
Web Server
Windows File Server
X Software Development
X Window System
XFCE-4.2
drbd-heartbeat
Done
-------------------------------------
GUIに必要なのは、下記2つのパッケージになります。
X Window System
GNOME Desktop Environment
※KDE派の人はGNOMEの代わりに「KDE (K Desktop Environment)」で。 2.おもむろにグループインストール
yum groupinstall "X Window System" "GNOME Desktop Environment"

2007年11月09日

CentOS5インストール

Yahoo!ブックマークに登録 はてなブックマークに追加 del.icio.usに追加 livedoorクリップへ追加 Buzzurlに追加 POOKMARK Airlinesへ追加 newsingへ投稿 Saafブックマークに追加

CentOS5は結構変わってるのでインストールというか初期設定ではまりがち…
パッケージ群の変更。SELinux、iptablesは強制ON。
okok押しまくってたらipv6が有効になってたりしてさあ大変。
まぁそれは初期設定でOFFにすればOKってことでとりあえずぶっこみます。

CentOS5インストールの続きを読む

2007年11月08日

VMWare6でCentOS5用イメージ作成

Yahoo!ブックマークに登録 はてなブックマークに追加 del.icio.usに追加 livedoorクリップへ追加 Buzzurlに追加 POOKMARK Airlinesへ追加 newsingへ投稿 Saafブックマークに追加

さくっと第弐弾。
今回はCentOS5用にイメージ作成。

といってもほとんどCentOS4.5と変わらないので割と手抜きだったり。

VMWare6でCentOS5用イメージ作成の続きを読む






MSN:chrome_fs@hotmail.co.jp
※メッセ専用

800*600 ATOM1.0
RSS1.0 RSS2.0
人気ブログランキング - Free Style