Build your own Linux release with Fedora

Source: Internet
Author: User
Tags intel core 2 duo

Link: http://blog.csdn.net/ivan820819/article/details/5726196#comments

If you need to make the same configuration every time you install a new Linux release, you should create your own customized Linux.People generally think that the Linux distributions look similar. They are either KDE or gnome. They use a specific kernel and bind a bunch of software. However, this is not the case. If you always repeat the same configuration after installing a new Linux release, it is worth creating your own customized Linux. Revisor is such a tool. In this tutorial, we show you how to make a customized Linux.

1. Install Fedora
The revisor is a tool software included in the recent fedora releases. You can use any of these releases to create your own Linux release, but we recommend that you use the latest version. Installation is very simple. If you have installed other Linux distributions in the last two years, this is not a problem at all.

After installing the operating system, the only thing you need to do is install the revisor. You can click the manage menu, select "Add/delete software", and search for a software package named "revisor". Click "application" at the bottom and allow installation of required additional software packages.

However, another important step is to update your fedora to update the latest patch. You can use the "Update" tool in the management menu to update the system. The revisor carried by the early fedora version has encountered a problem and cannot create a correct live CD.

2. disable security restrictions
After installation, you can find the revisor in the "Application Software/System Tools" menu. Click it and enter your root password. If a SELinux error is displayed, you need to change the security settings of your system. SELinux is a very strict Linux security system that strictly limits what applications can do and what they cannot do. The revisor is restricted, so you need to change the security level to the "Permissive" mode.

Find "SELinux management" from the Management menu and change the current security mode from the default "enforcing" mode to "Permissive ". If you run the revisor again, The SELinux error will not be displayed.

3. Start.
In the revisor's main window, click "Get Started (start )". Now you need to determine how your new release will start. You can choose Standard installation or live experience.

If you need to install your release on multiple machines, such as in the office, the first method is a good choice. The created DVD or CD can be used to install your release, including a series of software without any prompts.

If you only create a release version for personal use, the live experience is more useful. Whether you create a live CD/DVD or a live experience version of a USB flash drive, you can directly insert them into your computer and the Linux desktop will be displayed after startup. With the live experience, you can use Linux desktop and the software you selected. In this case, your release does not modify the hard disk of your computer. This is suitable for Internet cafes and school computer rooms.

Here, we choose the most flexible live CD/DVD ).

4. Software Warehouse Information
Click "Next" to display the software repository configuration page. The source of the software packages required by your release is listed here. These software packages are based on specific hardware architecture. From the right side, select the schema configuration you want to use, which is the most common option: f10-i386. If you want to build Release versions of other hardware architectures, such as Intel x64 or PowerPC, You need to customize the corresponding hardware architecture. The revisor cannot create a release version different from the running hardware environment.

In addition to selecting the hardware architecture, you can change the target directory. This is the directory used to store the generated image.

The following options list the software repositories that can be used to download the packages required by your release. Deselect the ora repository check box.

5. Software Package Management
Skip the "load kickstart data" page. The next step is the most important. here you need to select which packages will be included in your release. These choices not only determine what your release can do and cannot do, but also determine the size of your release-this is very important for you to put the release in the CD.

If you want to make the release as small as possible, we recommend that you choose xfce desktop instead of a huge gnome or KDE. If you need a powerful desktop environment, you should use a DVD to host the release.

You should select all the software packages in the base system category to create a basic runtime environment. By default, only the package group is displayed on the package selection interface, instead of each independent package. For example, if you want to include gimp, you need to switch to the search interface and search for "gimp" and select the software package you want from the search results. Generally, you should install at least one Web browser (such as Firefox), a text editor (such as OpenOffice.org), a music player (such as Amarok or rhythmbox), and a video player (such as totem ).

6. Release Version Configuration
Now you can adjust the settings of your release. The first page is the most important, used to configure your language and keyboard layout, and the root password of the live experience system. You can ignore the configuration of the Inner-core parameters and identity authentication page. Then you should add a default network device and enable the firewall. You can also create a default user account.

After completing these configurations, click "Next ". The revisor analyzes the dependency of the software package and calculates the number of bytes required for storage. If the size exceeds your installation media capacity, you can return to the front and remove some of the software packages you selected.

7. Generate
In the above example, a basic release that includes xfce and gimp requires about 700 mb. Click "Next" to start the compilation process, which includes 11 steps.

1. download the software package
2. Create a File System
3. install the software package
4. Configuration System
5. Configure the network
6. Create a memory File System
7. remark the File System
8. Installation Guide menu
9. Uninstall the File System
10. compress the kernel Image
11. Create an ISO Image

The generation speed depends on the number of software packages you select, the Internet connection speed, and the performance of your machine. Giving you a reference number, our Intel Core 2 Duo 6400@2.13GHz machine took about 90 minutes to generate a m release.

8. Burn a cd
After the file is generated, you can find the generated ISO file in the/srv/revisor subdirectory (if the target directory has not been modified before ). The file we generated is placed in the subfolders live named Fedora-10-Live-i386.iso. You need to burn the ISO to a blank recordable CD. In fedora, right-click the ISO file and choose "write to CD. Do not use the ISO file as a normal file to write it to a CD, but burn it into a blank recordable CD as an image.

9. Cheers
After the installation is complete, you can use your freshly released Linux release. Insert the disc into your machine's optical drive and restart it. Make sure that your machine is booted from the optical drive. You can modify the BIOS settings or choose from the menu during boot.

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.