The sixth day of Linux and Me

Source: Internet
Author: User

Today, the virtual machine is loaded withredhat6.4. Originally wanted to be inWin8under the installation of dual system, due to disk partitioning problem, finally decided to install on the virtual machine first, play a play again. Divided the3District, "/the root directory partition20G, "Swap"Memory Swap space500M, "/ Bootthe directory partition100M.

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/53/CB/wKiom1RwJSOSVJyFAASw9c5SjJA845.jpg "title=" Install1.png "alt=" Wkiom1rwjsosvjyfaasw9c5sjja845.jpg "/>

Basic server.

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/53/C9/wKioL1RwJbjw5MQvAASoDoC7R74424.jpg "title=" Install2.png "alt=" wkiol1rwjbjw5mqvaasodoc7r74424.jpg "/>650" this.width=650; "src=" http://s3.51cto.com/wyfs02/ M02/53/cb/wkiom1rwju2xjqfpaalmxvgdnv0857.jpg "title=" Install3.png "alt=" Wkiom1rwju2xjqfpaalmxvgdnv0857.jpg "/>


Linux -Installed

In a Linux system, each device is treated as a file, and each device has a device file name.

The file name of the disk is mainly divided intoIDEinterface of/dev/hd[a-d]andSata/scsi/usbinterface of/dev/sa[a-p]two kinds. The first sector of the disk mainly records two important information, namely:1.primary boot partition (Master Boot record,mbr): Where the loader can be installed, there are446bytes;2.Partition Table (Partition Table): Records the state of the entire hard disk partition, with64bytes.

There are up to four primary and extended partitions for the disk, and the device file name number for the logical partition must start with number 5 .

Linux boot process:bios--mbr--boot loader-- kernel file.

The main functions of boot loader are to provide menus, load kernels, and transfer control to other loader.

Boot loader can be installed in two places, namely MBR and boot sector.

Linux operating system files using the directory tree system, corresponding to the disk need to have "mount" operation dishes can.

To install the Linux operating system, plan ahead, such as partitioning, boot loader, and so on.

After the installation has entered the partition, you will use a "custom partition structure" to handle the partitioning method you plan.

It is generally required that swap should be 1.5~2 times the physical memory size. Even without swap, the Linux operating system can still be installed .

1. is a computer host as long as the CPU is fast enough for the overall speed to increase?

A: The speed of a computer and the operation of the overall computer system, each computer components can affect the speed of the computer, such as memory,CPU, graphics and hardware speed and other input and output interface.

2.linux What do I need to consider for the hardware requirements? Does it have to be very high equipped to install Linux ?

A:linux requirements for hardware depend on the type of service, the scope and the job category, a server dedicated to computing numerical resolution requires a powerful CPU and a larger memory.

3. a good host before installation, it is best to plan first, which is the need to pay attention to the Linux host planning matters?

A: before installing Linux, you need to plan the location and role of the Linux host! So is the host on Linux open for Web services? Is there a lot of computing to be done in the future planning of this host? Does the host need to provide a large amount of hard disk capacity to service the client's use? This host is expected to open Internet service content?

4. please write down the installation file name on Linux in the following equipment:

IDE HDD:/dev/ HD [A to D]

Disc is:/dev/ CD-ROM

Printing machine is:/dev/lp [0-2]

Soft disc machine is:/dev/fd [0-1]

The network card is:/dev/eth 's [0-n]

5.The directory structure on Linux is "tree", as for the hard disk partition needs to match with the tree-like directory! Excuse me, in the case of a preset, the system will require you to split the two partitions when the installation?

A."/" root directory partition and "swap" Memory swap partition.

6. If the partition, in the IDE1 interface of the hard disk, divided 6 partition (with file system), in addition, known to have two major partitions! What is the six-partition file name?

A. /dev/hda1/( root directory )

/dev/hda2 swap(memory swap)

/dev/hda3(Extended partition )

/dev/hda5(logical partition)

/dev/hda6

/dev/hda7

/dev/hda8

7. In general , in a system with memory of 64M or 128M , how big is the swap?

A."swap" is generally 1.5~2 times the physical memory . Swap partitions to 128M and 256M.

8. What is Greenwich mean? Beijing time difference?

A."Greenwich". A district of Greater London, England. Located in the south-east of London, Thames, R.. 1675-1948 the Royal Greenwich Observatory in the year. The International Longitude Conference, held in Washington in 1884, decided to take the Greenwich meridian as the Prime Meridian and the world's starting point for calculating time and geographical longitude.

Beijing is located in the East Eight district, eight hours earlier than GMT. (from Baidu know Netizen Podolsteg)

9. if my disk partition, set four primary partitions, but the disk still has space, can I still use these space?

A. No,theLinux operating system is allowed to have a maximum of four primary partitions, and no more partitions can be partitioned. If you want to use the remaining space, you can change one primary partition to an extended partition and establish logical partitions on the extended partition to use the remaining disk space.

Legacy issue: Partition allocation for Linux Dual systems installed under Windows .


This article from "Open Can't Knock theme" blog, declined reprint!

The sixth day of Linux and Me

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.