Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the methods of installing Linux

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

Editor to share with you what are the methods of installing Linux, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

1. Hard disk installation can be divided into two situations:

A, install B from the Win system, start the installation from another Linux

Here is an introduction to the installation of the Windows system used by most people, but the second method has not been adjusted yet.

1. Install the system-RedHat 9.0, (Fedra core 1 and 2 are similar. When I installed FC3test3, I found that the hard disk MBR was destroyed, and there was no way to restore it with the repair tool. )

My PC 40G hard disk has only one sub-10GFAT32 format for the main partition and 30G extended partition, of which 20g is in FAT32 format for WINDOWS and 10g is in LinuxEX3 format.

I installed the XP system on disk C, downloaded the three ISO of RedHat9.0, and put them in the root directory of disk D, RedHat Linux_i1.iso,Red Hat Linux_i2.iso,Red Hat Linux_i3.iso.

2. Use the CD pickup tool Daemon-v3.47 to extract the Dosutils directory in * images to the root directory of D disk.

Check to see if there are these major documents:

LOADLIN.EXE

AUTOBOOT\ INITRD.IMG

AUTOBOOT\ VMLINUZ

Generally speaking, they are relatively complete, and there is no need to modify the autoboot.bat file.

3, make a U disk boot disk, I have been doing this all day, my U disk is a general miscellaneous brand 128m, without startup. DOWN the USB Boot. 1.62U disk startup tool on the Internet is useless, and there is no use of Ranko's USB disk tool. So do it yourself, through experiments to find a good way, first format the U disk to FAT16 or FAT32 (recommended FAT32), then use FDISK / mbr to clean up the startup partition, and then use the WIN98 SYS command on your colleague's machine to transfer system files to the U disk, then the U disk can be started.

4. Restart the system and enter BIOS. Set the startup to USB-FDD. After entering DOS, go to disk D and run autoboot.bat in the dosutils directory.

5. Choose to install / dev/hda5 from the hard disk at startup-my D disk system will find all the files automatically.

Use NFS to install

1. Find a machine with Linux/Unix system installed, install NFS service, go to rpmfind website to find the corresponding package, mine is nfs-utils-1.0.1-2.9package.

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 line:

Code:

/ home/chenzq/redhat/ 192.168.1.0 Compact 24 (ro,sync)

Note:

/ home/chenzq/redhat/-the location of my iso CD image

192.168.1.0 amp 24-set 192.168.1 network segment machine to be accessible

Ro-read only

Sync-accept data while writing data

The installation process is the same as the hard disk installation, except that you select "NFS Image" and then ask me to enter the NFS server IP here.

Enter the name of the server or IP-192.168.1.75

RedHat directory-/ home/chenzq/redhat

This way the system automatically finds the image installation.

This is one of the installation methods I recommend. As long as the bandwidth is enough, it is faster to install on the Internet, and it is faster than the following installation methods of HTTP and FTP, or graphical interface installation. HTTP and FTP are installed in character mode, and to unpack, you can't directly use ISO image.

Third, use HTTP to install

1. Note: the previous points are the same as the hard disk installation, but the difference is that you can't read the ISO file. You need to decompress it first, mount the ISO file of * disk to a directory / mnt/cdrom, and prompt you to change the disk and then mount another CD during installation.

2. Then create a HTTP virtual directory on the server and modify the / etc/httpd/conf/httpd.conf file

Add the following line:

Code:

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

Restart the service after saving the disk

Service httpd restart

3. And specify the directory just now. Mine is 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, note that I install in this way there are several packages will be broken, can not skip the installation, and my ISO check MD5SUM is good, the package name seems to be OpenOffice 86m size, XMMS package there are several do not remember, so it is not recommended to install these packages, and this is a text installation can not be installed graphically.

IV. FTP installation

The way is almost the same as HTTP, that is, change APACHE to vsftp

The above is all the contents of the article "what are the ways to install Linux?" Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report