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
|
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.