set -x ARCH=`uname -m` BASEURL="http://ukr.pw/vnc" ntpdate -b pool.ntp.org yum -y install tigervnc-server tigervnc yum -y install $BASEURL/fribidi-0.19.2-2.el6.$ARCH.rpm $BASEURL/jwm-2.1.0-1.el6.$ARCH.rpm yum -y install $BASEURL/msttcorefonts-2.5-1.noarch.rpm wget -O - $BASEURL/sjwmrc.txt > /etc/system.jwmrc yum -y install xorg-x11-server-utils xorg-x11-apps pushd cd /usr/share/fonts wget -O - $BASEURL/cyrillic.tar | tar -x -f - popd TA=`echo $ARCH | sed -e 's/i6/i3/'` yum -y install firefox dbus-uuidgen > /var/lib/dbus/machine-id wget -O /etc/yum.repos.d/chromium-el6.repo http://people.centos.org/hughesjr/chromium/6/chromium-el6.repo yum -y install chromium yum install -y http://download.fedoraproject.org/pub/epel/6/$TA/epel-release-6-8.noarch.rpm yum -y install leafpad putty yum -y install http://linuxdownload.adobe.com/adobe-release/adobe-release-${TA}-1.0-1.noarch.rpm rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux yum -y install flash-plugin pushd cd /usr/share/pixmaps for i in xterm pterm firefox chromium desktop; do if [ ! -f ./$i.png ]; then wget $BASEURL/$i.png fi done wget -O - $BASEURL/leafpad.png > leafpad.png popd