Senin, 11 November 2019

Install redhat server

In my recent post, I have demonstrated the step-by-step installation of Red Hat Enterprise Linux 7. In this article, I will be showing you how to install it on Red Hat Enterprise Linux 6.6. For those environments that are not yet ready to deploy the latest version of Red Hat Operating System. Maybe due to some application support wherein your existing application is not yet certified to run on the latest version of the operating system.

Requirements

Processor Core: 1
RAM: 2GB
Hard Disk: 40GB
Red Hat Enterprise 6 installation DVD

Starting the Installation

Mount the installation DVD either on the virtual machine or on a physical server and power on the system.
In the first installation screen select Install or upgrade an existing system and press Enter key.
The installation will give you the option if you want to test the installer. If you want to you can select OK.
Hit Next to continue.
Select English or any other language you use in your environment and hit Next.
Select the U.S English as the keyboard layout and hit Next.
Select where you want to install Red Hat.
Basic Storage Device = Select this is you want to install Red Hat on you local hard disk.
Specialized Storage Device = Select this option if you want to boot from SAN.
In a typical installation scenario, the first option is usually used. Hit Next to continue.
The installer will ask you if you want to proceed with installation and is basically saying that whatever data in the drive you have selected will be overwritten. This is the part where you can cancel if you are not sure if the drive you are using is not empty. Select Yes, discard any data.
Enter the host name or Fully Qualified Domain Name of the server.
and hit Configure Network to set the network properties.
Select System eth0 and hit Edit. Here we are only using one network interface. In the coming posts, I will show you how to configure network teaming for network high availability.
Make sure Connect automatically is selected and select IPv4 Settings tab.
By default select Automatic (DHCP) is selected.
Click the dropdown and select Manual. Click “Add” and fill in the respective values for IP AddressNetmaskGatewayDNS servers and Search domains and click Apply.
Click Close to apply the settings.
The Configure Network is completed hit Next to continue.
Select the Time Zone for your location.
Enter the root password and hit Next.
Make sure you use complex password.

Partitioning

It is recommended to create separate partitions and use Logical Volume Manager to have the flexibility of resizing the partitions at the later stage should you need to add more space to your volumes.
By default Replace Existing Linux System(s) but we will use custom partitioning which is recommended.
Select Create Custom Layout and hit Next.
Select the Free space and hit Create.
Select Standard Partition and click Create.
Select /boot as the Mount Point:, make it 500MB and click OK.
The first partition is created. Click Create again to add another partition.
By default Standard Partition is selected.
We will define our Logical Volume. But first let’s create our Physical Volume. Select LVM Physical Volume and click Create.
Leave the physical volume (LVM) selected and select Fill to maximum allowable size. This will make sure all available space is allocated to our Physical Volume. Click OK to continue.
Now our Physical Volume is created, it is time to create our Volume Group. Select the physical volume and click Create.
Under Create LVM, make sure LVM Volume Group is selected and click Create.
Here you have the option to define the Volume Group Name: by default the installer will prefix the volume group name with vg_ followed by the host name you defined. I am not going to change it. Under the Logical Volumes click Add.
Here we are going to define our root partition. Right next to the Mount Point: select / and leave the File System Type: as ext4. As seen above, by default the Logical Volume Name: is set to LogVol00 you can change this if you like. I am going to change it to lv_root and change the size to 10240MB which is equals to 10GB. Hit OK” to continue.
Next we will define our SWAP partition. Visit this link to find out how to properly set your swap partition based on the amount of RAM you have on your server. I will set the SWAP partition to 1GB in this demo. Click OK to accept the settings.
Next, we need to define the /home partition.
/var partition.
/tmp partition.
/usr partition.
/opt partition.
When you have created all the partition you needed, review the summary and click OK to continue.
Click Next to accept the values.
In the Format Warning dialog box, select Format to start formatting the hard disk.
In the Writing storage configuration to disk dialog box, select Write changes to disk.
Make sure the Install boot loader on /dev/sda is selected or whatever partition you have selected during the partitioning section and then click Next.

Selecting the Packages

In this section, you have the option to select which programs you want to install on your server.  Select Basic Server. Under Please select any additional repositories that you want to use for software installation make sure Red Hat Enterprise Linux is selected.
Then select Customize now and click Next.
We don’t need to select anything on the Base System section.
Select Desktop on the left side and on the right side select Desktop, Graphical Administration Tools, Remote Desktop Clients and X Window System. This will install the Graphical Environment for the server. The other options are for more of “Desktop” type installation. They include office productivity tools.
Select Applications and on the right check the Internet Browser.
Next, select Development on the right pick Additional Development and Development Tools. Click Next to continue.
And the installer will start to copy the files. Grab a coffee and get back once the installation is done.
Once the copy process is completed, select Reboot to restart the system.

Completing the Installation

After the server finished restarting, you will be greeted by a Welcome screen.
On the Welcome Screen select Forward to continue.
Accept the License Agreement and click Forward.
If you know your subscription details, select Yes I’d like to register now. and click Forward or if you don’t have your subscription information now select No, I prefer to register at a later time. click Forward.
If you have selected that you want to register at later time, the installer will ask you one more time. Click Register Later. I will show you how to use the registration process both from the command line and in the GUI in the next posts.
Click Forward to define our first user. Although it is not mandatory to create it here, it is up to the administrator if they want to define the user or do it once the installation has been completed.
Here we are defining the first user in the system. Click Forward once ready.
If you have entered a very simple password, the installer will ask you if you really want to use the simple password. As you will see in the coming posts, I will show you how to crack password using ready made tools and how easy it is to crack passwords if you are using simple ones.
Define the time. If you want to synchronize to an NTP server, select “Synchronize date and time over the network“.
Accept the default settings for the KDUMP. You can find more information about kdump here.
Changing the KDUMP settings requires that the server to be restarted. Click OK to accept.
There you go! We have completed the step by step installation of Red Hat Enterprise Linux 6.
Please let me know if this information is helpful. All comments are welcome.
I hope you found this post informative. See you in my next post.
Cheers!

Tidak ada komentar:

Posting Komentar