摘要:
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/wwwroot/super.yupengyang.com/../../../../img3.yupengyang.com/public_html/thumb/2012/05) is not within the allowed path(s): (/home/wwwroot/super.yupengyang.com:/tmp/:/var/tmp/:/proc/) in /home/wwwroot/super.yupengyang.com/wp-includes/functions.php on line 2095
Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/wwwroot/super.yupengyang.com/../../../../img3.yupengyang.com/public_html/thumb/2012) is not within the allowed path(s): (/home/wwwroot/super.yupengyang.com:/tmp/:/var/tmp/:/proc/) in /home/wwwroot/super.yupengyang.com/wp-includes/functions.php on line 2104
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/wwwroot/super.yupengyang.com/../../../../img3.yupengyang.com/public_html/thumb/2012) is not within the allowed path(s): (/home/wwwroot/super.yupengyang.com:/tmp/:/var/tmp/:/proc/) in /home/wwwroot/super.yupengyang.com/wp-includes/functions.php on line 2095
Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/wwwroot/super.yupengyang.com/../../../../img3.yupengyang.com/public_html/thumb) is not within the allowed path(s): (/home/wwwroot/super.yupengyang.com:/tmp/:/var/tmp/:/proc/) in /home/wwwroot/super.yupengyang.com/wp-includes/functions.php on line 2104
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/wwwroot/super.yupengyang.com/../../../../img3.yupengyang.com/public_html/thumb) is not within the allowed path(s): (/home/wwwroot/super.yupengyang.com:/tmp/:/var/tmp/:/proc/) in /home/wwwroot/super.yupengyang.com/wp-includes/functions.php on line 2095
Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/wwwroot/super.yupengyang.com/../../../../img3.yupengyang.com/public_html) is not within the allowed path(s): (/home/wwwroot/super.yupengyang.com:/tmp/:/var/tmp/:/proc/) in /home/wwwroot/super.yupengyang.com/wp-includes/functions.php on line 2104
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/wwwroot/super.yupengyang.com/../../../../img3.yupengyang.com/public_html) is not within the allowed path(s): (/home/wwwroot/super.yupengyang.com:/tmp/:/var/tmp/:/proc/) in /home/wwwroot/super.yupengyang.com/wp-includes/functions.php on line 2095
Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/wwwroot/super.yupengyang.com/../../../../img3.yupengyang.com) is not within the allowed path(s): (/home/wwwroot/super.yupengyang.com:/tmp/:/var/tmp/:/proc/) in /home/wwwroot/super.yupengyang.com/wp-includes/functions.php on line 2104
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/wwwroot/super.yupengyang.com/../../../../img3.yupengyang.com) is not within the allowed path(s): (/home/wwwroot/super.yupengyang.com:/tmp/:/var/tmp/:/proc/) in /home/wwwroot/super.yupengyang.com/wp-includes/functions.php on line 2095
Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/wwwroot/super.yupengyang.com/../../../..) is not within the allowed path(s): (/home/wwwroot/super.yupengyang.com:/tmp/:/var/tmp/:/proc/) in /home/wwwroot/super.yupengyang.com/wp-includes/functions.php on line 2104
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/wwwroot/super.yupengyang.com/../../../..) is not within the allowed path(s): (/home/wwwroot/super.yupengyang.com:/tmp/:/var/tmp/:/proc/) in /home/wwwroot/super.yupengyang.com/wp-includes/functions.php on line 2095
Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/wwwroot/super.yupengyang.com/../../..) is not within the allowed path(s): (/home/wwwroot/super.yupengyang.com:/tmp/:/var/tmp/:/proc/) in /home/wwwroot/super.yupengyang.com/wp-includes/functions.php on line 2104
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/wwwroot/super.yupengyang.com/../../..) is not within the allowed path(s): (/home/wwwroot/super.yupengyang.com:/tmp/:/var/tmp/:/proc/) in /home/wwwroot/super.yupengyang.com/wp-includes/functions.php on line 2095
Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/wwwroot/super.yupengyang.com/../..) is not within the allowed path(s): (/home/wwwroot/super.yupengyang.com:/tmp/:/var/tmp/:/proc/) in /home/wwwroot/super.yupengyang.com/wp-includes/functions.php on line 2104
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/wwwroot/super.yupengyang.com/../..) is not within the allowed path(s): (/home/wwwroot/super.yupengyang.com:/tmp/:/var/tmp/:/proc/) in /home/wwwroot/super.yupengyang.com/wp-includes/functions.php on line 2095
Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/wwwroot/super.yupengyang.com/..) is not within the allowed path(s): (/home/wwwroot/super.yupengyang.com:/tmp/:/var/tmp/:/proc/) in /home/wwwroot/super.yupengyang.com/wp-includes/functions.php on line 2104
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/wwwroot/super.yupengyang.com/..) is not within the allowed path(s): (/home/wwwroot/super.yupengyang.com:/tmp/:/var/tmp/:/proc/) in /home/wwwroot/super.yupengyang.com/wp-includes/functions.php on line 2095
vps闲着没用,就想起了挂QQ,虽然现在也不在乎等级了,但挂着好看不是~
废话不多说,直接上教程。今天介绍两种方法,第一种是最常用的,安装桌面,下载腾讯的QQ,然后远程登录。但这种占用资源多,vps本来资源就少,安装桌面就占去了很大一部分,而腾讯的QQ,也是资...
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/wwwroot/super.yupengyang.com/../../../../img3.yupengyang.com/public_html/thumb/2012/05) is not within the allowed path(s): (/home/wwwroot/super.yupengyang.com:/tmp/:/var/tmp/:/proc/) in /home/wwwroot/super.yupengyang.com/wp-includes/functions.php on line 2095
Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/wwwroot/super.yupengyang.com/../../../../img3.yupengyang.com/public_html/thumb/2012) is not within the allowed path(s): (/home/wwwroot/super.yupengyang.com:/tmp/:/var/tmp/:/proc/) in /home/wwwroot/super.yupengyang.com/wp-includes/functions.php on line 2104
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/wwwroot/super.yupengyang.com/../../../../img3.yupengyang.com/public_html/thumb/2012) is not within the allowed path(s): (/home/wwwroot/super.yupengyang.com:/tmp/:/var/tmp/:/proc/) in /home/wwwroot/super.yupengyang.com/wp-includes/functions.php on line 2095
Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/wwwroot/super.yupengyang.com/../../../../img3.yupengyang.com/public_html/thumb) is not within the allowed path(s): (/home/wwwroot/super.yupengyang.com:/tmp/:/var/tmp/:/proc/) in /home/wwwroot/super.yupengyang.com/wp-includes/functions.php on line 2104
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/wwwroot/super.yupengyang.com/../../../../img3.yupengyang.com/public_html/thumb) is not within the allowed path(s): (/home/wwwroot/super.yupengyang.com:/tmp/:/var/tmp/:/proc/) in /home/wwwroot/super.yupengyang.com/wp-includes/functions.php on line 2095
Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/wwwroot/super.yupengyang.com/../../../../img3.yupengyang.com/public_html) is not within the allowed path(s): (/home/wwwroot/super.yupengyang.com:/tmp/:/var/tmp/:/proc/) in /home/wwwroot/super.yupengyang.com/wp-includes/functions.php on line 2104
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/wwwroot/super.yupengyang.com/../../../../img3.yupengyang.com/public_html) is not within the allowed path(s): (/home/wwwroot/super.yupengyang.com:/tmp/:/var/tmp/:/proc/) in /home/wwwroot/super.yupengyang.com/wp-includes/functions.php on line 2095
Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/wwwroot/super.yupengyang.com/../../../../img3.yupengyang.com) is not within the allowed path(s): (/home/wwwroot/super.yupengyang.com:/tmp/:/var/tmp/:/proc/) in /home/wwwroot/super.yupengyang.com/wp-includes/functions.php on line 2104
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/wwwroot/super.yupengyang.com/../../../../img3.yupengyang.com) is not within the allowed path(s): (/home/wwwroot/super.yupengyang.com:/tmp/:/var/tmp/:/proc/) in /home/wwwroot/super.yupengyang.com/wp-includes/functions.php on line 2095
Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/wwwroot/super.yupengyang.com/../../../..) is not within the allowed path(s): (/home/wwwroot/super.yupengyang.com:/tmp/:/var/tmp/:/proc/) in /home/wwwroot/super.yupengyang.com/wp-includes/functions.php on line 2104
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/wwwroot/super.yupengyang.com/../../../..) is not within the allowed path(s): (/home/wwwroot/super.yupengyang.com:/tmp/:/var/tmp/:/proc/) in /home/wwwroot/super.yupengyang.com/wp-includes/functions.php on line 2095
Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/wwwroot/super.yupengyang.com/../../..) is not within the allowed path(s): (/home/wwwroot/super.yupengyang.com:/tmp/:/var/tmp/:/proc/) in /home/wwwroot/super.yupengyang.com/wp-includes/functions.php on line 2104
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/wwwroot/super.yupengyang.com/../../..) is not within the allowed path(s): (/home/wwwroot/super.yupengyang.com:/tmp/:/var/tmp/:/proc/) in /home/wwwroot/super.yupengyang.com/wp-includes/functions.php on line 2095
Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/wwwroot/super.yupengyang.com/../..) is not within the allowed path(s): (/home/wwwroot/super.yupengyang.com:/tmp/:/var/tmp/:/proc/) in /home/wwwroot/super.yupengyang.com/wp-includes/functions.php on line 2104
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/wwwroot/super.yupengyang.com/../..) is not within the allowed path(s): (/home/wwwroot/super.yupengyang.com:/tmp/:/var/tmp/:/proc/) in /home/wwwroot/super.yupengyang.com/wp-includes/functions.php on line 2095
Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/wwwroot/super.yupengyang.com/..) is not within the allowed path(s): (/home/wwwroot/super.yupengyang.com:/tmp/:/var/tmp/:/proc/) in /home/wwwroot/super.yupengyang.com/wp-includes/functions.php on line 2104
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/wwwroot/super.yupengyang.com/..) is not within the allowed path(s): (/home/wwwroot/super.yupengyang.com:/tmp/:/var/tmp/:/proc/) in /home/wwwroot/super.yupengyang.com/wp-includes/functions.php on line 2095
vps闲着没用,就想起了挂QQ,虽然现在也不在乎等级了,但挂着好看不是~
废话不多说,直接上教程。今天介绍两种方法,第一种是最常用的,安装桌面,下载腾讯的QQ,然后远程登录。但这种占用资源多,vps本来资源就少,安装桌面就占去了很大一部分,而腾讯的QQ,也是资源大户(即使现在他的linux版要比win省资源多了),这种一般得要求cpu512以上。第二种不用桌面,直接shell!占用资源很少很少,128的vps都能很顺利地跑起来的!
桌面版:先安装桌面,这里用一行命令的
wget http://www.CTOHome.com/linux-vps-pack/xwindow.sh;sh ./xwindow.sh;
粘贴后,点击鼠标右键,等着就行了。命令执行完以后,将服务器上的顾客证书/backup/www.ctohome.com/client.id_dsa.key下载到你的 电脑上(这个不会的话,用WinSCP), 然后导入windows客户端的FreeNX中,连接估计就可以了。(WinSCP,FreeNX是什么?我也不知道,google去吧,地址:http://www.google.com.hk)
因为内存原因,有些vps浏览器会一打开就自动关闭,这时用
wget http://dl_dir.qq.com/linuxqq/linuxqq_v1.0.2-beta1_i386.tar.gz
下载就可以(这个安装桌面后直接用上就行)。
进入桌面后,解压,打开QQ,输入QQ号,密码……。断开freenx后,原来的各种程序一样运行,下次登陆还一样~
shell版:这个是一位高中学生编写的,很小巧。下载地址:http://xiaoxia.org/home/upfiles/myqq3.19.zip
本站下载地址:myqq3.19
可以先下到本地,解压后,进入bin–i386-windows,先运行里面的myqq.exe,熟练下QQ的各种操作(这个自己摸索吧)
然后,说说vps端了。首先,当然是下载了
wget http://xiaoxia.org/home/upfiles/myqq3.19.zip
然后解压
unzip myqq3.19.zip
myqq3.19这个文件夹不好记,就改成QQ。
mv myqq3.19 qq
然后进入qq文件夹
cd qq
编译
make -C src -flinux.mak clean all
有的可能不行,没有make(偶的就是),那就要在安装make
yum install make -y
然后基本就好了,开始运行
./myqq
以后就和win的差不多了,因为有时要验证码,还用winscp就可以,把文件下载后查看。
ok,现在登入成功,该说说怎么挂QQ了,因为你直接挂断putty(或其他客户端),QQ也就掉了。
你是不是经常需要 SSH 或者 telent 远程登录到 Linux 服务器?你是不是经常为一些长时间运行的任务而头疼,比如系统备份、ftp 传输等等。通常情况下我们都是为每一个这样的任务开一个远程终端窗口,因为他们执行的时间太长了。必须等待它执行完毕,在此期间可不能关掉窗口或者断开连接,否则这个任务就会被杀掉,一切半途而废了。
怎么做呢,这里主要用screen了
root登陆后,输入screen,回车,然后就会出现窗口,和原来差不多,你在这里,和刚才一样cd qq- ./qq就可以了,登陆以后,Ctrl+a,再按d,就算退出了,这是断开连接,QQ就不掉线了。
想再次进入,只需screen -r即可
输入命令screen -ls可以查看到被挂起的窗口:
[root@Nginx domain]#screen -ls
There is a screen on:
22496.pts-0.Nginx (Detached)
1 Socket in /var/run/screen/S-root.
恢复窗口:screen -r 22496
关于screen命令更多内容,见
http://www.ibm.com/developerworks/cn/linux/l-cn-screen/
鸣谢:萝莉天下(shell版QQ就是他告诉偶的)http://xiaod.in/(偶的screen在他那里学到的,http://xiaod.in/read.php?50),当然,还有xiaoxia(第二个QQ人家编写的,http://xiaoxia.org/home/read.do?id=1222)




2011-02-11 10:46:03 沙发
多谢热心的博主了,我上了QQ的软件,再用shell版的登陆,还是错误,而且没提示说我QQ在别的地方上,而且说错误后好友也是看不到,即使我不隐身。
[回复]
飞翔的翅膀pp 回复:
二月 11th, 2011 at 2:14 下午
@KARONL, 呵呵,那我也没有办法了。
[回复]
2011-02-11 07:46:03 板凳
不是验证码的问题,但能知道我输入密码正确或错误,而且知道能否登陆,就是正确密码登陆就显示网络错误。
[回复]
飞翔的翅膀pp 回复:
二月 11th, 2011 at 9:57 上午
@KARONL, 哦,我想起来了,我也遇到过这种问题,不用管它,它会自动连接,只是提示出现连接错误,但是QQ还是在线的(他的好友显示他在线)。要是断开连接了(他的好友显示他不在线了),你就重新登录一下就行了。一般不会出现什么问题,我拿我的vps挂QQ一般连续挂1周没问题,就是后台提示说什么连接错误,但是依然在挂着的。
[回复]
2011-02-09 09:14:28 3#
本地登陆MYQQ,为什么显示网络错误。
[回复]
飞翔的翅膀pp 回复:
二月 11th, 2011 at 5:08 上午
@KARONL, 你用的是Windows版本还是Linux版本? Windows版本不应该有错误呀,有时候会提示让你输入验证码,你可以在verify目录下找到验证码然后输入。
[回复]
2011-02-09 07:14:31 4#
这个能在虚拟主机上用吗?
[回复]
飞翔的翅膀pp 回复:
二月 11th, 2011 at 5:12 上午
@KARONL, 不行,本地电脑或者vps能用,支持centos和Windows操作系统。我测试过centos,win2003,winXP,他们都可以用。
[回复]