Fedora Linux set up Kickstart installation server

Source: Internet
Author: User
Keywords Linux fedora installing the server
Tags aliyun client connect copy create data directory file

Fedora Linux allows you to install the operating system via the http://www.aliyun.com/zixun/aggregation/18415.html ">" network connection using the Kickstart server. Faster than using CDs and can be automated. The process is fairly simple:

Connect a new server (client) to a preloaded installation file server (installation service side) to the same network. Boot on the client with a dedicated boot CD. Select the preferred installation method (FTP,HTTP,NFS) and the required network parameters. Install the program and continue to the familiar Fedora Linux installation interface. Enter your selections and complete the installation.

Install server using IP address 192.168.1.100 (bigboy)

Kickstart can be configured as a FTP,NFS or Apache server. The following explanations are for every method, but my experience has always been that the Apache server has many advantages over the other two.

Using a Web server as a kickstart is generally easier because:

Sometimes, a kickstart server is located on a remote network, often through firewalls. Strict firewall rules are easier to configure than FTP or nfs,http.
For NFS and FTP, access to files with the name "http://" is more familiar to users. It is important that you configure your profile to be kickstart installed automatically.

In this example we will set up a kickstart server for Fedora Core installation. All necessary files will be placed in the/data/network-install directory.

Create installation directory

We will first create the directory/data/network-install/rpm and/data/network-install/iso and copy the necessary files

[Root@bigboy tmp]# mkdir-p/data/network-install/rpm[root@bigboy tmp]# mkdir-p

You now need to copy the driver files for your network installation to the appropriate directory.

Copying files

The Http,nfs and FTP kickstart methods require the installation files to be replicated to the kickstart server. Here's what to do:

1 Create a mount point for your CD ROM drive.

[Root@bigboy tmp]# Mkdir/mnt/cdrom

2 mount Fedora CD ROM.

[Root@bigboy tmp]# Mount/dev/cdrom/mnt/cdrom

3 Copy basic files to hard disk

[Root@bigboy tmp]# cp-r/mnt/cdrom/*/data/network-install/rpm

4 uninstall CD ROM and eject command eject the optical drive.

[Root@bigboy tmp]# umount/dev/cdrom[root@bigboy tmp]# Eject CDROM

5 Repeat 第2-4 steps to copy all the files on the CD, the file will be prompted when the cover.

Note: You can also choose to download the files you need from the FTP site to the/data/network-install/rpm directory.

HTTP & FTP Preparation

Copy the contents of each installation CD to the/DATA/NETWORK-INSTALL/RPM directory. This will require approximately 3-5 GB of space. Once completed, the/data/network-install/rpm directory should look like this:

[Root@bigboy tmp]# ls-1/data/network-install/ Rpmeula.txtfedorafedora.cssgplimagesindex.htmlisolinuxreadme-accessibilityrelease-notes-en_ Us.htmlrepodatarpm-gpg-keyrpm-gpg-key-betarpm-gpg-key-fedorarpm-gpg-key-fedora-extrasrpm-gpg-key-fedora-legacyrpm-gpg-key-fedora-ra Whiderpm-gpg-key-fedora-testrpm-gpg-key-rawhidestylesheet-images[root@bigboy tmp]#

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.