Five methods and experiences for installing Linux

Source: Internet
Author: User

Author: chenzq1604 from: http://bbs.chinaunix.net

I haven't called anything other over the past few days. I think I haven't installed Linux when I haven't installed a CD. So I tried five installation methods for Linux. Below are some of my processes and experiences, please give me some advice.

There are five methods to install Linux
1. CD
2. Hard Disk
3. NFS Image
4. FTP
5. HTTP

Among them, CD installation is the most common, and I will not write the simplest. The machine I installed does not have an optical drive or a soft drive !!! Only the NIC and one 128MU disk ^ o ^

===== 1. Hard Disk installation in two cases: ====
A. It is to install Windows system B. It is to start and install from other Linux systems

This section describes how to install Windows in most people. The second method has not been called.


1. Install the system --- RedHat 9.0, (similar to those of Fedra core 1 and 2. I found that the hard disk MBR was damaged when I installed FC3test3, and there was no way to restore it using the Repair Tool .)
My PC has a 40 Gb hard drive. The main partition has only one 10GFAT32 format, and the extended partition is 30 GB. 20 GB is in FAT32 format for WINDOWS, and 10 Gb is in LinuxEX3 format.
I installed the XP system on drive C, downloaded the three ISO files of RedHat9.0, and put them in the root directory of drive D, Red Hat Linux_i1.iso, Red Hat Linux_i3.iso, and Red Hat Linux_i3.iso.
2. decompress the Dosutils directory in the first image to the root directory of the d disk with the Daemon-v3.47 tool.
Check whether these files are available:
LOADLIN. EXE
AUTOBOOTINITRD. IMG
AUTOBOOTVMLINUZ
Generally, they are complete and do not need to modify the autoboot. bat file.
3. Make a USB flash drive. I have been working on it for a day. My USB flash drive is a general 128 MB drive without startup. The USB boot.1.62u boot and production tools are disabled on the Internet. So I did it myself. After experiment, I found a good way to format the USB flash disk as FAT16 or FAT32 (FAT32 is recommended) and then use FDISK/mbr to clear the boot partition, on a colleague's machine, use the SYS command of WIN98 to send the system file to the USB flash drive. Then, the USB flash drive can be started.
4, restart the system into the BIOS, set the boot as a USB-FDD, enter the DOS after the D disk to run the dosutils directory autoboot. bat
5. Select
Hard Disk installation/dev/hda5 ----- my d Disk

The system automatically finds all files.


===== 2. Use NFS for installation =====
1. Find a Linux/Unix system machine, install NFS service, go to the rpmfind website to find the corresponding package, my nfs-utils-1.0.1-2.9 package.
Rpm-ivh nfs-utils-1.0.1-2.9.i386.rpm
Rpm-ivh portmap-4.0-54.i386.rpm


2. modify the configuration file:/etc/exports

Add the following lines:


Code:

/Home/chenzq/redhat/192.168.1.0/24 (ro, sync)
 


Note:
/Home/chenzq/redhat/-------- location of my iso CD image
192.168.1.0/24 ------------- set the IP address range of 192.168.1 to be accessible.
Ro --------------- read-only
Sync -------------- accept data and write data at the same time

The installation process is the same as that of the hard disk. You only need to select "NFS image" and then enter the IP address of the NFS server,

Enter the server name or IP address ---- 192.168.1.75
RedHat Directory ---------/home/chenzq/redhat

In this way, the system automatically finds the image for installation.

** This is a recommended installation method. If the bandwidth is sufficient, the installation on the internet is relatively fast. In addition, compared with the following HTTP and FTP installation methods, the installation process is faster and faster, both HTTP and FTP are character-based installations. To unpackage, you cannot directly use an ISO image.


===== 3. Use HTTP for installation ==========
1. Note: The previous steps are the same as those for hard disk installation, but the difference is that the ISO file cannot be read. You must decompress the file first, mount the ISO file of the first disk to/mnt/cdrom in the same directory. During installation, the system prompts you to change the disk and then mount another disk.

2. Create an HTTP virtual directory on the server,
Modify the/etc/httpd/conf/httpd. conf file

Add the following lines:

Code:

Alias/redhat "/mnt/cdrom"
<Directory "/mnt/cdrom">
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order Allow, deny
Allow from all
</Directory>
 


Save the disk and restart the service.
Service httpd restart


3. Specify the directory I used earlier: _ blank> http: // 192.168.1.75/redhat.

Select "HTTP Settings" during installation ":

Website name: 192.168.1.75
Red Hat Directory:/redhat

It will automatically find the Directory and install it. Note that several packages I installed in this way will break down and the installation cannot be skipped. Besides, it is good that my ISO checks MD5SUM, the package name seems to be the size of OpenOffice 86M. There are several packages in XMMS that you do not remember. Therefore, we do not recommend that you select these packages during installation. In addition, text installation cannot be installed graphically.


===== 4. FTP installation ====
Similar to HTTP, APACHE is changed to vsftp.
Configuration method.


TIPS:
I have installed Linux for one week. My versions include RedHat9, Fedora core 1, 2 and 3 test3, and MagicLinux1.2beta. I first installed FC3test3 with a hard disk. As a result, FC3 was installed. However, XP cannot start XP no matter how fdisk/mbr is installed or start fixmbr, fixboot, and overwrite installation with an XP disc, I had to use Ghost to try again, and FC2 and FC1 were still normal. When I used MagicLinux, I couldn't find the hard disk for hard disk installation, and I didn't try any other methods. I hope to give some help to the brother and sister who installed the system!

 

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.