Debian 6 installation notes

Source: Internet
Author: User

Now debian6 is installed, code name: squeeze, right? A few days ago, in the Microhu's Blog, I met a blogger and asked me what linx system I was using. So I chatted. at that time, Microhu said that he used debian to feel fast, and I felt itchy. I have always heard that debian is very good and stable. although the software is relatively old, I am not a new owner, even when I use ubuntu, I have never updated it. think about it. I haven't installed any other systems since 10.04. A person who has never even used 10.10, even the new 11.04 is not a bird, haha. In this case, the stability of debian is exactly what I need. I immediately moved to download the cd1. There are so many debian installation discs, more than 40 CDs, and 5.6 DVDs. I don't know why.

Fortunately, you can only download CD1 for installation.

The installation process is a little less problematic. After all, I have used ubuntu for a long time and those partitions have problems. The problem of setting things is swept away, But after entering the system, there are still a lot of problems. So let's record it here. If anyone wants to install debian, we can talk about it. Haha.

Let's talk about the problem.

The first problem is garbled characters.

Select Simplified Chinese during installation, but after installing the system, enter the desktop. i'm depressed. Let's look at the mahjong words one by one. fortunately, there is a solution on the internet because the font is not installed. take the win in win.

Su // The su command is used here. Because sudo has not been configured, you cannot use the common user to convert the root permission cp simsun. ttc/usr/share/fonts/truetype/chmod a + r simsun. ttc // then add the read permission to the font. fc-cache-f // refresh the font cache fc-list // check whether is installed.

In the same way, you can also install Microsoft ya in win for debian.

In this way, the problem of font garbled characters is solved.

The second is to solve the network problem.

(The following are all root operations)

Activate the NIC first

ifconfig eth0 up

The next step is to install your network client, which is different from the individual here. Because our school uses the h3c client, we will not talk about the process.

After connecting to the network, enter the following command to change the original source,

gedit /etc/apt/sources.list

Because the disc is used during installation, the default content in the source is to read from the disc, but the content in the disc is limited after all, and I have taken out the disc. therefore, replace/etc/apt/sources with the following content. the line in the list without comments

deb http://mirrors.163.com/debian squeeze main non-free contribdeb http://mirrors.163.com/debian squeeze-proposed-updates main contrib non-freedeb http://mirrors.163.com/debian-security squeeze/updates main contrib non-freedeb-src http://mirrors.163.com/debian squeeze main non-free contribdeb-src http://mirrors.163.com/debian squeeze-proposed-updates main contrib non-freedeb-src http://mirrors.163.com/debian-security squeeze/updates main contrib non-freedeb http://http.us.debian.org/debian squeeze main contrib non-freedeb http://non-us.debian.org/debian-non-US squeeze/non-US main contrib non-freedeb http://security.debian.org squeeze/updates main contrib non-free

I am using a 163 source, and I feel the speed is okay.

Update the apt source.

apt-get update

Run the following command to fix the installation errors.

apt-get -f install

// This command may vary from person to person. Some people may not need it, but I have encountered it. I don't need to install other software.

The root user group is added.

The next step is something terrible. as mentioned above, the su command is used to switch to the root identity. we all know that common users can switch to the temporary root, but when you test it, you will find that the sudo command is not found at all, so someone on the Internet said, modify the/etc/sudoers file. here, I will ask the people on the Internet who teach debian root user groups everywhere. Have they actually installed debian? There is no sudoers file in/etc. You can edit it! I really want to say something to them. Don't miss people if you haven't done it in the future !!

When I said that, I was so angry that I found sudoers files everywhere, but I couldn't find them. the last reason is that sudo is not installed in debian, so you cannot find this file in the sky.

Solution (root command)

Apt-get install sudochmod u + w/etc/sudoers // Add write permission to this file gedit/etc/sudoers

Find root ALL = (ALL) ALL and add

Sayme ALL = (ALL) ALL replace sayme with your Username

Then change the File Permission,

chmod 0440 /etc/sudoers

Without this step, your common users cannot use the sudo command.

In this way, you can use the sudo command as an ordinary user.

Since then, the problems I encountered during debian installation have basically been solved. Of course, installing the input method is not a problem. Also> here we will talk about it.

Now, I want to talk about the people on the Internet. After debian is installed, there is no fcitx in the source, and people need to use the apt-get command to install it!

I downloaded the deb package from the googlecode project homepage of fcitx and installed it.

sudo dpkg -i *.deb

That's all. why is dpkg used? Double-click deb In debian to open the deb package using archive manager instead of default installation. to install the software by double-clicking the deb package, you need to install a software that teaches gdebi.

sudo apt-get install gdebi

Double-click the deb package and you will be prompted to install it by default.

The basic problem has been solved, but there must be more problems to wait for. No way, I will do well when using debian.

Be prepared. If you encounter any problems, it means that I have made progress.

Do you want to use debian? Can communicate with others. The speed is very fast. It is suitable for those who like conciseness ~~

Original article: http://isayme.com/2011/05/debian6-install-note/

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.