Install VNC service on openvz virtual VPS

888u

Last update at :2024-05-03,Edit by888u

Here is an introduction to installing the vnc service on an openvz virtual VPS to make it easier for some people. Briefly describe the steps: log in to SS with root and enter the command. During the automatic compilation process of the program, you will be asked to enter the VNC password. After the automatic completion, the VPS will automatically restart, and then you can use your own VNC client to use your own IP (port is 1, Similar to: 192.168.20.20:1) Login, roughly like this! Note: This script was not written by me, it is just reprinted. The copyright belongs to ginernet.com!

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:// /wp-content/uploads/2014/12/vnc-init-ubuntu-12.txt -O .vnc/xstartup; mkdir -p /etc/vncserver; echo 'VNCSERVERS=” 1:root”' >> /etc/vncserver/vncservers.conf; echo ‘VNCSERVERARGS[1]=”-geometry 1000×700″’ >> /etc/vncserver/vncservers.conf; cd /etc/init.d/ ; wget https:// /wp-content/uploads/2014/12/vnc-init-ubuntu-12.txt -O vncserver; chmod 755 vncserver; update-rc.d vncserver defaults 99; 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:// /wp-content/uploads/2014/12/vnc-init-ubuntu-12.txt -O .vnc/xstartup; mkdir -p /etc/vncserver; echo 'VNCSERVERS=”1 :root”’ >> /etc/vncserver/vncservers.conf; echo ‘VNCSERVERARGS[1]=”-geometry 1000×700″’ >> /etc/vncserver/vncservers.conf; cd /etc/init.d/; wget https:// /wp-content/uploads/2014/12/vnc-init-ubuntu-12.txt -O vncserver; chmod 755 vncserver; update-rc.d vncserver defaults 99; reboot;

CentOS 6 – x86_64 (not valid for 32 bit) 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 1000×700″’ >> /etc/sysconfig/vncservers; vncpasswd; chkconfig vncserver on –level 345; reboot;

Recommended site searches: vps dynamic ip server, com domain name registration for 1 yuan, Ministry of Industry and Information Technology icp registration query, Ministry of Industry and Information Technology icp registration, query whether the domain name is registered, website domain name registration, which foreign server is the best to rent, the best virtual host in Hong Kong and the United States for free Host and website registration domain name query,

Install VNC service on openvz virtual VPS

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码