本文主要介绍用 CAC 终生 VPS 挂 Vagex & GomezPEER 项目赚取美元;项目账号注册、激活登不在本文范围之内…
项目
Vagex
GomezPEER
挂机
本文使用的是 Cloudatcost 终生 VPS,系统版本 CentOS 6.7.
安装 Xfce
添加软件源
32 位:wget http://download.Fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
64 位:wget http://download.Fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -ivh epel-release-6-8.noarch.rpm
yum search xfce
yum groupinfo xfce
yum groupinstall xfce
安装/配置 VNC
- 安装:
yum install tigervnc-server
- 配置:
vi /etc/sysconfig/vncservers
添加以下内容:
VNCSERVERS="1:root"
VNCSERVERARGS[1]="-geometry 800x600"
多用户配置如下:
VNCSERVERS="1:user_one 2:user_two 3:user_three"
VNCSERVERARGS[1]="-geometry 800x600"
VNCSERVERARGS[2]="-geometry 800x600"
VNCSERVERARGS[3]="-geometry 800x600"
设置 VNC 密码:执行 vncpasswd 命令,然后输入并确定密码即可
设置开机启动:vi /root/.vnc/xstartup
#!/bin/sh
/usr/bin/startxfce4
unset SESSION_MANAGER
chmod +x ~/.vnc/xstartup
chkconfig vncserver on
修改防火墙
service iptables stop
chkconfig --level 35 iptables off
setenforce 0
vim /etc/sysconfig/selinux
修改为:SELINUX=disabled 并且 SELINUXTYPE=disabled
安装 Firefox
yum -y install firefox
安装 Wine
yum install wine