Customize Debian4.0r3 installation records

Source: Internet
Author: User
Tags automake
Customize the Debian4.0r3 installation record-Debian information for the Linux release. The following is a detailed description. 1. Update the DVD source
# Apt-cdrom add
# Apt-get update
A total of three DVD discs are available in sequence.

2. Configure locales
# Dpkg-reconfigure locales
Select:
En_US.UTF-8
Zh_CN.GB2312
Zh_CN.UTF-8
Zh_CN.GBK
Zh_TW.BIG5
Zh_TW.UTF-8
En_US.UTF-8 by default
Clear:
# Apt-get install localepurge

3. Install the X Window
# Apt-get install xorg

4. Install the font
# Apt-get install ttf-bitstream-vera ttf-dejavu ttf-freefont xfonts-wqy ttf-arphic-uming ttf-arphic-ukai ttf-arphic-bkai00mp tf-arphic-gbsn00lp ttf-arphic-bsmi00lp ttf-arphic-gkai00mp
Gunzip/usr/share/fonts/X11/misc/wenquanyi * // decompress the font to increase the speed

5. Use zhcon to support Chinese characters in the Console
# Apt-get install zhcon
# Vim/boot/grub/menu. lst # Add vga = 791 after the kernel entry, that is, 1024*768, and 788 = 800*600
# Vim/etc/zhcon. conf # comment out the "ime =..." section before the relevant input method
# Zhcon # The command and directory cannot properly display the input Chinese, but the Chinese document can be displayed and the input Chinese in vi
# Zhcon -- utf8 # display the directory normally and use Chinese characters in the command
In addition, the console supports:
# Apt-get install gpm # gpm is a console mouse Service
#/Etc/init. d/gpm start # Right-click and drag and select, and right-click and paste.

6. Install gnome
# Apt-get install gnome-core # desktop environment: gnome-desktop-environment
# Apt-get install TPD # Start Manager
# Dpkg-reconfigure xserver-xorg # You need to reconfigure it if it cannot be started

7. Let alsa drive your audio card
# Apt-get install alsa-base alsa-utils
# Alsaconf # One-Way carriage return
# Cat/dev/urandom>/dev/dsp # test sound, Ctrl + C termination

8. Install sound support for gnome.
# Apt-get install gnome-media gnome-audio esound # esound is a software mix in gnome

9. install necessary gnome management tools or programs
# Apt-get install gksu gnome-utils gnome-system-tools file-roller gconf-editor gnome-system-monitor gnome-volume-manager hal-device-manager gnome-screensaver
Where:
Gksu is performed by su or sudo when a management task is executed.
Gnome-utils is a small tool (such as the screen capture printscreen key)
Gnome-system-tools is a management tool desktop --> in system Management
File-roeller is the archive manager.
Gnome-system-monitor is the task manager.
Gnome-volume-manager for automatic device discovery
Hal-device-manager settings manager
Gnome-screensaver Screen Saver

13. Other Tools
# Apt-get install nautilus-open-terminal synaptic gaim iceweasel gimp evince
# Apt-get install build-essential subversion automake libgtk2.0-dev libstdc ++ 5
# Apt-get install rcconf sysv-rc-conf htop
# Apt-get install update-manager update-notifier
Nautilus-open-terminal Add the terminal to the right-click menu
Synaptic software package management (new)
Gaim chat tool
Iceweasel is the Debian version of firefox.
Image processing similar to photoshop in gimp
Evince reading PDF files
Build-essential development tools
Subversion Version Control
Create a makefile file using automake
Libgtk2.0-dev: Compile the GTK program, such as wxWidgets.
Libstdc ++ 5 class library, used in some installation packages, such as w32codecs
Rcconf sysv-rc-conf system service configuration
Htop Process Manager
Update-manager update-notifier Automatic Upgrade

10. Add the user to the sudoers list
# Apt-get install sudo # If sudo or gksu is not installed
# Chmod + w/etc/sudoers
# Vim/etc/sudoers
Add a row: username ALL = (ALL) ALL
Here, username is your user name. Save
# Chmod 0440/etc/sudoers

11. Install themes, icons, and backgrounds
# Apt-get install gnome-themes gnome-icon-theme-dlg-neu gnome-backgrounds

12. Use fcitx in an English System
Install and configure fcitx
# Apt-get install fctix
# Vim/etc/X11/Xsession. d/95 input
Enter the following content:
Export LANG = en_US.UTF-8
Export LC_CTYPE = zh_CN.UTF-8
Export XMODIFIERS = @ im = fcitx
Fcitx &
Save and exit vim.

13. Install the player
# Apt-get install mplayer
Download the deb package of w32codecs and install dpkg-I.
Set mplayer:
Start mplayer after installation. Right-click the main menu and choose Preferences/Properties> Video/Video,
In "Available drivers/Available driver", select "x11 ",
You can hook the lower half of the window to "Enable frame dropping ".
To enable mplayer to support subtitles in the srt format, first copy a Chinese ttf font file ~ In the/. mplayer/directory, change the name to subfont. ttf. In the gmplayer options (Preferences)-> Subtitle & OSD, select the Encoding item as "Simplified Chinese charset (CP936 )". If you want to use the command line to play a movie ~ Add the following line to the/. mplayer/config file:
Subcp = cp936
If you still cannot display subtitles, check whether the subtitle file name matches the movie file name. If the avi file is movie. avi, the subtitle file name should be movie. srt.
Enables the mplayer image to automatically scale with the window size.
Modify ~ Add the following line to the/. mplayer/config or/etc/mplayer. conf file:
Zoom = yes

14. PPPOE Internet access
# Apt-get install pppoeconf
# Pppoeconf
# Plog
# Pon dsl-provider
# Poff

15. Translation
# Apt-get install stardict
Http://stardict.sourceforge.net/
Download the free dictionary from the website and install the dictionary as follows:
Tar-xjvf a.tar.bz2
Mv a/usr/share/stardict/dic
Install dictionary files in Linux:
Follow these steps to install the dictionary:
Tar-xjvf a.tar.bz2
Mv a/usr/share/stardict/dic
The wyabdcrealpolicletts software package is a heartbeat file with the extended name .wav.
In Linux, extract the tarball file to "/usr/share/". In Windows.

Optimization: apt-get install prelink
Execute prelink-a-m

16. Install OpenOffice.org
# Apt-get install openoffice.org-writer openoffice.org-math openoffice.org-impress openoffice.org-l10n-zh-cn openoffice.org-help-zh-cn openoffice.org-gtk-gnome
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.