Tutorials to .com

Tutorials to .com » Os » Ubuntu » Ubuntu Linux operating system after the installation of custom settings

Ubuntu Linux operating system after the installation of custom settings

Print View , by: iSee ,Total views: 4 ,Word Count: 1996 ,Date: Tue, 9 Jun 2009 Time: 12:29 PM

1, the installation of the basic system

Here to install ubuntu 7.04 using the Alternate CD. Use Alternate CD boot, and then select "command line system install (Install Command Line)" for a minimum of installation, in this step, we should pay attention, we do not choose a Chinese language environment, or in a terminal window under a variety of tips, many are Chinese. In the absence of loading prior to the completion of X Window, you can only see a small box, a pile of clutter. Also during the installation process can be done about the network settings.

System partition

Under Linux must have at least two partitions, one / swap partition exchange, one is / root partition.

Recommend selection of the general desktop users ReiserFS file system, partition the program are as follows (80G):

/ swap 512M

/ 8G

/ home 70G

swap partition is not recommended for more than 1G, no less than 128M.

2, the network configuration

In the basic system installation is complete, will require a system restart, use the settings during the installation process the account number and password.

The use of ADSL Internet access, where to set up ADSL:

sudo pppoeconf

pon dsl-provider # on-line

poff # line

Non-dial-up users use the following command to set up network

sudo vim / etc / network / interfaces

LAN through DHCP to obtain IP address automatically

# The primary network interface (the main network interface configuration)

# Boot automatically activate the eth0 interface

auto eth0

# Configure eth0 interface to obtain DHCP automatically

iface eth0 .net dhcp

access to IP Address

sudo dhclient eth0

LAN static IP address allocation

# Boot automatically activate the eth0 interface

auto eth0

# Eth0 interface configuration settings for static IP address

iface eth0 inet static






Activated more than set

sudo / etc / init.d / networking restart

DNS settings

sudo / etc / resolv.conf



3, amended and updated source

sudo vim / etc / apt / sources.list

After the default installation of the official sources in Asia, it is proposed to amend Netcom source for the National Taiwan University, telecommunications CN99 modify the source for the specific reference here can. And then update the source (my sources.list):

sudo apt-get update

sudo apt-get dist-upgrade

Update time to pay attention to the integrity of updates

4, the installation of the basic graphics system and window manager

sudo apt-get install x-window-system-core gdm build-essential

x-window-system-core is the core x-window components; gdm is the Gnome login screen, similar in KDE with kdm login screen and another lightweight xdm; build-essential is a must-source compiler components.

Window manager to use fluxbox, from its own compiler, the compiler requires the following components when fluxbox

sudo apt-get install xorg-dev xserver-xorg-dev checkinstall xlibs-dev

Fluxbox Home to download the latest source package, extract, in the terminal cd into the directory extract, and then compile (I was under the v1.0rc3):

tar zxvf fluxbox-1.0rc3.tar.gz

cd fluxbox-1.0rc3

. / configure


sudo make install

After installation, set up GDM, you can choose from in the GDM interface, such as Fluxbox or Gnome-based environment to start.

Do not install any desktop environment, users can create their own home directory. Xsession file, or create. Xinitrc file, fill in the following:

exec startfluxbox

For a number of conditions need to switch users to / usr / share / xsessions / create fluxbox.desktop document, fluxbox specific settings see here, here, accompanied by my apps, keys, menu files, and my fluxbox theme.

5, the installation of graphics drivers

Download the official nvidia driver to

Nvidia graphics card drivers installed for the time changes to the core, where the need for a component:

sudo apt-get linux-headers-`uname-r`

Note the single quotes above is that under the Esc key, not the left of the Enter key.

Graphical interface of the future if we try to amend the screen refresh rate or resolution in the terminal or run dialog box enter


Can refer to the installation here.

Related command

start-up and shut down gdm

sudo / etc / init.d / gdm stop

sudo / etc / init.d / gdm restart

6, Simplified Chinese language pack installed and input method

sudo apt-get install language-pack-zh language-pack-gnome-zh

System of Simplified Chinese language pack.

sudo apt-get install fcitx

Input method, as well as a SCIM.

This input method also needs a manager

sudo apt-get install im-switch

After installation to activate the input method

sudo im-switch-s fcitx

System font set

sudo fc-cache-f-v

7, adjustment to change the time zone, time

If at the same time, installed windows, then windows not opened as a result of UTC (GMT), will lead to the wrong time, this time to implement:


Follow the prompts to choose the time zone, and then:

sudo cp / usr / share / zoneinfo / Asia / ShangHai / etc / localtime


sudo ntpdate cn.pool.ntp.org

cn.pool.ntp.org are located in China's public NTP server to synchronize your time.

8, the installation of related tools and software

sudo apt-get install gksudo

Installed fluxbox menu in the menu to add) (gksudo command, it will prompt directly on the X under the su password.

sudo apt-get install synaptic

Gnome's Synaptic package manager, is the graphical interface of the source manager.

sudo apt-get install feh fbpager

feh: a picture to see the tools, Fluxbox wallpaper settings used fbsetbg after fbsetbg can automatically find a set of procedures wallpaper, feh is one.

fbpager: Fluxbox extended virtual desktop tool.

Set wallpaper:

fbsetbg-f / home / lost / .wp.jpg

sudo apt-get install gnome-session gtk2-engines *

gnome-session: more than simple gnome-core aim is to load fluxbox start when gnome-settings-daemon, so that the procedure interface GTk look less ugly.

gtk2-engines *: gtk theme engine appearance, loading the gnome-settings-daemon will bring it into force.

Bahrain, after more than two should have been fitted with a Gnome settings center: gnome-control-center, which includes the Gnome environment variables all point to modify the link tool.

sudo apt-get install gnome-alsamixer

gtk graphical interface tool to adjust the volume. After the installation is the default mute the volume, open the volume adjustment tool, the check box to mute the arrow can be removed.

sudo apt-get install rox-filer file-roller

rox-filer: file manager.

file-roller: a variety of front-end graphics package.

sudo apt-get install sun-java6-jdk

java development environment, comes with java runtime environment.

sudo apt-get install conky

The desktop displays the current system state, if there blinking after the installation, the solution is as follows:

Installation wmctrl:

sudo apt-get install wmctrl

Modify xorg.conf file:

sudo vim / etc/X11/xorg.conf

Module to join his party in the paragraph:

Load "dbe"

Save, then exit.

Conky set up the configuration file (my. Conkyrc configuration file):

vim ~ /. conkyrc

Set up the following:

own_window yes

own_window_type override

double_buffer yes

Save, then exit.

Restart the system just fine.

9, the installation of high-level applications

sudo apt-get install vim-full vim-python scite openoffice.org openoffice.org-gtk openoffice.org-l10n-zh-cn evince xpdf xpdf-chinese-simplified xpdf-chinese-traditional gimp wine

vim-full vim-python is a complete component Vim.

scite editor is lightweight, Simplified Chinese language file into locale.properties install scite directory, usually / usr / share / scite, together with my user profile SciTEUser.properties.

openoffice.org famous openoffice, openoffice.org-gtk and Gnome can Ooo consistent theme, openoffice.org-l10n-zh-cn is the openoffice Simplified Chinese language pack.

evince is a tool to view PDF documents, xpdf xpdf-chinese-simplified xpdf-chinese-traditional three components used in Chinese PDF documents part of the solution the problem of garbled.

gimp is similar to Photoshop things, and now there is no Linux version of PS.

Windows procedures necessary to install wine.

sudo apt-get install amule filezilla firefox mozilla-firefox-locale-zh-cn thunderbird tsclient mplayer mozilla-mplayer vlc vlc-plugin-esd mozilla-plugin-vlc

amule is mule power under Linux.

filezilla is the FTP tool.

mozilla-firefox-locale-zh-cn for Simplified Chinese is the firefox package.

Firefox and thunderbird are the source of the same e-mail tools, but I use it to read news groups and RSS news, it is the Linux on the best Chinese-language news group support tool.

tsclient is a Remote Desktop under linux tools.

mplayer Linux the most powerful multimedia player, as the intellectual property reasons, the source 704 does not provide its download w32codecs decoder can be downloaded to its official all-20061022.tar.bz2 and windows-all-20061022.zip two packets, after the former mv unzip to / usr / lib / codecs, the latter mv to / usr/lib/win32 directory can be, both on the establishment of the directory if it does not.

mozilla-mplayer firefox plug-in mplayer to play FF support page embedded media.

VLC media player, but does not support real format.

In addition, there are a number of software, not the source or sources on the older version or not used:

Opera: the best web browser, available at its official website.

Pidgin: originally called Gaim, can download the deb package getdeb, including pidgin and pidgin-data. Installation:

sudo dpkg-i package

Skype: Needless to say you.

Download MultiGet graphical interface tools, the upgrade now, development, code-named monma, download here.

Tux Commander tool similar to Total Commander.

10. End

At this point, their own custom operating system has been completed, and, of course, also according to their need to continue to install other software.

Ubuntu Articles

Can't Find What You're Looking For?

Rating: Not yet rated


No comments posted.