Install VNC on OpenVZ VPS (Ubuntu, Debian, CentOS)

Install VNC on OpenVZ VPS (Ubuntu, Debian, CentOS)

Root user, ssh, port: 1.

CentOS 6 – x86_64

 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;

Debian 7 – x86 and x86_64

 apt-get update -y;apt-get upgrade -y;apt-get install nano -y;apt-get install gnome-core flashplugin-nonfree -y;apt-get install vnc4server -y; vncserver; vncserver -kill :1; cd ~; wget https://zhujiwiki.com/wp-content/uploads/2016/11/2674583793.txt -O .vnc/xstartup; mkdir -p /etc/vncserver; echo 'VNCSERVERS="1:root"' >> /etc/vncserver/vncservers.conf; echo 'VNCSERVERARGS[1]="-geometry 1000x700"' >> /etc/vncserver/vncservers.conf; cd /etc/init.d/; wget https://zhujiwiki.com/wp-content/uploads/2016/11/3672035795.txt -O vncserver; chmod 755 vncserver; update-rc.d vncserver defaults 99; reboot;

Ubuntu 12.04 – x86 and x86_64

 apt-get update -y;apt-get upgrade -y;apt-get install nano -y;apt-get install gnome-core firefox flashplugin-installer -y;apt-get install vnc4server -y; vncserver; vncserver -kill :1; cd ~; wget https://zhujiwiki.com/wp-content/uploads/2016/11/1886524663.txt -O .vnc/xstartup; mkdir -p /etc/vncserver; echo 'VNCSERVERS="1:root"' >> /etc/vncserver/vncservers.conf; echo 'VNCSERVERARGS[1]="-geometry 1000x700"' >> /etc/vncserver/vncservers.conf; cd /etc/init.d/; wget https://zhujiwiki.com/wp-content/uploads/2016/11/3672035795.txt -O vncserver; chmod 755 vncserver; update-rc.d vncserver defaults 99; reboot;

vi: how-to-install-vnc-server-in-openvz-vps-container-ubuntu-debian-or-centos

<<:  SEFLOW: €1.5/month/1GB memory/20GB space/5TB traffic/France/Canada

>>:  Easy.gr 50% discount on .gr domains: 12€ for 2 years

Recommend

123Systems: $5/year/128MB/5GB space/350GB traffic/OpenVZ

123Systems is already famous for its low prices, ...

$1/month/200G space/unlimited traffic virtual host—— HostSo

HostSo is an American hosting company founded in ...

Free top-level domains: org.wf, etc.

Provided by wallisnic.org.wf, limited to EU28, US...

Extmedia: $45/month/Celeron2/4GB RAM/500GB HDD/30GB bandwidth/Belarus

Extmedia, a long-established hosting provider in ...

【Double 11】Fxtransit: Double 11 Special Offer

1. Place your order now to enjoy Double 11 discou...

$29/month/1G/160G space/4T traffic/5IP dedicated server——1paket.com

1paket.com is a German hosting company that has b...