Install Debian Linux 3.0R1 system

zhaozj2021-02-17  89

1. Prepare the computer to install Debian Linux

Don't say this.

2, install the system

Debian guides twice during the installation process, which is different from other Linux release versions, which also brings difficulties in a system installed and other Linux distribution, but it is difficult. First, boot from the CD-ROM or boot disk, then use it to install and configure other elements of the kernel and system. Then carry out the second boot (this time the kernel installed on the hard disk), then configure or install other applications.

2.1 First guidance

After startup, boot appears: You can use the F1 key to see the help option. Select the boot loader of the kernel according to your own situation. After the first guidance successfully loads the kernel, the scrolling subtitles will appear on the display, which is initialized by himself and those known devices. After the kernel is successful, the installation script starts running. First, you're prompted you to choose the language installed, you can be in English, German, and more. This marks that you have successfully launched the kernel and prepare to start installing. The first substantive phase of the installation is entered.

Debian's installation process is divided into a series of steps. Some of the steps that can be skipped can also be installed in other orders. It is recommended to step by step in order, these settings are not different, you can always return to modify.

Configuring the keyboard

Select the correct keyboard type from the list, maybe you can choose the QWERTY / US keyboard.

Hard disk partition

After configuring the keyboard, the next step is to partition the hard disk. Use the Linux tool to do it, be careful not to mess with other systems on the system, or it will destroy the previous work. The Debian Partition Tool (CFDisk) will display some partitions that have been defined on the screen while displays a list of operations at the bottom. Use the keyboard to get the cursor to select the partition of the operation. You should pay attention to some of them: Write writes the change to the hard drive, Quit does not save the modified modification to introduce, if you misuse or delete partitions of other systems, then this is the best way to save.

You need to create a Linux exchange partition and multiple file system partitions, to create a partition from the ground to select the New operation (if there is available free space), then create these partitions. If you don't have free space, you can do just to change the type of partition. This situation is likely to be left to one or several partitions under Windows to place Debian.

Linux uses two different partition types: file system partitions and swap partitions. The partition created by this tool is the Linux file system partition, you can set it to any other type of partition, select the TYPE type operation under the bottom. A partition type menu will appear. Enter the desired partition type, then press Enter.

After modifying the partition table, select WRITE, enter Yes. Then select Quit.

Initialization switch partition

The hard disk partition is initialized to initialize the exchange partition, and a list of exchange partitions available will appear, and select the exchange partition that intends to initialize. Different Linux distributions can use a swap partition, if your system is installed multiple Linux systems, you can use only the same swap partition. In the system, this requires an exchange partition, of course you can use multiple. This is very common in early Linux systems. Early Linux core requires that each swap partition cannot exceed 128MB. For a heavier load server, the exchange memory is 256MB or even more is normal, so the system often There are multiple swap partitions. This restriction has been removed.

Initialization and assemble Linux partition

Before starting installation, you must also initialize and load other partitions. This process is similar to the inner installation exchange partition. Select Initialization, select the corresponding Linux partition from the menu, answer Yes for the next two issues, and processes the next partition until all partitions in the menu are initialized.

When the ROOT partition is initialized, it will be asked to load it as root. Answer Yes. Then return the front screen, including other partitions that need to initialize and load, or start installing the basic system. The installation can only be installed only after initialization and assembling all Linux partitions. Install operating system and module

Next, you will ask the selected installation media. Select the corresponding media and provide more accurate content asking. The location of the CD-ROM is asked for CD-ROM. If you do not try special media, such as a network installation or from the MS-DOS partition, select the appropriate option from the menu. When the installation script finds the required file, the path will be selected to determine the location of the kernel file used to start. In general, simply select from the list of listed directories. The installation script will be installed from the disk image file from the disk image file.

Configure the launcher and module

At this time, a list of module types is displayed, which are close to the kernel modules included in its floppy disk. View, then select the appropriate module, you can see more options by flipping the screen up and down. At least you should check the options in the FS, you can install the FS / NTFS module here. You can read the file system of Windows NT / 2000 / XP / 2003, MISC (other starter, especially mouse, serial port, and ISDN), and NET (different hardware network interfaces). After completing, select EXIT. This will enter the network configuration.

Configuring the network

Install your network situation Enter the corresponding call, if there is no network, this is a simple setup host name.

Install basic system

After COPY, you will ask you a series of questions.

Configuring basic system

Configure the startup process. You can use a hard drive to start or create a boot boot disk or directly restart.

Next, you need to decide that LILO is installed in that partition, as long as it is not a MS-DOS / Windows partition, then it will not use that partition in the end. It will ask if LILO is installed in the main boot partition. Usually answer Yes, but if you want to use GRUB boot and multiple Linux systems, you may not want to do this. Next, when you need to decide, Debian is the default operating system, which is a personal preference to decide.

After completing this process, you will ask if you make a boot disk to prevent it. It is best to make one. Finally restart the system. If you can start directly from the CD_ROM, you need to take the Debian CD-ROM to take it, only this system can start from the hard drive instead of starting from the CD-ROM. From the CD-ROM, it will be reinstalled.

Second guidance

If everything goes well, then the system will boot to the next phase of the installation process, if an error is booted from the kernel installed in the hard disk, then it can be restored. Start with the guide disk or start from the disc (like the previous approach), enter the following command (replace this / dev / hda1) with the actual Linux root partition):

Boot: Rescue root = / dev / hda1

This continues the installation process using the kernel on the floppy disk or the core. Next, you must compile and install your own kernel so you can start correctly. To do this, you must download the kernel source file and install the GCC-Linux standard C compiler.

After the computer starts, you need to do some configurations before actually use your computer.

The first issue is about the time zone where the location. You can select three letters from the left, or press the right cursor key to select a time zone by name.

Next, you need to select the GMT or local time in the system hardware clock. If you don't use the time server or a multi-system coexistence, you should choose local time.

PPP service settings

According to your own situation, there is a dial-up service setting.

MD5 encryption and hidden password

Of course, you need to hide the password, this option will create a named / etc / shadow file, where all password information is saved. This file is only root readable. This has further strengthened safety. Select root password

A root password will be required. Read the explanation of the explanation

Add user

When you ask, you should create an ordinary user account. Operation with root accounts is very unsafe, and should only use the root account when system maintenance is performed.

Hidden password

Of course, you need to hide the password, this option will create a named / etc / shadow file, where all password information is saved. This file is only root readable. This has further strengthened safety.

PCMCIA

PCMCIA is a notebook extension standard. Most desktops do not need PCICMA support. But no matter what, the installation process will be installed, so that you can also complete the installation in your notebook. The PCICMA package can be removed from the inner sum unless it is a notebook.

After completing these configuration options, enter DSELECT to complete the phase of the installation. DSELECT is a debian package management system that can be installed and removed by it.

Install the application using DSELECT

Select Access Method

The DSELECT menu shows a series of steps for installing the package. First, you need to select the access method, so you need to press Return. You may be installed from the CD-ROM, so select this option, unless you know more.

The next step needs to know the specific structure of the selected installation medium, which should be / dev / cdrom for a single CD-ROM.

Update available package

Press the Enter key to select this option, everything will start. If an error, then return, re-specify the access method, and then try again.

Select the package used to install

The next step is to select the package to be installed, there are some recommended packages, they will be installed automatically; other additional packages, they are not necessarily, but if you require installation. Note where the help screen, this is the first time using the DSELECT front end.

Configure the installed package.

Some basic system packages need to be configured before use. For example, configure mouse, samba, cvs, etc.

Install the selected package

This step will read the selected package. It can be obtained from the source of CD-ROM, network, and other software package. Then install each software in the system. This will spend some time.

Attachment: Double Linux System Installation: RedHat Debian

Maybe everyone is just trying Debian, but I don't want to give up now very well before you use a very good redhat. No problem, you can install the double Linux system. First install the redhat, use grub. Then, install Debian. Select to install LILO. Location, don't choose MBR, select Debian's partition, I / DEV / HDC5. Then create a boot floppy disk.

After start, enter Redhat, modify the /boot/grub/grub.conf file in Rehat. Below is my: default = 0timeout = 10splashImage = (hd0 ,7) /grub/splash.xpm.gztitle Red Hat Linux (2.4.18- 5.58) Root (HD0, 7) kernel /Vmlinuz-2.4.18-5.58 ro root = label = / initrd /initrd-2.4.18-5.58.imgtitle debianroot (HD0, 11) kernel / vmlinuz Ro root = / dev / hda12title WindowsXProotnoverify (HD0, 0) ChainLoader 1

Maybe your file will change, but it is different.

You can now enjoy Debian and Redhat.

转载请注明原文地址:https://www.9cbs.com/read-31294.html

New Post(0)