OpenVZ VPS Host One-click Install VNC desktop Environment (Ubuntu, Debian, CentOS)

Source: Internet
Author: User
Tags chmod gpg mkdir centos vps
A lot of friends in reading the article can also be installed to use, but there are some users mentioned more complex, after all, for the first contact with Linux users, the input command is a key difficult. So Chiang tidied up to the OpenVZ VPS host based on Ubuntu, Debian, CentOS this 3 release version to install VNC Remote Desktop Tutorial.




First, install VNC one key package




A, Ubuntu (12.04 32 or 64 bits)
The code is as follows
Apt-get update-y;apt-get upgrade-y;apt-get Install nano-y;apt-get install Gnome-core Firefox flashplugin-installer-y;a Pt-get install vnc4server-y; Vncserver; Vncserver-kill:1; CD ~; wget Http://soft.itbulu.com/vnc/vnc-ubuntu-12.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 Http://soft.itbulu.com/vnc/vnc-init-ubuntu-12.txt-O Vncserver; chmod 755 Vncserver; UPDATE-RC.D vncserver defaults 99; Reboot




B, Debian (7 32 or 64 digits)
The code is as follows
Apt-get update-y;apt-get upgrade-y;apt-get Install nano-y;apt-get install gnome-core flashplugin-nonfree-y;apt-get ins Tall vnc4server-y; Vncserver; Vncserver-kill:1; CD ~; wget Http://soft.itbulu.com/vnc/vnc-debian-7.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 Http://soft.itbulu.com/vnc/vnc-init-ubuntu-12.txt-O Vncserver; chmod 755 Vncserver; UPDATE-RC.D vncserver defaults 99; Reboot




C, CentOS (6 64-bit)
  code is as follows
yum install; nano-y yum; update-y yum; upgrade-y Yum Install nc-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




The above 3 methods are for Ubuntu, Debian, CentOS releases. Chiang has tested the available, we just need to install the VPS into one of the above distributions and then execute. We need to enter the VNC password two times before completing the installation, and then we will automatically reboot the server.




Second, login VNC Remote Desktop
The code is as follows
Download Address: Http://soft.itbulu.com/tools/vnc.zip




Here through the VNC tool login, enter our ip:1, the password is our set password.




Third, VNC remote interface operation







We can see the interface after login, the old Chiang is based on CENTOS6 installation. Firefox is installed here together with the browser, for us to operate the project is basically based on browser execution, is not very convenient installation?




To summarize, this one-click approach to installing VNC desktops is much simpler than installing the previous steps? What we need to be aware of is based on the corresponding version, because the corresponding version is successfully tested. If we have friends or will not be installed, then we can find old Chiang to help install.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.