Selasa, 28 Agustus 2012

INSTAL GNOME PLUS FREE NX

# yum -y update
# reboot
#  cd /etc/yum.repos.d
# cp base.repo base.repo.clearos
buka pakai winscp
/etc/yum.repos.d/base.repo
delete isinya
isikan dengan
[base]
name=CentOS-5.8 - Base
baseurl=http://kambing.ui.ac.id/centos/5.8/os/i386/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#released updates
[updates]
name=CentOS-5.8 - Updates
baseurl=http://kambing.ui.ac.id/centos/5.8/updates/i386/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#packages used/produced in the build but not released
[addons]
name=CentOS-5.8 - Addons
baseurl=http://kambing.ui.ac.id/centos/5.8/addons/i386/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#additional packages that may be useful
[extras]
name=CentOS-5.8 - Extras
baseurl=http://kambing.ui.ac.id/centos/5.8/extras/i386/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-5.8 - Plus
baseurl=http://kambing.ui.ac.id/centos/5.8/centosplus/i386/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#contrib - packages by Centos Users
[contrib]
name=CentOS-5.8 - Contrib
baseurl=http://kambing.ui.ac.id/centos/5.8/contrib/i386/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

lalu save
lanjut ke terminal
# yum -y install gedit

# rpm -ivh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm

# rpm -ivh http://download1.rpmfusion.org/free/el/updates/testing/5/i386/rpmfusion-free-release-5-0.1.noarch.rpm

# rpm -ivh http://download1.rpmfusion.org/nonfree/el/updates/testing/5/i386/rpmfusion-nonfree-release-5-0.1.noarch.rpm

# rpm -ivh http://vault.centos.org/5.4/os/i386/CentOS/yum-fastestmirror-1.1.16-13.el5.centos.noarch.rpm

# rpm -Uvh http://vault.centos.org/5.4/os/i386/CentOS/yum-3.2.22-20.el5.centos.noarch.rpm

# rpm -ivh http://vault.centos.org/5.4/os/i386/CentOS/yum-utils-1.1.16-13.el5.centos.noarch.rpm

# rpm -ivh http://vault.centos.org/5.4/os/i386/CentOS/switchdesk-4.0.8-6.noarch.rpm

# rpm -ivh http://vault.centos.org/5.4/os/i386/CentOS/gtk2-engines-2.8.0-3.el5.i386.rpm

# rpm --force -ivh http://vault.centos.org/5.4/os/i386/CentOS/redhat-logos-4.9.99-11.el5.centos.noarch.rpm

# rpm --nodeps -ivh http://vault.centos.org/5.4/os/i386/CentOS/redhat-artwork-5.1.0-28.el5.centos.i386.rpm

# rpm -e app-graphical-console

# rpm -e xconsole

# rpm -Uvh http://vault.centos.org/5.6/os/i386/CentOS/xulrunner-1.9.2.13-3.el5.i386.rpm

# rpm -ivh http://vault.centos.org/5.5/os/i386/CentOS/pygtk2-libglade-2.10.1-12.el5.i386.rpm

# rpm -Uvh http://vault.centos.org/5.5/extras/i386/RPMS/yumex-2.0.3-2.el5.centos.noarch.rpm

# yum -y upgrade yum-fastestmirror yumex yum-protect-packages yum-metadata-parser yum-kmod dkms

# yum -y groupinstall "GNOME Desktop Environment"

# yum -y install gdm

# yum -y install system-config-date system-config-display system-config-network

# yum -y install nx freenx firefox thunderbird rdesktop tsclient wireshark wireshark-gnome gftp

# yum -y groupinstall "X Window System"

# yum -y install logwatch arpwatch

# rpm -e rpmfusion-nonfree-release

# rpm -e rpmfusion-free-release

# rpm -e epel-release

# yum clean all

# mkdir -p /root/disabled.repos

# mv /etc/yum.repos.d/base.repo /root/disabled.repos

selanjutnya edit agar webconsole tidak jalan di server cukup jalan di client di server pakai gnome saja dan firefox di gnome
#vi /etc/inittab

aslinya
# Run gettys in standard runlevels
1:2345:respawn:/sbin/mingetty --autologin=clearconsole tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6


ubah menjadi tambah # di 1 dan tambah tty1 lagi di bawahnya
# Run gettys in standard runlevels
#1:2345:respawn:/sbin/mingetty --autologin=clearconsole tty1
1:2345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6


lalu
# reboot

sekarang login
user root
password isikan password root anda

# startx

gnome jalan

biar bisa di remote gnomenya dari client dengan free nx

dengan putty dari client

# nxsetup --install --setup-nomachine-key

# vi /etc/nxserver/node.conf

hilangkan pagar # di SSHD
# The port number where local 'sshd' is listening.
SSHD_PORT=22


jangan lupa ubah repo
cp base.repo.clearos base.repo

tool untuk remote gnome nya download aja NX client
http://www.nomachine.com/download.php
login NX cliet user root password ya password rootclearos

Penampakan
This image has been resized. Click this bar to view the full image. The original image is sized 1024x653.


saat boot tampilan di server tetap cli, kalau mau aktifkan gnome tinggal ketik startx tapi anda harus login di terminal dulu sebagai root, walau tampilan cli dari client liat dan konfugirasi dengan tampilan gnome cukup pakai nx client

mau gunakan webconfig dari server
login sebagai root isikan password root pada saat masuk terminal ketik startx
tampilan berubah jadi gnome
buka aplikasi firefox
isikan https:localhost:81

by Wisnusanjaya - Forum clearos-indonesia.com

agar aman setelah gunakan gnome dari server logout, dan di terminal ketik exit

Tidak ada komentar:

Posting Komentar