今年的黑五,我也剁手了,看到各位VPS爱好者买买买,自己也忍不住。有家主机商做活动,首月VPS还是openvz的售价0.3$,正好我的paypal余额里还有3$,心想正好买1台,可以玩儿10个月,没想到啊没想到,主机商的数量是按台数算的,不是按月,结果,一下3$买了10台。反正已经买了,就用来挂EB吧,能回回血,放着也是放着
EB就是ebesucher,大家可以百度一下,它是一个利用工具自动冲浪,自动挂机赚欧元的一个网站,教程网站上一堆
不嫌弃可以通过我的ref进行注册:注册地址
简单说下我的环境:
1G内存
1vCPU
德国IP(据说德国的IP质量比较好)
CENTOS6
OPENVZ
先安装vnc:
yum -y install tigervnc tigervnc-server wget https://download.Fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm rpm -ivh epel-release-6-8.noarch.rpm
安装图形界面XFCE:
yum search xfce yum groupinfo xfce yum -y groupinstall xfce
安装firefox:
yum -y install firefox wget ftp://ftp.free.org/mirrors/rsync.frugalware.org/frugalware-1.9/source/xlib/flashplugin/install_flash_player_11_linux.x86_64.tar.gz tar zxvf install_flash_player_11_linux.x86_64.tar.gz mkdir -p ~/.mozilla/plugins/ cp libflashplayer.so ~/.mozilla/plugins/
启动vncserver并设置密码:
vncserver chkconfig vncserver on
修改vnc配置文件:
vi /etc/sysconfig/vncservers
VNCSERVERS="1:root" VNCSERVERARGS[1]="-geometry 1024x768 " vi /root/.vnc/xstartup #!/bin/sh # Uncomment the following two lines for normal desktop: unset SESSION_MANAGER #exec /etc/X11/xinit/xinitrc [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources xsetroot -solid grey vncconfig -iconic & #xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & #twm & startxfce4 &
service vncserver restart #重启服务
chkconfig NetworkManager off #关闭网络管理服务
reboot
通过VNC连接到vps,下载ebesucher插件进行安装,设置好自己的用户名
https://www.ebesucher.com/data/firefoxaddon/latest.xpi #最新插件地址
主要说下几个脚本:
即便是1g内存的OPENVZ虚拟机,Firefox还是会不定期的自己动关闭,我们最好是定时重启一下firefox浏览器,并每分钟进行检测firefox进程是否正常
#定时重启Firefox脚本
#!/bin/sh export DISPLAY=localhost:1.0 cd /root rm -rf ~/.vnc/*.log /tmp/plugtmp* > /dev/null 2>&1 killall firefox > /dev/null 2>&1 /usr/bin/firefox --new-tab http://www.ebesucher.de/surfbar/你的地址> /dev/null 2>&1
chmod a+x 脚本路径.sh
crontab -e #添加计划任务
0 * * * * /root/restart.sh #修改为自己的脚本路径
#假-实时检测firefox进程
#!/bin/sh ps -fe|grep firefox |grep -v grep > /dev/null 2>&1 if [ $? -eq 0 ] then exit else export DISPLAY=localhost:1.0 cd /root rm -rf ~/.vnc/*.log /tmp/plugtmp* > /dev/null 2>&1 killall firefox > /dev/null 2>&1 /usr/bin/firefox --new-tab http://www.ebesucher.de/surfbar/你的用户名> /dev/null 2>&1 fi
chmod a+x 脚本路径.sh
crontab -e #添加计划任务
#检测VNC进程
#!/bin/sh sleep 1m ps -fe|grep vnc |grep -v grep > /dev/null 2>&1 if [ $? -eq 0 ] then exit else reboot fi
#检测Peer脚本(由于我也在挂GomePeer,所以也写了针对peer的一个脚本,主要涉及wine,在Linux中运行Windows程序)
#!/bin/sh ps -fe|grep GomezPeer.exe |grep -v grep > /dev/null 2>&1 if [ $? -eq 0 ] then exit else export DISPLAY=localhost:1.0 wine 'C:\Program Files (x86)\Dynatrace\LastMile\bin\GomezPeer.exe'> /dev/null 2>&1 fi
dapoxetine tadalafil combination side effects
start my own blog in the near future. Anyhow, should you have any recommendations or techniques for new blog owners please share.
I really like and appreciate your article post.Really thank you! Will read on…
I am so grateful for your blog post.Much thanks again. Great.
This is one awesome post.Thanks Again.
Fantastic article post.Thanks Again. Fantastic.
Muchos Gracias for your post.Really thank you! Awesome.
I don’t even know how I stopped up right here, however I thought this publish was once great. I don’t understand who you might be but definitely you’re going to a famous blogger if you happen to are not already. Cheers!
A motivating discussion is definitely worth comment. There’s no doubt that that you ought to publish more about this subject, it might not be a taboo subject but typically people don’t talk about these topics. To the next! Kind regards!!
A round of applause for your post.Really thank you!
wow, awesome article. Will read on…
Thanks-a-mundo for the blog.Really looking forward to read more. Great.
new jersey apartments apartments for rent raleigh nc parc west apartments
Hey, thanks for the blog article.Thanks Again. Really Great.
Really appreciate you sharing this post. Keep writing.
Looking forward to reading more. Great blog post.Really thank you! Awesome.
Greetings! Very helpful advice within this article!It is the little changes that make the most important changes.Many thanks for sharing!
Say, you got a nice blog.Much thanks again.
ivermectin 2 – ivermectin over the counter uk ivermectin 1
Fresh news Bro! Thanks for the news that can be just the thing to give motivation to some body who require it! Keep up the great task! Happy Blogging!
You could certainly see your enthusiasm in the work you write. The world hopes for even more passionate writers like you who aren’t afraid to mention how they believe. Always go after your heart.
Awesome blog.Thanks Again.
Appreciate you sharing, great post.Thanks Again. Cool.
I appreciate you sharing this article post.Thanks Again. Will read on…
Thanks so much for the blog article.Much thanks again.
I really enjoy the article post.Really looking forward to read more. Keep writing.
I appreciate you sharing this article.Really looking forward to read more. Cool.
Very neat article.Really looking forward to read more. Cool.
I am so grateful for your article.Really looking forward to read more. Want more.
Wow, great blog article. Will read on…
A round of applause for your blog.Really thank you! Awesome.
Fantastic post.Thanks Again. Fantastic.
Thanks for the blog.Much thanks again. Really Great.
Thanks again for the article. Awesome.
Heya i’m for the first time here. I found this board and Ifind It really useful & it helped me out much. I hope to give something back and help others like you aided me.
I loved your blog post.Really thank you! Want more.
Thank you for your blog article.Really thank you! Great.
Thank you for your article post.Much thanks again. Fantastic.
Really enjoyed this post.Much thanks again. Great.
Thanks a lot for the blog post.Much thanks again. Cool.
Really appreciate you sharing this post.Much thanks again.
how does ivermectin work in the body ivermectin dosage for humans lice
Looking forward to reading more. Great article post.Really thank you! Really Great.
Very good article.Really thank you! Will read on…
Hey There. I found your blog using msn. This is an extremely well written article. I will make sure to bookmark it and come back to read more of your useful info. Thanks for the post. I’ll certainly comeback.
otf ed pills – ed pills walmart canada ed pills online malaysia
Greetings! Very helpful advice within this post!It’s the little changes that make the greatest changes.Many thanks for sharing!
Really appreciate you sharing this article post. Cool.
Incredible many of fantastic material! hemp oil benefits
This is my first time pay a quick visit at here andi am actually happy to read everthing at alone place.
Thanks for sharing, this is a fantastic blog.Much thanks again. Keep writing.
alli versus xenical – orlistatpl.com orlistat meaning
It’s The truth is an excellent and helpful piece of knowledge. I am satisfied that you merely shared this handy information with us. Make sure you keep us updated such as this. Thanks for sharing.
Great, thanks for sharing this post. Keep writing.
Appreciate you sharing, great blog post.Much thanks again. Great.
Fastidious respond in return of this question with genuine arguments and explainingthe whole thing about that.
I truly appreciate this article.Much thanks again.
Really informative blog.Much thanks again. Cool.
the two, it simply comes down bought not less than 107 psn
I think this is a real great article. Will read on…
Major thankies for the article post.Much thanks again. Will read on…
Im thankful for the blog.Really thank you! Great.
I truly appreciate this blog post.Thanks Again. Great.
wow, awesome post.Really thank you! Awesome.
I cannot thank you enough for the blog article.Really thank you! Fantastic.
Really enjoyed this blog post.Really looking forward to read more. Cool.
I really like and appreciate your blog article.Really thank you! Really Cool.
Im obliged for the blog article. Much obliged.
wow, awesome blog article.Really looking forward to read more. Great.
Very good article post.Thanks Again. Really Great.
readers interested about what you’ve got to say.
Muchos Gracias for your article post.Really looking forward to read more. Awesome.
Thanks for the auspicious writeup. It if truth be told wasa leisure account it. Look complex herbal pills to stop smoking far delivered agreeable from you!However, how could we communicate?
When someone writes an article he/she maintains the idea of a user in his/her brain that howa user can understand it. So that’s why this paragraph is great.Thanks!
A round of applause for your article.Really thank you! Much obliged.
Muchos Gracias for your blog article.Really looking forward to read more. Cool.
wow, awesome post.Really thank you!
Really informative blog article.Really thank you! Much obliged.
I really liked your blog.Really thank you! Want more.
[url=https://zoloft.cfd/]order zoloft online 100mg[/url]
Major thanks for the article.Really looking forward to read more. Want more.
Awesome post.Much thanks again. Much obliged.
Really appreciate you sharing this article post.Really thank you! Fantastic.
Looking forward to reading more. Great article.Really thank you! Really Great.
brietling watch replica originally made a conclude watch happens.
Very good article.Really looking forward to read more. Will read on…
gold rx pharmacy canadian pharmacies compare
Enjoyed every bit of your blog.Much thanks again. Cool.
Enjoyed looking through this, very good stuff, appreciate it. “All things are difficult before they are easy.” by John Norley.
Thanks so much for the article.Really looking forward to read more.
I really enjoy the blog article.
Thank you for your post.Thanks Again. Awesome.
Major thankies for the blog.Really thank you! Really Cool.
Thank you for your blog article.Really thank you! Fantastic.
Thanks for the blog article.Really thank you! Great.
Thanks again for the blog.Much thanks again. Will read on…
Thanks a lot for the blog article.Thanks Again. Fantastic.
Very informative article.Really looking forward to read more. Cool.
Looking forward to reading more. Great blog post.Really thank you! Want more.
wow, awesome post.Much thanks again. Really Cool.
Major thankies for the article.Thanks Again.
themselves, particularly thinking about the fact that you simply could possibly have performed it if you ever decided. The pointers at the same time served to supply an incredible method to
Im obliged for the article.Thanks Again. Cool.
I loved your article post.Really looking forward to read more.
You can certainly see your expertise within the paintings you write. The sector hopes for even more passionate writers such as you who are not afraid to say how they believe. Always go after your heart.
Thanks again for the blog.Really looking forward to read more.
You made some nice points there. I looked on the internet for the issue and found most persons will go along with with your blog.
Im thankful for the post. Fantastic.
Aw, this was an exceptionally nice post. Taking the time and actual effort to produce a very good articleÖ but what can I sayÖ I put things off a whole lot and never manage to get nearly anything done.
I like this post, enjoyed this one thanks for putting up. “Fear not for the future, weep not for the past.” by Percy Bysshe Shelley.
This is one awesome post.Thanks Again. Will read on…
[url=http://augmentin.guru/]augmentin 625mg price in india[/url]
pay to write paperbest day of my life essay
ivermectin 1 cream generic ivermectin for humans – ivermectin uk
I blog often and I seriously thank you for your content. Your article has truly peaked my interest. I’m going to take a note of your blog and keep checking for new information about once per week. I opted in for your Feed too.