Sei sulla pagina 1di 11

Global Open Versity ICT Labs

Step-By-Step Guide RHEL 6 Server Installation & Administration v1.4

Global Open Versity Systems Integration Hands-on Labs Training Manual

Step-By-Step Install Guide Red Hat Enterprise Linux 6 Server


Kefa Rabah Global Open Versity, Vancouver Canada
krabah@globalopenversity.org www.globalopenversity.org

Table of Contents

Page No.

INSTALL GUIDE RED HAT ENTERPRISE LINUX 6 SERVER


Introduction The world's leading open source application platform Part 1: Install RHEL 6 Server Part 2: Post Installation Configurations. Step 1: Perform System Upgrade Step 2: Configure NIC to Static IP Address. Step 3: Check Computer Hostname Step 4: Modify the Hosts file Part 3: Installing Apache, PHP, MySQL Step 1: Install LAMP Step 2: Test PHP Installation Step 3: Lockdown MySQL Database Server Part 4: Installing PostgreSQL Part 5: Installing and Configuring Webmin Step 1: Install Webmin Part 6: Install DNS Server Step 1: Modify /etc/hosts and /etc/resolv.conf files Step 2: Install and Configure Bind9 for DNS Name Resolution 2.1 Name Resolution 2.2 Install & Configure Bind9 DNS server Part 7: Install and Configure vsFTP Server Step 1: Install and Configure VSFTPD Server Step 2: Users Login Part 8: Install OpenSSH Package Part 9: Install JDK6
April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada

3
3 3 4 25 25 26 27 28 28 28 29 30 32 34 35 37 37 39 39 39 42 42 44 46 46 1

www.globalopenversity.org

ICT203 Mastering CentOS-5 RHEL 5/6 Server Administration

Global Open Versity ICT Labs

Step-By-Step Guide RHEL 6 Server Installation & Administration v1.4

Part 10: Install Ant Package Part 11: Install Apache Tomcat 7 Application Server 11.1 Accessing Tomcat 6 manager and host-manager webapps 11.2 Tomcat examples webapps 11.3 Moving around Tomcat7 under command-line Part 12: Install and Configure NFS Step 1: Install NFS packages On both Server Side and Client Side Step 2: On the Server Side Step 3: On the client Side Fedora 13 Part 13: Install JBoss: Open Source J2EE Server, and Combined JBoss + JPortal on Linux Server Step 1: Install JBoss 1.1 Download JBoss Software on RHEL6 1.2: Start/Stop JBOSS 1.3: Accessing JBOSS server Step 4: Installing JBoss+Portal Bundle on RHEL6 Part 14: Troubleshooting FTP Client Connection Failure Part 15: Troubleshooting SELinux Step 1: Fully Disabling SELinux Part 16: Hands-on Lab Assignments Mastering CentOS-5 / RHEL 5/6 Server Administration and System Integration Training - ICT203 Linux Administration Training

47 48 49 50 50 51 51 51 52 54 54 54 55 55 58 62 63 63 63 64 64

A GOV Open Knowledge Access Technical Academic Publications License


Enhancing education & empowering people worldwide through eLearning in the 21st Century
April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada

www.globalopenversity.org

ICT203 Mastering CentOS-5 RHEL 5/6 Server Administration

Global Open Versity ICT Labs

Step-By-Step Guide RHEL 6 Server Installation & Administration v1.4

Global Open Versity Systems Integration Hands-on Labs Training Manual

Install Guide Red Hat Enterprise Linux 6 Server


By Kefa Rabah, krabah@globalopenversity.org Jan 2, 2011 GTS Institute

Introduction The world's leading open source application platform


Red Hat Enterprise Linux (RHEL) is a Linux distribution produced by Red Hat and targeted toward the commercial market, including mainframes. Red Hat Enterprise Linux is released in server versions for x86, x86_64, Itanium, PowerPC and IBM System z, and desktop versions for x86 and x86_64. All of Red Hat's official support and training, and the Red Hat Certification Program center on the Red Hat Enterprise Linux platform The long-awaited Red Hat Enterprise Linux (RHEL) 6 delivers improvements including KVM and improved scalability. However, Xen is no longer supported. Red Hat Enterprise Linux (RHEL) is a commercial Linux OS that is designed for businesses that need full support and the highest amount of reliability possible for mission critical applications. Historically, RHEL has been a derivative of the Fedora Linux project with features and release cycles that meet the requirements of Red Hat's commercial customers. On one certified platform, Red Hat Enterprise Linux offers your choice of: (i) Applications - Thousands of certified ISV applications; (ii) Deployment - Including standalone or virtual servers, cloud computing, or software appliances; (iii) Hardware - Wide range of platforms from the world's leading hardware vendors. This gives IT departments unprecedented levels of operational flexibility. And it gives ISVs unprecedented market reach when delivering applications. Certify once, deploy anywhere. All while providing world-class performance, security, and stability. And unbeatable value. This is why today Red Hat is the platform of choice. Xen has been dropped and instead KVM is used. KVM (Kernel-based Virtual Machine) replaced Xen as the virtualization product of choice. KVM is a bare metal hypervisor that runs directly on x86 hardware instead of on top of an operating system. It was distributed in RHEL 5.4 in a package called Red Hat Enterprise Virtualization Hypervisor (RHEV-H). With a memory footprint of only 128MB, it can easily be started from flash or a network drive.

Hands-on Labs
In this Hands-on Labs module, you will learn how to install RHEL6 from DVD ISO. Youll also learn how to perform post-installation configuration e.g., upgrade the system with new patches and bug fixes, configure static IP address from dynamic one, change the computer hostname, modify hosts file, perform ping test among others. Youll also learn Webmin as part of your arsenal. In this Hands-on Lab assignment youll have an opportunity to install LAMP: Apache2 (httpd), MySQL server, PostgreSQL server PHP. This also include: FTP server, NFS server, JDK6, Tomcat7 and Ant. Ill also show you how to install JBoss AS 6.0 and the bundled option JBoss + Portal Bundle. Other assignments include installing DNS server, DHCP 3

April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada

www.globalopenversity.org

ICT203 Mastering CentOS-5 RHEL 5/6 Server Administration

Global Open Versity ICT Labs

Step-By-Step Guide RHEL 6 Server Installation & Administration v1.4

server and other assignments. The entire lab training was performed on VMware, however, do feel free to use any other virtual machine as desired for your lab session.

Part 1: Install RHEL 6 Server


1. Point your browser to RHEL6 and download DVD ISO 2. Burn the ISO to DVD and used it to install RHEL6. 3. Insert the DVD into the DVD device and start the installation process which should come to the screen shown in Fig. 1.

Fig. 1: Hit the <ENETER> key to start loading & installing RHEL 6

4. From Fig. 2, if this your first time to use this RHEL6 CD/DVD then select OK, and press the <ENETER> key, to test the CD media and check & verify that it was not in anyway damaged or corrupted during the download or burning stages. Otherwise click Skip to continue.

April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada

www.globalopenversity.org

ICT203 Mastering CentOS-5 RHEL 5/6 Server Administration

Global Open Versity ICT Labs

Step-By-Step Guide RHEL 6 Server Installation & Administration v1.4

Fig. 2 5. Next, you should see the screen like shown in Fig. 3.

Fig. 3 6. Next, you should see the screen like shown in Fig. 4. Click Next to continue.

April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada

www.globalopenversity.org

ICT203 Mastering CentOS-5 RHEL 5/6 Server Administration

Global Open Versity ICT Labs

Step-By-Step Guide RHEL 6 Server Installation & Administration v1.4

Fig. 4 7. From Fig. 5, select the language you desired to use during installation process, and then click Next.

Fig. 5
April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada

www.globalopenversity.org

ICT203 Mastering CentOS-5 RHEL 5/6 Server Administration

Global Open Versity ICT Labs

Step-By-Step Guide RHEL 6 Server Installation & Administration v1.4

8. From Fig. 6, select the appropriate keyboard for the system as desired, and then click Next.

Fig. 6 9. From Fig. 7, select Specialized Storage Devices, or change as desired, click Next to continue

Fig. 7
April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada

www.globalopenversity.org

ICT203 Mastering CentOS-5 RHEL 5/6 Server Administration

Global Open Versity ICT Labs

Step-By-Step Guide RHEL 6 Server Installation & Administration v1.4

10. From Fig. 8, select the drive to install your RHEL6, or change as desired. You have the option to install Firmware RAID, Multipath Devices or Other SAN Devices. Click Next to continue

Fig. 8 11. From Fig. 9, read the warning on "Re-initialize all", to continue. Note: the warning REINITIALIZATION WILL CAUSE ALL DATA TO BE LOST!

Fig. 9
April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada

www.globalopenversity.org

ICT203 Mastering CentOS-5 RHEL 5/6 Server Administration

Global Open Versity ICT Labs

Step-By-Step Guide RHEL 6 Server Installation & Administration v1.4

12. From Fig. 10, under Hostname, enter the hostname "rhel6.govsystemhost.com", click Next.

Fig. 10 13. From Fig. 11, click into map to choose region as desired or accept the default, and then click Next.

Fig. 11
April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada

www.globalopenversity.org

ICT203 Mastering CentOS-5 RHEL 5/6 Server Administration

Global Open Versity ICT Labs

Step-By-Step Guide RHEL 6 Server Installation & Administration v1.4

14. From Fig. 12, enter & confirm root password e.g., "mysecretpass" and then click Next.

Fig. 12 15. Follow the link below to access the full document. The full document has moved to Docstoc.com. You can access and download it from here: OR http://www.docstoc.com/docs/68342875/Step-By-Step-Guide-RHEL6-Server-Installation-andAdministration Step-By-Step Guide RHEL 6 Server Installation & Administration v1.0

Mastering CentOS-5 / RHEL 5/6 Server Administration and System Integration Training - ICT203 You can now register and take our superb Mastering CentOS-5 /RHEL 5/6 Server Administration. This Training cover compete server installation, administration and system integration from simple task to cloud computing with Eucalyptus and OpenNebula cloud.ICT203 Mastering CentOS-5 /RHEL 5/6 Training
-----------------------------------------------

Kefa Rabah is the Founder of Global Technology Solutions Institute. Kefa is knowledgeable in several fields of Science & Technology, Information Security Compliance and Project Management, and Renewable Energy Systems. He is also the founder of Global Open Versity, a place to enhance your educating and career goals using the latest innovations and technologies. Fellow us on Twitter: Global Open Versity and Kefa Rabah A GOV Open Access Technical Academic Publications Enhancing education & empowering people worldwide through eLearning in the 21st Century
April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada

10

www.globalopenversity.org

ICT203 Mastering CentOS-5 RHEL 5/6 Server Administration

Potrebbero piacerti anche