Debian使用wine挂迅雷水晶矿场

一、首先删除无用程序

apt-get remove portmap* httpd* bind9* samba* nscd* sendmail* -y

二、更新源

apt-get update -y && apt-get upgrade -y

三、安装安装编译所需环境及XFCE4并配置中文支持

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 -y

aptitude install --without-recommends xorg xfce4 alsa-base alsa-utils cpufrequtils gamin xdg-utils desktop-base gnome-brave-i -y
apt-get install xfonts-intl-chinese xfonts-wqy ttf-wqy-zenhei ttf-wqy-microhei -y
apt-get install xfonts-intl-chinese wqy*

把Windows的simsun.ttc和simhei.ttf上传到/usr/share/fonts/truetype目录下


四、安装并设置VNC

aptitude install vnc4server -y
vnc4server
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 80×24+10+10 -ls -title “$VNCDESKTOP Desktop” &
#twm &
startxfce4 &
chmod +x ~/.vnc/xstartup
reboot
启动VNC
vncserver

五、安装wine并配置winetricks

apt-get install wine -y
apt-get install cabextract -y
wget http://www.kegel.com/wine/winetricks
chmod +x winetricks
mv winetricks /usr/local/bin

在桌面里的SSH里输入winetricks并配置即可。


六、安装锐速

wget http://my.serverspeeder.com/d/ls/serverSpeederInstaller.tar.gz
tar xzvf serverSpeederInstaller.tar.gz
bash serverSpeederInstaller.sh

启动:service serverSpeeder start
检查状态:service serverSpeeder status

分享到:

2 条评论

*

昵称
  1. 雪鹰领主

    好文章,学习了

  2. POF热收缩膜

    感觉不错!挺 博主!