给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
- 补货通知 搬瓦工 CN2 GIA 线路$46.87 年机器补货了 速度抢全球[VPS测评]
- 搬瓦工 2020 年最新优惠码,终身优惠 6.58%,高质量美国 cn2美国VPS[主机]
- raksmart→美国不限流量服务器(物理机) 100M 带宽~$61 美国VPS[主机]
- GigsGigsCloud→香港(CN2)高防服务器 8 折 215 美香港VPS[主机]
- Docker 的八个真实应用场景全球[VPS测评]
- 不限流量 $5 月 2G 内存 50G SSD 1Gbps 不限流量 K全球[VPS测评]
- PHP 判断是否是手机等移动设备的方法全球[VPS测评]
- ¥34.99 月 512M 内存 10G SSD 500G 流量 100全球[VPS测评]
- Dedicated→$35 月 E3-1270 8GB 内存 1TB 硬全球[VPS测评]
- Aoyouhost→德国 CN2 日本软银 香港 CN2 圣何塞 CN2日本VPS[主机]
- 疯狂猜成语 图猜成语一个人撒尿灭火是什么成语?全球[VPS测评]
- 修罗云→9 元 月 256MB 内存 11GB 空间 150GB 流量 虚拟空间(主机)
- Name 域名限时优惠→COM 域名$7.99 年全球[VPS测评]
- 新商家 嘟牛云→香港 日本机房 VPS 全部 8 折优惠 年付仅需要 1日本VPS[主机]
- WordPress网站代码实现网站弹窗广告全球[VPS测评]
- LNMP与OneinStack一键安装包区别与选择建议全球[VPS测评]
- 搭建WordPress博客要如何选择域名全球[VPS测评]
- 百度发布信风算法,打击翻页诱导行为全球[VPS测评]
- 恒星云国内高防优惠辽宁高防 2H2G 5M小带宽 月付35元 带20G防全球[VPS测评]
- 2022年亚马逊Prime会员日将于7月12日和13日举行,覆盖24个站全球[VPS测评]
- 全球云lovps,香港CN2线路vps 新品七折月付49元香港VPS[主机]
- 云米科技:香港/美国/日本等海外免备案vps云服务器,最低13元/月日本VPS[主机]
- 阿里云香港服务器多少钱一年?香港云服务器租用年付价格表香港VPS[主机]
- 性价比最高的VPS网络评测全球[VPS测评]
- 香港的云服务器值得租用吗?有什么好处?香港VPS[主机]
- 金斗云双12活动:全场8折起,美国圣何塞CN2 GIA高防VPS20元/美国VPS[主机]
- EdgeNat双十二优惠:韩国/香港/美国全场VPS年付,2核2G2M仅韩国VPS[主机]
- 空空云怎么样?香港CN2-GIA VPS,带宽2M,月付15元香港VPS[主机]
- 什么是云服务器?云服务器怎么登陆?全球[VPS测评]
- UCloud优刻得云服务器建站教程:香港云服务器购买优惠方法香港VPS[主机]
转载请注明原文地址:http://140.238.13.167:12355/read-6909.html











