以采集器举例:
1、更新源
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install python-software-properties
sudo apt-get install software-properties-common
2、安装X-windows
sudo apt-get install xorg
3、安装xfce4桌面环境
sudo apt-get install xubuntu-desktop
二、安装vnc
1、安装vnc4server
sudo apt-get install vnc4server
2、设置vncserver密码
sudo vncserver
设置密码:
确认密码:
3、配置vncserver
vim /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 &
x-terminal-emulator -geometry 80×24+10+10 -ls -title “$VNCDESKTOP Desktop” &
x-window-manager &
xfce4-session &
重启vncserver 使配置生效
vncserver -kill :1
sudo vncserver
三、安装中文支持
1、安装中文语言包
apt-get install language-pack-zh-hant
2、用vim配置语言环境变量
vim /etc/environment
在下面添加如下两行
LANG=“zh_CN.UTF-8″
LANGUAGE=“zh_CN:zh:en_US:en”
3、添加zh_CN.GB2312字符集
sudo vim /var/lib/locales/supported.d/local
en_US.UTF-8 UTF-8
zh_CN.UTF-8 UTF-8
zh_CN.GBK GBK
zh_CN GB2312
4、保存后,执行命令:
sudo locale-gen
5、sudo vim /etc/default/locale
修改为:
LANG="zh_CN.UTF-8″
LANGUAGE="zh_CN:zh:en_US:en"
6、安装字体库
aptitude install font-manager
aptitude install ttf-arphic-uming
aptitude install ttf-arphic-ukai
aptitude install ttf-wqy-zenhei xfonts-wqy ttf-wqy-microhei
aptitude install fonts-cwtex-fs
aptitude install ttf-hanazono
apt-get install ttf-mscorefonts-installer
mkfontscale
mkfontdir
fc-cache -fv
四、安装wine
1、安装wine1.8
sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get install wine1.8
2、安装winetricks
sudo apt-get install winetricks
3、vnc登陆桌面配置wine安装.net framework 2.0
打开winetricks->selsect the default wineprefix ->确定->install a windows dll or componet->dotnet20->确定