ubuntu运行exe程序

140 篇文章 1 订阅
83 篇文章 0 订阅

以采集器举例:

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->确定   

 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值