一、首先删除无用程序(如需要运行网站可忽略此步)
apt-get remove portmap* httpd* bind9* samba* nscd* sendmail* -y
apt-get upgrade -y
apt-get install make gcc flex bison libx11-dev libfreetype6-dev gettext prelink libxrender-dev libxml2 libxslt1-dev libcurl4-openssl-dev libjpeg62-dev libpng12-dev libghc6-opengl-dev rcconf chkconfig bzip2 xfce4
apt-get install xfonts-intl-chinese xfonts-wqy ttf-wqy-zenhei ttf-wqy-microhei
apt-get install xfonts-intl-chinese wqy*
apt-get install tightvncserver -y
tightvncserver
useradd -g atrong -d /home/atrong -s /bin/bash -m atrong
passwd atrong
mkdir /home/atrong
wget -c http://prdownloads.sourceforge.net/wine/wine-1.4.1.tar.bz2
mv /root/wine-1.4.1.tar.bz2 /home/atrong
cd /home/atrong
tar jxvf wine-1.4.1.tar.bz2 -C /home/atrong
chown -R atrong:atrong /bin/bash
cd /home/atrong/wine-1.4.1
8.7、检查环境
./configuremake
cd /home/atrong/wine-1.4.1
make install
wget http://lastmile.gomez.com/PEERInstall.exe
mv /home/atrong/wine-1.4.1/PEERInstall.exe /root/.wine/drive_c/windows/system32
PS:同理也可以挂QQ、YY、旺旺、流量包、QQ宠物、人人网、Vagex、淘宝自动发货软件等等,LinuxVPS可以当Windows挂机宝用了。
转自:Yan.ZH
评论