Diagram of the RedHat6.4 installation process by VMware
I. Preface
1. This article aims to learn about open source software and install RedHat6.4 64bit on a virtual machine.
2. If the minor version number of Redhat Linux is smaller than 4, it indicates the Public Beta version. It can be used for learning, but it is not suitable for production, such as 6.1, 6.2, and 6.3. In addition, older versions are also more difficult to fix bugs than are recommended for production.
3. Storage Planning
This article is installed on a virtual machine. For the purpose of learning, there is no detailed division. The file system is automatically generated. The root directory (/), swap partition, and start directory (/boot) are required. You can store excess storage in the root directory.
For the production environment, we recommend that you use lvm to manage the storage from the perspective of secure operation. To facilitate future adjustments as needed:
Directory Name |
Description |
/Boot |
Start directory. Use the default value. The default value is 512 MB. |
/Home |
The default user directory depends on the number of users. 5G or above is recommended. |
/Opt |
We recommend that you use more than 2 GB of software. |
/Tmp |
The default temporary directory of the system depends on the software running requirements. Generally, the directory is no less than 10 Gb. |
/Usr |
The directory for storing software. The size is fixed to 10 Gb, which is enough to store the operating system software. This is a file system that is frequently read/written and vulnerable to damage. It must be separated from other directories. |
/Usr/local |
Use of some software |
/Var |
This file system is used by some software by default. This is a file system that is frequently read/written and vulnerable to damage. It must be separated from other directories. |
/ |
Not less than 2G. 5G is recommended. If the preceding file system does not exist, this space is used by default and should be added as appropriate. If the file system is slow, the server will be suspended. |
/Mysqldata |
User Data Directory |
/Mavenlib |
User Data Directory |
4. SELinux (Security-Enhanced Linux) is the implementation of mandatory access control by the National Security Agency (NSA). Is it Linux? The most outstanding new security subsystem. NSA developed an access control system with the help of the Linux community. Under the restriction of this access control system, processes can only access the files needed in their tasks. RedHat is enabled by default. The default configuration file is in/etc/selinux/config. Determine how to use it based on its own security system. From the perspective of learning, we recommend that you disable it.
5. iptables is a Linux kernel-integrated IP information package filtering system. If the Linux system is connected to the Internet or LAN, server, or a proxy server connected to the LAN and Internet, the system facilitates better control of IP packet filtering and firewall configuration on the Linux system.
We recommend that you enable this function and Set firewall rules as needed.
6. RedHat requires the complexity of the user's password and can be forcibly ignored if needed.
7. If you use the PCServer + disk array or SAN method, special settings are required, because I have not tested the storage Server for the time being. This article does not include some.
8. Pay attention to the following items when installing the system directly on the PCserver:
A. Whether or not virtualization is required and what virtualization software is used. If you want to virtualize, do not install the operating system or directly install the Virtual Machine Software. This is more efficient.
B. Whether it is virtualized or not, you need to plan your storage for PcServer. Generally, Pcserver comes with storage management software to create disk volumes, what you need to do is decide to use raid to organize disks, or directly use bare disks (this is not recommended ).
9,
Ii. Installation Process
1. Start Installation
First installation Selection
2. Media check
Used to determine whether the installation media is incorrect. Generally, you can select skip.
3. Welcome Page
Go directly to the next step.
4. Select the language used during the installation process, which is generally the default value. You can also select Chinese!
5. Select the keyboard layout without modification.
6. Select a storage type
This installation uses a local disk, so select the first option.
Select "Yes, discard any data" to discard existing data on the disk.
For more details, please continue to read the highlights on the next page: