给openvz虚拟的VPS安装上VNC服务
![]() | ![]() | ![]() | ![]() |
| 【性价之王】 | 【线路之王】 | 【价格之王】 | 【配置之王】 |
| 【免费之王】 | 【香港首推】 | 【梯子之王】 | 【独服之王】 |

这里介绍下在openvz虚拟的VPS上安装vnc服务,方便一些人折腾。简单说下步骤:用root登陆SS输入命令,程序自动化编译过程中会让你输入VNC密码,自动完成后VPS自动重启,然后你用你自己的VNC客户端使用你自己的IP(端口为1,类似于:192.168.20.20:1)登陆,大致这样!说明:这个脚本不是我写的,仅仅只是转载一下,版权归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://www.vps.com.in/read-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 1000x700"' >> /etc/vncserver/vncservers.conf; cd /etc/init.d/; wget https://www.vps.com.in/read-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://www.vps.com.in/read-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 1000x700"' >> /etc/vncserver/vncservers.conf; cd /etc/init.d/; wget https://www.vps.com.in/read-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 1000x700"' >> /etc/sysconfig/vncservers; vncpasswd; chkconfig vncserver on --level 345; reboot;
[openvz]历史优惠活动内容
猜你可能想看的VPS
- DediPath→洛杉矶 1G 无限流量 Dual E5-2620v2 全球[VPS测评]
- 合字下面的口中有一个应字是什么成语?全球[VPS测评]
- dataplugs – 香港独立服务器租用 50M 独享带宽 不限流量 独立服务器[U]
- 宝塔面板中 ThinkPHP5 更改网站目录为 public 后运行报错全球[VPS测评]
- 疯狂猜成语 图猜成语一个闻字上面的门是虚线的是什么成语?全球[VPS测评]
- 玩具鸡-hostsailor: $6.6 年 256G 流量 荷兰 VP全球[VPS测评]
- STSDUST→30.55 元 月 384MB 内存 5GB 空间 50虚拟空间(主机)
- 搬瓦工最新优惠码整理(长期更新) 高速优质便宜的美国 cn2vps 推荐美国VPS[主机]
- OLVPS→端口转发 100GB 流量 月付 20 元;枣庄联通独服 3全球[VPS测评]
- 腾讯云双十一提前购→1C2G1M 年付 88 元 2C4G5M 三年仅 全球[VPS测评]
- GetWebHosting→£2.99 月 Ryzen 1GB 内存 2虚拟空间(主机)
- Virtono → 圣诞优惠 最高五折 1C512M15G硬盘 1G端口全球[VPS测评]
- 快车道 → 1 核心 1G 内存 10G 储存 8T流量 1G带宽 台湾全球[VPS测评]
- 搬瓦工大端口CN2 GIA: DC6 1G 20G SSD 1T 2.5全球[VPS测评]
- 2019网一: PacificRack → 1C 512M RAM 20全球[VPS测评]
- DMIT.io → 2G 内存 20G SSD 无限流量 200M带宽 全球[VPS测评]
- 阿里云服务器一年价格多少钱?阿里云服务器报价全球[VPS测评]
- CentOS 7.x 系统安装和配置redis-7.0.4集群全球[VPS测评]
- tudcloud:全场7折,香港不限流量VPS,Windows系统,LiWINDOWS
- CubeCloud,香港cn2,美国cn2 gia线路vps主机,2核1美国VPS[主机]
- 精编案例丨游戏行业转型升级迫在眉睫,云计算助力打造下一代游戏体验全球[VPS测评]
- 外贸无界烟台市有多少跨境电商?烟台跨境电商开发平台,烟台跨境电商选品全球[VPS测评]
- UOVZ怎么样?香港30M大带宽VPS 直连线路月付50元香港VPS[主机]
- 华纳云年终钜惠活动:云服务器半年低至280元,香港高防服务器999元香港VPS[主机]
- 阿里云香港服务器多少钱?阿里云香港服务器价格香港VPS[主机]
- 金斗云:全场8折起,美国圣何塞高防VPS,20元/月;香港CN2 VPS美国VPS[主机]
- diyvm:香港vps/美国vps/日本vps/2核/2G内存/5M带宽日本VPS[主机]
- 特网云:香港云服务器新上线,香港新界机房;1核/1G/5M宽带/50G硬香港VPS[主机]
- VPS到底有什么用?全球[VPS测评]
- 快云科技:香港CN2VPS,2核/2GB内存/3M独享,仅售14.98元香港VPS[主机]
转载请注明原文地址:http://140.238.13.167:12355/read-6909.html











