Ubuntu 7.04 加速旧电脑
上一篇 / 下一篇 2007-04-29 00:16:27 / 个人分类:MyNote
硬件:华硕A1000笔记本电脑 CPU:PII 内存:128 硬盘:10Gb 电脑工龄:7年(2000年购买)
电脑使用需求:英文界面环境、中文输入、上网、office工作
系统软件:Ubuntu 7.04 内核,Fluxbox桌面管理,firefox浏览器,openoffice办公软件,xfe文件管理器
Step1:安装Ubuntu 7.04 Server
a、Server安装画面,按F6,在 -- 之前添加 "irqpoll" 选项; 按F4,选择屏幕分辨率为1024×768 32
b、语言选择English
c、当安装自动设定 DHCP 时,选择 “Cancel”节省系统安装时间
d、手动硬盘分区,创建一个65Mb的分区,并将其挂载点设定为 /boot,bootable选项设定为True,如不这么设定,系统安装完无法启动
e、Server 安装类型、选择LAMP
f、安装过程约15分钟
Step 2:设定网络
a、动态ip:
sudo nano /etc/network/interfaces 在文件的最后加入
iface eth0 inet dhcp
auto eth0
b、静态ip:(加快启动速度)
iface eth0 inet static
address 192.168.0.3
netmask 255.255.255.0
gateway 192.168.0.1
auto eth0
注:ip地址设定为192.168.0.3,子网掩码:255.255.255.0,网关:192.168.0.1
按 Ctrl+o 保存文件,按Ctrl+x退出
设定DNS(动态ip不需)
sudo nano /etc/resolv.conf 在文件加入
nameserver 192.168.0.1
注:192.168.0.1 是DNS的ip地址
按 Ctrl+o 保存文件,按Ctrl+x退出
Step 3、重启系统网络
sudo /etc/init.d/networking restart
Step 4、修改 源
sudo nano /etc/apt/sources.list 设定 源 为
deb http://cn.archive.ubuntu.com/ubuntu feisty main restricted universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu feisty-security main restricted universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu feisty-updates main restricted universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu feisty-backports main restricted universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu feisty-proposed main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu feisty main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu feisty-security main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu feisty-updates main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu feisty-backports main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu feisty-proposed main restricted universe multiverse
Step 5、更新 源软件包 和 更新系统软件
sudo aptitude update
sudo aptitude upgrade
Step 6、安装Xorg,Fluxbox,Synaptic
sudo aptitude install xorg fluxbox synaptic
Step 7、安装英文和中文包
sudo aptitude install language-pack-en language-pack-en-base language-pack-zh language-pack-zh-base language-selector language-selector-common
Step 8、在英文界面输入中文
sudo fontconfig-voodoo -f zh_CN
Step 9、安装fcitx中文输入
sudo aptitude install fcitx
im-switch -s fcitx
sudo nano /etc/gtk-2.0/gtk.immodules
找到下面这个部份
"/usr/lib/gtk-2.0/2.10.0/immodules/im-xim.so"<br />"xim" "X Input Method" "gtk20" "/usr/share/locale" "ko:ja:th:zh"
更改为
"/usr/lib/gtk-2.0/2.10.0/immodules/im-xim.so"<br />"xim" "X Input Method" "gtk20" "/usr/share/locale" "en:ko:ja:th:zh"
Set 10、设定中文输入,系统环境
sudo nano /etc/environment 在文件PATH后添加以下内容
LC_CTYPE="zh_CN.UTF-8"
LANG="en_US.UTF-8"
Step 11、安装中文字体
sudo aptitude install xfonts-wqy
Setp 12、设定系统启用中文字体
sudo nano /etc/fonts/language-selector.conf 文件内容为
<fontconfig>
<alias>
<family>serif</family>
<prefer>
<family>Bitstream Vera Serif</family>
<family>DejaVu Serif</family>
<family>AR PL ShanHeiSun Uni</family>
<family>WenQuanYi Bitmap Song</family>
<family>AR PL ZenKai Uni</family>
</prefer>
</alias>
<alias>
<family>sans-serif</family>
<prefer>
<family>Bitstream Vera Sans</family>
<family>DejaVu Sans</family>
<family>AR PL ShanHeiSun Uni</family>
<family>WenQuanYi Bitmap Song</family>
<family>AR PL ZenKai Uni</family>
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
<family>Bitstream Vera Sans Mono</family>
<family>DejaVu Sans Mono</family>
<family>AR PL ShanHeiSun Uni</family>
<family>WenQuanYi Bitmap Song</family>
<family>AR PL ZenKai Uni</family>
</prefer>
</alias>
<match target="font" >
<test name="family" compare="contains" >
<string>Song</string>
<string>Sun</string>
<string>Kai</string>
<string>Ming</string>
</test>
<!-- check to see if the font is just regular -->
<test name="weight" compare="less_eq">
<int>100</int>
</test>
<test compare="more_eq" target="pattern" name="weight" >
<int>180</int>
</test>
<edit mode="assign" name="embolden" >
<bool>true</bool>
</edit>
</match>
<match target="font" >
<test name="family" compare="contains" >
<string>Song</string>
<string>Sun</string>
<string>Kai</string>
<string>Ming</string>
</test>
<edit name="globaladvance">
<bool>false</bool>
</edit>
<edit name="spacing">
<int>0</int>
</edit>
<edit name="hinting">
<bool>true</bool>
</edit>
<edit name="autohint">
<bool>false</bool>
</edit>
<edit name="antialias" mode="assign">
<bool>true</bool>
</edit>
<test name="pixelsize" compare="less_eq">
<int>18</int>
</test>
<edit name="antialias" mode="assign" >
<bool>false</bool>
</edit>
</match>
</fontconfig>
Step 13、确认系统拥有zh_CN.UTF8
sudo dpkg-reconfigure locales
Step 14、安装firefox,openoffice,sun-java6-jre
sudo aptitude install firefox mozilla-firefox-locale-zh-cn openoffice.org sun-java6-jre
Step 15、卸载Server默认安装的nfs(网络共享用samba, 以后安装)
sudo aptitude remove nfs
Step 16、重启电脑
sudo reboot (sudo poweroff是关闭电脑)
Step 17、Login后享受Ubuntu+Fluxbox的惊人速度
startx
Step 18、安装xfe文件管理器
xfe是一个功能强大,耗能极少,速度极快的文件管理器,xfe 0.98版以后支持UTF8,安装前请确认版本号大于0.98目前(2007年4月)最新版是0.99-1,可到
http://sourceforge.net/project/showfiles.php?group_id=64835 下载deb包(xfe主页http://sourceforge.net/projects/xfe)
下载后先安装libfox-1.6-0
sudo aptitude install libfox-1.6-0
安装xfe(deb包)
sudo dpkg -i xfe_0.99-1_i386.deb
其他参考:
https://help.ubuntu.com/community/Installation/LowMemorySystems
http://fluxbox.sourceforge.net/
电脑使用需求:英文界面环境、中文输入、上网、office工作
系统软件:Ubuntu 7.04 内核,Fluxbox桌面管理,firefox浏览器,openoffice办公软件,xfe文件管理器
Step1:安装Ubuntu 7.04 Server
a、Server安装画面,按F6,在 -- 之前添加 "irqpoll" 选项; 按F4,选择屏幕分辨率为1024×768 32
b、语言选择English
c、当安装自动设定 DHCP 时,选择 “Cancel”节省系统安装时间
d、手动硬盘分区,创建一个65Mb的分区,并将其挂载点设定为 /boot,bootable选项设定为True,如不这么设定,系统安装完无法启动
e、Server 安装类型、选择LAMP
f、安装过程约15分钟
Step 2:设定网络
a、动态ip:
sudo nano /etc/network/interfaces 在文件的最后加入
iface eth0 inet dhcp
auto eth0
b、静态ip:(加快启动速度)
iface eth0 inet static
address 192.168.0.3
netmask 255.255.255.0
gateway 192.168.0.1
auto eth0
注:ip地址设定为192.168.0.3,子网掩码:255.255.255.0,网关:192.168.0.1
按 Ctrl+o 保存文件,按Ctrl+x退出
设定DNS(动态ip不需)
sudo nano /etc/resolv.conf 在文件加入
nameserver 192.168.0.1
注:192.168.0.1 是DNS的ip地址
按 Ctrl+o 保存文件,按Ctrl+x退出
Step 3、重启系统网络
sudo /etc/init.d/networking restart
Step 4、修改 源
sudo nano /etc/apt/sources.list 设定 源 为
deb http://cn.archive.ubuntu.com/ubuntu feisty main restricted universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu feisty-security main restricted universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu feisty-updates main restricted universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu feisty-backports main restricted universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu feisty-proposed main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu feisty main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu feisty-security main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu feisty-updates main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu feisty-backports main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu feisty-proposed main restricted universe multiverse
Step 5、更新 源软件包 和 更新系统软件
sudo aptitude update
sudo aptitude upgrade
Step 6、安装Xorg,Fluxbox,Synaptic
sudo aptitude install xorg fluxbox synaptic
Step 7、安装英文和中文包
sudo aptitude install language-pack-en language-pack-en-base language-pack-zh language-pack-zh-base language-selector language-selector-common
Step 8、在英文界面输入中文
sudo fontconfig-voodoo -f zh_CN
Step 9、安装fcitx中文输入
sudo aptitude install fcitx
im-switch -s fcitx
sudo nano /etc/gtk-2.0/gtk.immodules
找到下面这个部份
"/usr/lib/gtk-2.0/2.10.0/immodules/im-xim.so"<br />"xim" "X Input Method" "gtk20" "/usr/share/locale" "ko:ja:th:zh"
更改为
"/usr/lib/gtk-2.0/2.10.0/immodules/im-xim.so"<br />"xim" "X Input Method" "gtk20" "/usr/share/locale" "en:ko:ja:th:zh"
Set 10、设定中文输入,系统环境
sudo nano /etc/environment 在文件PATH后添加以下内容
LC_CTYPE="zh_CN.UTF-8"
LANG="en_US.UTF-8"
Step 11、安装中文字体
sudo aptitude install xfonts-wqy
Setp 12、设定系统启用中文字体
sudo nano /etc/fonts/language-selector.conf 文件内容为
<fontconfig>
<alias>
<family>serif</family>
<prefer>
<family>Bitstream Vera Serif</family>
<family>DejaVu Serif</family>
<family>AR PL ShanHeiSun Uni</family>
<family>WenQuanYi Bitmap Song</family>
<family>AR PL ZenKai Uni</family>
</prefer>
</alias>
<alias>
<family>sans-serif</family>
<prefer>
<family>Bitstream Vera Sans</family>
<family>DejaVu Sans</family>
<family>AR PL ShanHeiSun Uni</family>
<family>WenQuanYi Bitmap Song</family>
<family>AR PL ZenKai Uni</family>
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
<family>Bitstream Vera Sans Mono</family>
<family>DejaVu Sans Mono</family>
<family>AR PL ShanHeiSun Uni</family>
<family>WenQuanYi Bitmap Song</family>
<family>AR PL ZenKai Uni</family>
</prefer>
</alias>
<match target="font" >
<test name="family" compare="contains" >
<string>Song</string>
<string>Sun</string>
<string>Kai</string>
<string>Ming</string>
</test>
<!-- check to see if the font is just regular -->
<test name="weight" compare="less_eq">
<int>100</int>
</test>
<test compare="more_eq" target="pattern" name="weight" >
<int>180</int>
</test>
<edit mode="assign" name="embolden" >
<bool>true</bool>
</edit>
</match>
<match target="font" >
<test name="family" compare="contains" >
<string>Song</string>
<string>Sun</string>
<string>Kai</string>
<string>Ming</string>
</test>
<edit name="globaladvance">
<bool>false</bool>
</edit>
<edit name="spacing">
<int>0</int>
</edit>
<edit name="hinting">
<bool>true</bool>
</edit>
<edit name="autohint">
<bool>false</bool>
</edit>
<edit name="antialias" mode="assign">
<bool>true</bool>
</edit>
<test name="pixelsize" compare="less_eq">
<int>18</int>
</test>
<edit name="antialias" mode="assign" >
<bool>false</bool>
</edit>
</match>
</fontconfig>
Step 13、确认系统拥有zh_CN.UTF8
sudo dpkg-reconfigure locales
Step 14、安装firefox,openoffice,sun-java6-jre
sudo aptitude install firefox mozilla-firefox-locale-zh-cn openoffice.org sun-java6-jre
Step 15、卸载Server默认安装的nfs(网络共享用samba, 以后安装)
sudo aptitude remove nfs
Step 16、重启电脑
sudo reboot (sudo poweroff是关闭电脑)
Step 17、Login后享受Ubuntu+Fluxbox的惊人速度
startx
Step 18、安装xfe文件管理器
xfe是一个功能强大,耗能极少,速度极快的文件管理器,xfe 0.98版以后支持UTF8,安装前请确认版本号大于0.98目前(2007年4月)最新版是0.99-1,可到
http://sourceforge.net/project/showfiles.php?group_id=64835 下载deb包(xfe主页http://sourceforge.net/projects/xfe)
下载后先安装libfox-1.6-0
sudo aptitude install libfox-1.6-0
安装xfe(deb包)
sudo dpkg -i xfe_0.99-1_i386.deb
其他参考:
https://help.ubuntu.com/community/Installation/LowMemorySystems
http://fluxbox.sourceforge.net/
TAG: MyNote
我的栏目
标题搜索
日历
|
|||||||||
| 日 | 一 | 二 | 三 | 四 | 五 | 六 | |||
| 1 | 2 | 3 | 4 | 5 | 6 | ||||
| 7 | 8 | 9 | 10 | 11 | 12 | 13 | |||
| 14 | 15 | 16 | 17 | 18 | 19 | 20 | |||
| 21 | 22 | 23 | 24 | 25 | 26 | 27 | |||
| 28 | 29 | 30 | |||||||
我的存档
数据统计
- 访问量: 2179
- 日志数: 9
- 建立时间: 2006-01-25
- 更新时间: 2008-04-15
