10/17/2008

Install process of Ubuntu8.X

The aim of this article is to log the ubuntu install process for PHP developers . So , if you want to work on Ubuntu , this article will give you some hands.
1 Install system by CD
Note:set the language to English

2 Directions layout
Select to manually edit the partition table. I’m doing my testing on a standard 80GB harddrive and will modify these sizes for production.


/boot ext3 200MB bootable
/ ext3 15GB or More (files are relatively static)
swap 4GB (4xRAM if you don't have much memory, down to 1xRAM if you have gobs of memory)
/home ext3 10GB (personal files)
/repository ext3 40G (for you other archives)
/backup ext3 16G (workspace)

3 add the resurce


deb http://archive.ubuntu.org.cn/ubuntu-cn/ hardy main restricted universe multiverse

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

deb http://archive.ubuntu.com/ubuntu/ hardy main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ hardy-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ hardy-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ hardy-proposed main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ hardy main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ hardy-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ hardy-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ hardy-proposed main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multivers


then

# sudo apt-get update

4 edit fstab

mkdir /home/edwin/workspace
mkdir /home/edwin/repository
sudo gedit /etc/fstab

then add the fllowing

/dev/sda6 /home/edwin/repository ext3 defaults 0 0
/dev/sda5 /home/edwin/workspace ext3 defaults 0 0

5 setting the SCIM
if you have set the current profile that the scim is available, the following process is just for you.
5.1 install scim pinyin
 sudo apt-get install scim-pinyin

5.2 setting scim
sudo im-switch -s scim

5.3 Edit the file /etc/X11/xinit/xinput.d/scim by typing in a terminal (Applications>Accessories>Terminal):
sudo gedit /etc/X11/xinit/xinput.d/scim

If you want to use scim input in KDE applications, you will also have to change the following line :

GTK_IM_MODULE="xim"
QT_IM_MODULE="xim"

into :

GTK_IM_MODULE="scim-bridge"
QT_IM_MODULE="scim-bridge"

5.4 sudo gedit /usr/lib/gtk-2.0/2.10.0/immodule-files.d/libgtk2.0-0.immodules

find the followling line,

"xim" "X Input Method" "gtk20" "/usr/share/locale" "ko:ja:th:zh"

change the them into:

"xim" "X Input Method" "gtk20" "/usr/share/locale" "en:ko:ja:th:zh"


6 setting Right Click Terminal Menu
sudo apt-get install nautilus-open-terminal


7 setting the docs reader
sudo apt-get install xpdf-chinese-simplified xpdf-chinese-traditional poppler-data

8 install zip tools

sudo apt-get install unrar p7zip-full cabextract

9 install devs tools

install zend server
sudo apt-get install build-essential autoconf automake subversion
sudo apt-get install mysql-server mysql-client

10 install system rc tools

sudo apt-get install sysv-rc-conf

No comments: