admin 发表于 2022-4-23 16:00:00

Linux系统下乌班图运行关关采集器教程

1、更新源   sudo apt-get update
sudo apt-get upgrade   sudo apt-get install python-software-properties   sudo apt-get 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密码   
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 &   

三、安装中文支持   
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   
游客,如果您要查看本帖隐藏内容请回复


五、配置关关   
右键关关主程序,打开方式用wine打开   
到这里大功告成!http://www.ijieqi.com/data/attachment/forum/201411/22/073253hpued4ggsa5dgptx.jpg


veryjd 发表于 2022-4-23 16:00:00

好像很牛逼的样子

wbanl630 发表于 2022-4-23 16:00:00

添加中文字体后,没效果

lansghy 发表于 2022-4-23 16:00:00

fsfsdfjsadklfjsadlfjlasdkfjdlasjflsakdjflsadf

hackswcc52 发表于 2022-4-23 16:00:00

好像很牛逼的样子
页: [1]
查看完整版本: Linux系统下乌班图运行关关采集器教程