Skip to content

Instantly share code, notes, and snippets.

@bran921007
Forked from jhonnrodr/ Instalar VNC en el VPS
Last active August 29, 2015 14:10
Show Gist options
  • Save bran921007/f1d121fbbccf81ae12ec to your computer and use it in GitHub Desktop.
Save bran921007/f1d121fbbccf81ae12ec to your computer and use it in GitHub Desktop.
yum install nano -y; yum update -y; yum upgrade -y; yum install tigervnc-server -y; yum groupinstall "Desktop" -y; yum install firefox -y; rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-x86_64-1.0-1.noarch.rpm; rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux; yum install flash-plugin nspluginwrapper alsa-plugins-pulseaudio libcurl -y; echo 'echo "nameserver 8.8.8.8" >> /etc/resolv.conf; ' >> /etc/rc.local; echo 'VNCSERVERS="1:root"' >> /etc/sysconfig/vncservers; echo 'VNCSERVERARGS[1]="-geometry 1000x700"' >> /etc/sysconfig/vncservers; vncpasswd; chkconfig vncserver on --level 345; reboot;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment