Debian squeeze Installation

Source: Internet
Author: User

First install grub4dos and build startup entries

1. The installation of amd64 hard disk is normal,

Http://ftp.debian.org/debian/dists/squeeze/main/installer-amd64/current/images/hd-media/

This address is now available for hard disk installation: initrd.gz and vmlinuz.

Install and use cd1.

You cannot deal with the LVM partition of Fedora. You must first kill LVM before Debian can delete the partition.

2. Do not select to use the network during installation. You can also install basic desktops without too many software packages. Otherwise, the complete GNOME desktop will be installed, which is too big.

Connect to the wireless device during installation. Remember that the wireless device cannot be set to WEP2/wpa2 encrypted. Otherwise, the Debian password cannot be parsed and can be used after installation.

By default, the desktop environment, standard system, and notebook system are selected, which is quite good.

3. After the installation is complete, the source. List is all wooden, so the upgrade is not very good. Next, set the upgrade Source:

Http://www.soulol.com/201106linux-upgrade-source/

Based on this, you can add the upgrading source of the Chinese Emy of science and technology, which is faster to use. Of course, you can also use the source of the Chinese Emy of science and technology or Netease.

Comment out the CDROM source. Otherwise, it is very troublesome to insert a CD.

 #  Squeeze 
Deb HTTP : // Ftp.cn.debian.org/debian squeeze main contrib non-free
Deb - SRC HTTP : // Ftp.cn.debian.org/debian squeeze main contrib non-free

Deb HTTP : // Ftp.cn.debian.org/debian squeeze-Updates main contrib non-free
Deb - SRC HTTP : // Ftp.cn.debian.org/debian squeeze-Updates main contrib non-free

Deb HTTP : // Security.debian.org/squeeze/updates main contrib non-free
Deb - SRC HTTP : // Security.debian.org/squeeze/updates main contrib non-free

# Backports
Deb HTTP : // Backports.debian.org/debian-backports squeeze-backports main contrib non-free

# Iceweasel
# Deb http://mozilla.debian.net/squeeze-backports iceweasel-release

# Multimedia
Deb HTTP : // Www.debian-multimedia.org squeeze main non-free
# Deb ftp://ftp.debian-multimedia.org squeeze main non-free
# Deb http://www.debian-multimedia.org stable main non-free
# Deb ftp://ftp.debian-multimedia.org stable main non-free

4. install some basic tools.

Install Vim. My notebook is too new. 2.6.32 kernel does not support 1366*768 resolution. Therefore, we added the backports source to upgrade it to 2.6.38 kernel,

After the kernel is upgraded, the desktop resolution is adjusted after the kernel is restarted.

View the address

Https://ticketing.nforce.com/index.php? /Knowledgebase/article/View/27/0/upgrading-the-kernel-to-2638-in-debian-6-squeeze

The multimedia source is intended to install fake players, and iceweasel is designed to synchronize the latest Firefox.

Basic use of aptitude:

Directly input aptitude to go to the command line interface.

# Update the source

Aptitude update

# Upgrade the system

Aptitude upgrade

# Install the vim Software Package

Aptitude install Vim

# Search for the backports Kernel

APTITUDE search Linux-Image

# Will get a lot of kernel content, we choose linux-image-2.6.38-bpo.2-amd64

Aptitude install linux-image-2.6.38-bpo.2-amd64

# Check the conflict solution. Because of the Linux-base conflict, the first possibility is not to upgrade. Select the solution to upgrade the kernel. Kernel upgraded

5. If you select a Chinese environment during installation, it may be garbled after the first boot.

Aptitude

Select tasks-> localization-> simplifide Chinese Desktop

Choose ttf-arphic-gbsn001p ttf-arhic-gk00mp unifont xontf-Intl-Chinese xfonts-wqy

In this case, you can search and install TTF-wqy-zenhei TTF-wqy-microhei to install the wenquanyi font. The Chinese text should be displayed normally.

6. Reset locales

Dpkg-reconfigure locales

Choose en_us.iso -- 8859-1 en_US.UTF-8 zh_cn.gbk zh_CN.UTF-8 almost, not all en_us and zh_cn at the beginning of the hook.

The default environment can be selected by myself I use en_US.UTF-8

7. Install the ibus Input Method

Aptitude install ibus-pinyin

8. No sound is played after installation,

After the default installation, no sound is generated even if the volume is set to the maximum. Input alsamixer on the terminal to view a lot of volume control bars, move them to the speaker, and find that the value is 0, which is adjusted to 100,

Then you can use the volume applet on the desktop to control the volume.

The volume button cannot call the gnome setting. The error "gnome-volumn-control process cannot be found" may be solved by installing gnome-media.

Aptitude install gnome-media.

9. Install GCC make g ++ Autoconf

Aptitude install GCC make build-essential (including GCC-C ++)

Aptitude install linux-headers-'uname-R'

Aptitude Install SSH

10. sudo Tool

Aptitude install sudo

Edit/etc/sudoers to add your own users or use tranquility do (Debian is enabled with nano by default, and I will not use it, who told me how to enable mongodo to use Vim to open/etc/sudoers)

11. install network-Manager

Aptitude network-Manager-gnome

This tool can adjust the network connection in the form of Applet, which is quite useful, but after installation, it will find that the device is not hosted. You can solve the problem as follows:

Sudo gedit/etc/NetworkManager/NetworkManager. Conf

Set

[Ifupdown]

Managed = true

Change

Managed = true

Run/etc/init. d/network-manager restart.

You can.

Reference: http://www.cnblogs.com/babykick/archive/2011/03/25/1996006.html

Http://www.linuxidc.com/Linux/2010-08/27495.htm

12. My laptop is Acer 5750 GB, and the default installed wired NIC driver cannot be found. The startup will prompt that the tg3 module is missing, so search

Aptitude install firmware-Linux

(Firmware-Linux-free and firmware-Linux-nonfree will be installed in this package by default), so that no errors will be reported in the future.

13. Upgrade icewseal

Remember to add the icewseal source.

Http://mozilla.debian.net/

14. Debian multimedia support

Remember to add the Multimedia Source

Http://wiki.debian.org/MultimediaCodecs

Http://wiki.debian.org/Multimedia

For other settings, refer to the following:

Http://hi.baidu.com/%CF%C9%BE%B3%BB%C3%B7%E7/blog/item/0b58f5f10b1e4aa1a40f5213.html

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.