Debian 8.2.0 (Jessie) Quick and pure installation tutorial

Source: Internet
Author: User

Debian 8.2.0 (Jessie) Quick and pure installation tutorial

In this article, I will try to describe how to quickly install pure Debian 8.2.0. I need to understand how to use the vi editor.

If you are a newbie who has never used the vi editor, you don't have to worry about it. I will try to describe how to use it in detail.

First download the network installation CD or complete DVD image on the Debian official website, DVD image only need to DVD-1.

After the image is downloaded, it is made into a USB flash drive and started from the USB flash drive.

On the Wizard Page, select Graphical install to go to the installation process.

Select the language interface, select Chinese, and do not need to use the bird language, it looks tired.

The prompt is good-hearted, but I saw a garbled code during the installation process, which is also the figure below. Select "yes" and click "Next.

Select region and China.

Enter the host name.

If the domain name is left blank, go to the next step.

Set the root password, set it, and remember, super administrator account.

Create a new user. This is just a nickname. It is not the username used for Logon. You can set this parameter based on your preferences.

This is the username used to log on. Pay more attention to the settings and remember it. (In fact, you can't remember it, but you still have root ).

Set the user password.

Next, the disk is partitioned. I use virtual machines, but the methods are the same.

If you have free partitions, we recommend that you use the installer for automatic partitioning. Of course, you can also perform manual partitioning.

If you are new to automatic partitioning, we recommend that you place all files in the same partition. If you have experience, you can adjust it based on your preferences.

Remember the Mount/root directory for manual partitioning. Otherwise, an error is reported.

Swap partition (swap partition) is recommended to be twice the physical memory size. For example, if my actual memory is 2 GB, just give the Swap 4 GB.

After the adjustment, save the partition table.

Note that you need to remember the Partition Number of the mounted root directory/to facilitate the subsequent installation of grub.

Select Yes.

For software installation, since the tutorial is written about pure installation, it must be pure first. For the popularity of software packages, do not participate.

Do not scan other DVDs or use network images.

I made a tutorial with a complete DVD-1 image for speed, if it is a network to install the image will not have the following prompt, for the network image site also choose not to use it on the line.

Select ftp.cn.debian.org from China.

If you select a software package for installation, of course, it is not all selected. You need to install it manually later. If you install the desktop environment here, it will connect to the security server to update the kernel. The speed is really waiting for you to cry.

After the installation is complete, configure Grub. If you do not want to replace MBR with Grub, select manual input.

Then enter the file system of the mounted root directory/you configured earlier. For example, if/sda1 is used earlier, enter/dev/sda1.

After the installation is complete, unplug and start the USB flash drive and click Continue.

Go to the Grub boot page after boot. If MBR is not replaced, manually add the Grub boot item in the Windows Startup manager under the Windows operating system.

EasyBCD and WinXP can be used for Windows 7. There are a lot of methods to use it on Baidu, which is very simple and will not be introduced.

It should look like this when you access Grub normally. If the graphic interface is not installed, the default Interface is really ugly.

Press enter to enter Debian. If the following interface appears after the system is loaded, the startup is successful.

Enter root after login, password, and the set super administrator password to enter the system with super administrator privileges.

Enter the following command:

vi /etc/apt/sources.list

Go to the vi editor to edit the source image site.

Press o to create a new row and enter the following content.

deb http://ftp.cn.debian.org/debian jessie main non-free contrib deb http://ftp.cn.debian.org/debian jessie-proposed-updates main contrib non-free deb http://ftp.cn.debian.org/debian-security jessie/updates main contrib non-freedeb-src http://ftp.cn.debian.org/debian/ jessie main contrib non-free

After the input is complete, press the Esc key in the upper left corner of the keyboard to exit the editing mode, move the cursor with the arrow key to position, delete all entries with the CD-ROM words.

Press d twice in a row, that is, you can enter dd to Delete the current row where the cursor is located (You need to exit the editing mode to make it take effect; otherwise, two d S are added). You can also use the Delete key to Delete the row one by one.

After the deletion is complete, enter the following content to save and exit. Note that there is a colon before it:

:wq

After exiting vi, enter the following command to update the software source:

apt-get update

After the update, you will find some diamond characters in the middle, because Chinese characters cannot be loaded on the Linux command line interface.

Install Chinese fonts:

apt-get install ttf-wqy-*

Install the xfce4 graphic interface. Of course, you can also install the kde4 or gnome desktop environment. Depending on your preferences, you can compare the advantages and disadvantages of different desktops with Baidu.

apt-get install xfce4 xfce4-terminal

After the installation is complete, enter the following command to log out of the root user:

exit

If the message "login" is not returned, repeat the preceding command again.

After successfully logging out of the root user, log on with the user name and password you set. Enter the user name and password, and enter the command to start the desktop environment.

startx

Now you can see the desktop environment. You don't need to talk about the rest.

If Chinese characters are garbled, enter the xfce terminal with the root permission or enter the following command on the command line interface:

dpkg-reconfigure locales

Select the direction keys Up or Down. Page Up/Down can be used to flip pages. Space key selection.

Select all the items starting with zh_CN, press the Enter key to save, and select zh_CN.UTF-8 as the default locale. Wait until the system is restarted to solve the garbled problem.

Finally, there is another thing before you go to bed at night: execute the following command.

apt-get updateapt-get upgrade

After that, turn off the power of the monitor and let the system update automatically. The so-called Fast installation is to put the system update during the installation process to the end, that's all.

------------------------------------------------------------

This installation method has a disadvantage, that is, you must manually run the command to start the desktop environment after each startup, but this does not have much impact, A six-character command can be completed in two seconds.

This article permanently updates the link address:

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.