如何从Windows到Ubuntu(不动声色的变迁)

2020-02-03 14:09:25王旭

Ubuntu版本

12.04 LTS

下载与安装
官网,下载.iso镜像后,可以刻光盘,也可以刻U盘

中文输入-ibus
推荐 ibus-pinyin,并默认调整为"半角"输入

sudo apt-get install ibus-pinyin

gedit工具支持中文
在Open打开文件的时候,注意左下脚有个"Character Encoding",点击后, 可以在此添加GBK,GB2312等字符集支持.

vpn设置

公司内的wiki已经有很多文章介绍了.在此就不在赘述.注意两点:

1、配置文件

vim /etc/vpnc/default.conf
IPSec gateway xxxx.com IPSec ID             #ID
IPSec secret         #组密码
Xauth username xxxx

2、执行
sudo vpnc
输入token认证,完成后,执行route -n查看是否有很多路由信息,存在的话,就证明连接成功了.

keepass(保存密码)

设置软件源
keepass

修改文件: /etc/apt/sources.list
Display sources.list entries for: Choose your Ubuntu version Precise (12.04)
deb http://ppa.launchpad.net/jtaylor/keepass/ubuntu precise main deb-src http://ppa.launchpad.net/jtaylor/keepass/ubuntu precise main

Meld Diff Viewer(代码比对)

Thunderbird(邮件收发)

最常出问题的地方(供参考):

Server Type: IMAP Mail Server
Server Name: xxx
Port: 143
Security Settings
Connection security: STARTTLS
Authentication method: Normal password
SMTP Server

Description: 随意填写

Server Name: xxx
Port: 25
Security and Authentication
Connection security: STARTTLS
Authentication method: Normal password
User Name: xxxx
mkpasswd.pl(生成随机密码)
CentOS系统下的mkpasswd命令,在Ubuntu系统下,改为mkpasswd.pl

mkpasswd.pl -s 0 -l 16

Oracle VM Virtualbox(虚拟机)

1、U盘

使用lsusb命令把设备信息查出来# lsusb
...
Bus 002 Device 007: ID 12d1:0001 Huawei Technologies Co., Ltd.

依次选择Machine-Settings-USB

Name:       Z
Vendor  ID: 12d1
Product ID: 0001
...

剩下的不需要填写

2、调整虚拟文件大小

vboxmanage modifyhd VirtualBoxVMs/win7_x64/win7_x64.qed --resize 3000
0%...
Progress state: VBOX_E_NOT_SUPPORTED

只能扩大,不能减小,否则会报错.
VBoxManage: error: Resize hard disk operation for this format is not implemented yet!

LibreOffice 4

参考 http://askubuntu.com/questions/252612/how-do-i-install-libreoffice-4


复制代码
sudo add-apt-repository ppa:libreoffice/libreoffice-4-1
sudo apt-get update
sudo apt-get dist-upgrade</p> <p>sudo apt-get install libreoffice


工具优化三部曲

想知道如何实现主机名自动补全吗?如何在本地就可以"直接"连线上服务器吗?如何在本地"直接"连线上MySQL吗?