Full version of debian quick Configuration Guide

Source: Internet
Author: User
Debian quick Configuration Guide full version-Linux Release Technology-Debian information, the following is a detailed description. For more information, see thedebian Chinese wiki (www.thedebian.org.cn)
Here I will use some poor texts to explain how to configure a sound debian system. Of course, if you want to go deeper, you can go to the Forum to study it.

If you download the installation cd and the network speed is also acceptable, I strongly recommend that you use the network update method to obtain the updated software package and system components. Of course, if you use a DVD, you can also update it.

1. Source settings

# Su
# Gedit/etc/apt/sources. list
You can select the following sources and I personally recommend that you use the testing source to obtain the updated software. Of course, if you select unstable, you only need to change the testing in the source

Unstable.

China Netcom Telecom General Source:
Deb http://debian.cn99.com/debian testing main non-free contrib
Deb-src http://debian.cn99.com/debian testing main non-free contrib

Deb ftp://debian.anheng.com.cn/debian testing main non-free contrib
Deb-src ftp://debian.anheng.com.cn/debian testing main non-free contrib

These sources contain the packages required by the basic system. If you need more sources, see thedebian Forum's source list summary and linuxsir's top quality.

2. Configure the System Language

Configure your locale to execute dpkg-reconfigure locales select the locale you want to use, select the en_US.UTF-8 zh_CN.GB2312 zh_CN.UTF-8

Zh_CN.GB18030 zh_CN.GBK, press enter, and select your system default locale (that is, your system default language)

3. Install the font (of course, you can also select the WQY font)
Add the following to/etc/apt/sources. list:
Deb ftp://debian.linux.org.tw/pub/apt testing main
Deb ftp://ftp.hk.debian.org/unoffical/dlot-apt testing main

Run:
# Apt-get update
# Apt-get install ttf-fireflylinks
Install fireflylinks

Note:
# Ttf-arphic-bsmi00lp-winding PL? Shanghai Song (ar pl Mingti2L Big5), including Big5 Zhongyi? More than three thousand ?? Fan? Word.
# Ttf-arphic-bkai00mp-winding PL Zhongkai (ar pl KaitiM Big5), including the Big5 Zhongyi? More than three thousand ?? Fan? Word.
# Ttf-arphic-gbsn00lp-winding PL ?? ✓ (Ar pl SungtiL GB), including more than seven thousand ???? Word.
# Ttf-arphic-gkai00mp-winding PL? Zhongkai (ar pl KaitiM GB), including more than seven thousand ???? Word.
# Ttf-arphic-uming-winding PL Shanghai sonuni (ar pl ShanHeiSun Uni), including two in GB2312, Big5, and HKSCS? More ?? Traditional ?? Word.
# Ttf-arphic-ukai-winding PL Zhongkai Uni (ar pl ZenKai Uni), including two in GB2312, Big5, and HKSCS? More ?? Traditional ?? Word.

WQY Font:
# Apt-get install ttf-ariph-uming xfonts-wqy

4. Configure your input method
SCIM Input Method
# Apt-get install scim-pinyin scim-tables-zh im-switch
Among them, scim-tables-zh is a software package that supports the five-stroke input method. If you only use Pinyin, you do not have to install it.
After installation, execute the following commands in the terminal. Each time the scim Chinese input is started, it is automatically loaded, and the icon is displayed in the gnome system tray.
% Im-switch-s scim-z default

FCITX Input Method
# Apt-get install fcitx im-switch
# Im-switch-s fcitx-z default
Friendly reminder (if you are using an English system, you still need to make some settings)
Create a 95input file in the/etc/X11/Xsession. d/directory as follows:
Export LANG = zh_CN.UTF-8
Export LC_CTYPE = zh_CN.UTF-8
Export LC_ALL =
Export XMODIFIERS = @ im = fcitx
Fcitx &

5. Installation of the video card driver
I. Da
1. Install the required package
Gcc, make, glibc, libc6, and kernel-header (the header file is not in the source. Please add the source of HKUST)
Edit
# Gedit etc/apt/sources. list
Add
Deb http://debian.ustc.edu.cn/debian testing main non-free contrib
Deb-src http://debian.ustc.edu.cn/debian testing main non-free contrib
Deb http://debian.ustc.edu.cn/debian proposed-updates main contrib non-free
Deb-src http://debian.ustc.edu.cn/debian proposed-updates main contrib non-free
Deb http://debian.ustc.edu.cn/debian-security testing/updates main

2. Install the compiling environment
# Apt-get install build-essential pkg-config xserver-xorg-dev

3. Check version
Run the command to ensure that the installed gcc version is the same as the gcc version that compiles the current kernel.
# Cat/proc/version (compile the gcc version of the current kernel)
# Gcc-v (gcc version installed)
If the version is different, reinstall gcc to make it the same as the gcc version used to compile the kernel. Similarly, ensure that the kernel-header version is the same as that of the current system kernel.

4. Go to the official website to find the driver.
Http://www.nvidia.com/content/drivers/drivers.asp some old graphics card is no longer supported by this generic version of the driver installation package, such as TNT, TNT2

. If you are using this type of graphics, download the legacy GPU driver http://www.nvidia.com/object/unix.html.
In appendix A of the official document, you can check whether the driver you downloaded supports your video card chip.

5. Exit the X Environment
Direct logout
Or:
/Etc/init. d/TPD stop

6. Install the driver package
Enter the download directory of the driver installation package and run the following command (enter the name of the downloaded driver package to replace the name in the example ):
# Sh NVIDIA-Linux-x86-1.0-7184-pkg1.run

7. gedit/etc/X11/xorg. conf

Join

Option "glx"
After installation, restart the system to view the nvidia LOGO.

Ii. AMD
Go to ati.amd.com to download your driver.
The installation method is the same as that of nvidia.

6. Install the ALSA Sound Card Driver
# Apt-get install alsa-utils alsa-base alsa-source
# Alsaconf
Press ENTER

7. Multimedia Environment
1. Banshee multimedia center
# Apt-get install banshee

2. aubacious
Add official sources
Deb http://vdlinux.sourceforge.jp/experimental audacious
Deb-src http://vdlinux.sourceforge.jp/experimental audacious
Run the following command:
# Apt-get update
# Apt-get install aubacious

3. Play rmvb, rm, wmv, asf, and other files
Required Software Package: w32codecs

Add the source of the package w32codecs:
# Su
# Gedit/etc/apt/sources. list

Add:
# Deb http://www.debian-multimedia.org testing main
# Apt-get update

Installation:
# Apt-get install w32codecs

Enter the following in the console:
# Rm-rf/usr/lib/win32/drvc. so/usr/lib/codecs/drvc. so

3. Install MPlayer
# Apt-get install mplayer

How to Set Chinese subtitles for Mplayer
In Preferences-Font, click "Browse" to select a Chinese Font and Encodeing to select Unicode.
Choose Encoding in Preferences-Subtitle & OSD:
Simplified Chinese Charset (cp936)

Adjust the subtitle size in Preferences-Font "Text scale"

8. Star translation king of translation software In debian
# Apt-get install stardict
After installation, You need to download the dictionary library from the official website.
Http://stardict.sourceforge.net/cn/Dictionaries.php

The installation method is clear (an example is provided on the website ):
Install dictionary files in Linux:
Follow these steps to install the dictionary:
Tar-xjvf a.tar.bz2
Mv a/usr/share/stardict/dic

Confirm that you have completely exited stardict, and then restart, you will see your installed library in the dictionary management area.

9. Configure firefox
1. Add source to/etc/apt/sources. list
# Deb http://www.backports.org/debian testing-backports main contrib

2. Import the archive key
# Wget-O-http://backpots.org/debian/archive.key | apt-key add-

3. Install
# Apt-get update
# Apt-get install flashplugin-nonfree
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.