Share Coding

Tutorials, Problems, Stuffs …

Install xfce4 & TigerVNC-Server & Firefox & Flash on Centos 6.2

1. Install EPEL & RPMI & YUM-Priorities

rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
yum install yum-priorities

 
2. Update OS

yum update

 
3. Edit EPEL repo: Add “priority=10” under “enabled=1

vi /etc/yum.repos.d/epel.repo

[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
failovermethod=priority
enabled=1
priority=10

 
4. Edit RPMI repo: Add “priority=10” under “enabled=0” and change “enabled=0” to “enabled=1

vi /etc/yum.repos.d/remi.repo

[remi]
name=Les RPM de remi pour Enterprise Linux $releasever - $basearch
#baseurl=http://rpms.famillecollet.com/enterprise/$releasever/remi/$basearch/
mirrorlist=http://rpms.famillecollet.com/enterprise/$releasever/remi/mirror
enabled=1
priority=10

 

xfce4:

yum groupinstall xfce

TigerVNC-Server

yum install tigervnc-server
yum install fontforge
vi /etc/sysconfig/vncservers
---------------------------
VNCSERVERS="1:root"
VNCSERVERARGS[1]="-geometry 1024x768"
vncpasswd
vncserver
vi /root/.vnc/xstartup
---------------------------
#!/bin/sh
/usr/bin/startxfce4
chmod +x ~/.vnc/xstartup
chkconfig vncserver on

Firefox

yum install firefox

Flash Player

rpm -ivh http://linuxdownload.adobe.com/linux/i386/adobe-release-i386-1.0-1.noarch.rpm
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux
yum check-update
yum install flash-plugin
Advertisements

2 responses to “Install xfce4 & TigerVNC-Server & Firefox & Flash on Centos 6.2

  1. Xodz 2014/02/12 at 5:10 am

    This is probably the best guide ever if you want your Centos 6 to have Tiger-VNC with the lightweight XFCE4

  2. Pingback: Configuration automatique d'un serveur VNC pour CentOS/RHEL avec XFCE - Zwindler's Reflection

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: