安装ubuntu 10.04

来源:互联网 发布:网红前十的淘宝店名 编辑:程序博客网 时间:2024/05/22 03:36

1.    安装ubuntu 10.04................................................................................................. 1

 

1.    安装ubuntu 10.04

安装后如果没有windows 引导项,执行:

Sudo update-grub

就有了

安装完成之后设置网络

Network connection

然后点击右上角的网络图标启动eth0

Cp /etc/apt/souces.list /etc/apt/sources.list~

Gedit /etc/apt/sources.list

写入:

deb http://mirror.rootguide.org/ubuntu/ lucid main universe restricted multiverse

deb-src http://mirror.rootguide.org/ubuntu/ lucid main universe restricted multiverse

deb http://mirror.rootguide.org/ubuntu/ lucid-security universe main multiverse restricted

deb-src http://mirror.rootguide.org/ubuntu/ lucid-security universe main multiverse restricted

deb http://mirror.rootguide.org/ubuntu/ lucid-updates universe main multiverse restricted

deb http://mirror.rootguide.org/ubuntu/ lucid-proposed universe main multiverse restricted

deb-src http://mirror.rootguide.org/ubuntu/ lucid-proposed universe main multiverse restricted

deb http://mirror.rootguide.org/ubuntu/ lucid-backports universe main multiverse restricted

deb-src http://mirror.rootguide.org/ubuntu/ lucid-backports universe main multiverse restricted

deb-src http://mirror.rootguide.org/ubuntu/ lucid-updates universe main multiverse restricted

保存之后

后来发现这个速度也还算勉强,但内容更全,上面那个没有中文10.04的包

deb http://tw.archive.ubuntu.com/ubuntu/ lucid main universe restricted multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu/ lucid main universe restricted multiverse
deb http://tw.archive.ubuntu.com/ubuntu/ lucid-security universe main multiverse restricted
deb-src http://tw.archive.ubuntu.com/ubuntu/ lucid-security universe main multiverse restricted
deb http://tw.archive.ubuntu.com/ubuntu/ lucid-updates universe main multiverse restricted
deb-src http://tw.archive.ubuntu.com/ubuntu/ lucid-updates universe main multiverse restricted

Sudo apt-get update

如果出现不完整语言支持,则run this action now 升级语言,此时源就很重要了

安装输入法:

只要163的源

Apt-get update

Apt-get install fcitx

在语言选项里把输入法调成fcitx就行了

如果出现字体都是方框

Gedit ~/.fcitx/config

 “显示字体()=* 改成 “显示字体()=WenQuanYi Bitmap Song 也就是第一行

此时我出现了gedit里面是乱码,根本看不到“显示字体”,因为该文本是GB18030编码的,解决办法:

1. 终端中键入

代码:

gconf-editor

,并按下回车键,打开配置编辑器
2. 
展开左边的树节点,找到 /apps/gedit-2/preferences/encodings 节点并单击它。
3. 
双击右边的 auto_detected 键,打开编辑键对话框。
4. 
单击列表右边的添加按钮,输入“GB18030”,单击确定按钮。
5. 
列表的最底部新增加了一个“GB18030”。单击选中它,并单击右边的 “向上” 按钮直到 “GB18030” 位于列表的顶部为止。(经我后来测试,最好还是放到utf-8后面
6. 
单击确定按钮,关闭配置编辑器。 

现在,您的 gedit 应该能够顺利打开 GB18030 编码的文本文件了

 

Gconf-editor图形化的配置编辑器,里面可以编辑许多配置文件

 

 

更改双拼方案:

Gedit ~/.fcitx/config

默认双拼方案=自然码  改为默认双拼方案=紫光

还可以把翻页改为,和。

第二三候选词=SHIFT

中英文切换=L_CTRL   (没办法,否则就和二三候选字冲突了)

候选词数量=3

主窗口隐藏模式=1 (不输入时隐藏)

经过这样的配置,基本上和我现在用的输入法相差不大了。

注意ctrl+shift在各个输入法之间切换

才发现一个好东西

系统——系统管理——软件源——ubuntu软件——下载自——其他——选择最佳服务器

可以测试哪个源最好

有个元能够达到上M的速度

安装eclipse

So easy~~

Apt-get install eclipse

就完成了

安装ssh客户端:

Apt-get install ssh

完了之后sshd服务就开启了

Ssh root@192.168.0.16就可以登录0.16主机了