Step-By-Step Install Guide Ubuntu 9.10 Server V1.0
Total Page:16
File Type:pdf, Size:1020Kb
Global Open Versity ICT Labs Install Guide Linux Ubuntu 9.10 Karmic Koala Server v1.0 Global Open Versity IT System Integration Hands-on Labs Training Manual Step-By-Step Install Guide Ubuntu 9.10 (Karmic Koala) Server Kefa Rabah Global Open Versity, Vancouver Canada [email protected] www.globalopenversity.org Table of Contents Page No. STEP-BY-STEP INSTALL GUIDE UBUNTU 9.10 (KARMIC KOALA) SERVER 1 1.0 Introduction 1 Part 1: Install & Configure Ubuntu 9.10 LTS (Karmic Koala) Server 1 Step 1: Getting Started & Hardware Pre-requisites 1 Step 2: Install Linux Ubuntu 9.10 Karmic Koala 2 Step 3: Update Ubuntu 9.10 Operating Systems 20 Part 2: Install Optional Additional Packages 21 Step 1: Install Desktop Environment 21 Part 3: Verify Your LAMP Server Installation 23 Step 1: Installing Apache + PHP 23 Ste 2: Installing MySQL Database Server 24 2.1 Manually Creating users to use MySQL and Changing Root Password 24 Step 3: Install phpMyAdmin 26 Part 4: Install OpenSSH Package 29 Part 5: Install Webmin 30 Part 6: Need More Training on Linux: 33 Ubuntu Server Administration Training 34 Part 7: Hands-on Labs Assignments 34 A GOV Open Access Technical Academic Publications Enhancing education & empowering people worldwide through eLearning in the 21st Century 1 © April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada www.globalopenversity.org ICT105 – Ubuntu Server Administration Training Global Open Versity ICT Labs Install Guide Linux Ubuntu 9.10 Karmic Koala Server v1.0 Global Open Versity IT Systems Integration Hands-on Labs Training Manual Step-By-Step Install Guide Ubuntu 9.10 (karmic Koala) Server By Kefa Rabah, [email protected] Dec. 8, 2010 GTS Institute 1.0 Introduction In this Hands-on Labs session, we’re going to lean how to install & configure the Karmic Koala a.k.a Ubuntu 9.10 LTS server option. It’s lean, fast and powerful – Ubuntu 9.10 Server Edition has a bunch of other features that have been tweaked and improved. The server edition includes the MySQL 5.1 database, tighter integration with the PowerNap server quiescing tool, and support for the Web-Based Enterprise Management protocol (WBEM), so system management tools from the major server makers (IBM, Dell, and Hewlett-Packard) as well as those from CA can reach in and monitor and manage Ubuntu as they do other operating systems. The 9.10 server update also sports performance improvements for both the KVM and Xen hypervisors. Just because KVM is the preferred hypervisor doesn't mean Canonical has to ignore Xen, just like Red Hat, which owns the KVM hypervisor (well, essentially) is still tweaking Xen with its releases. ®. It also includes improved installation and management tools for Ubuntu Enterprise Cloud (UEC) and Amazon EC2. You don't have to do anything special to get the Ubuntu Enterprise Cloud tools. They are part of the Ubuntu Server 9.10 distribution. For example, people who have been exploring cloud computing do not have rely only to the public clouds – the UEC allows individuals and companies to build private cloud internally first, and then think about how to make use of public clouds like EC2. Amazon EC2-compatible Ubuntu Enterprise Cloud. Hands-on Labs In this Hands-on Lab session, you’ll learn how to setup virtual network on VMware (you may also use any other virtual machines like MS VirtualPC, Linux Xen, or VirtualBox from Oracle). In this lab session, we’ll concentrate on installing Linux Ubuntu 9.10 LTS Server which you can then later use to install any other applications as desired. You will learn how to pre-install DNS server, LAMP server, Mail server, OpenSSL server, PostgreSQL database, Tomcat Java Server during the initial system installation. Once you installed and updated the server, then you can use it to install GNOME Desktop, LAMP; DNS server, Postfix mail server with Dovecot for POP3/IMAP, Evolution mail client, and Webmin to help you with administrating and configuring other application servers like Apache2, MySQL, FTP, DNS etc. You’ll also have opportunity to learn some troubleshooting techniques and also do some lab assignments at the end of the lab session. Part 1: Install & Configure Ubuntu 9.10 LTS (Karmic Koala) Server Step 1: Getting Started & Hardware Pre-requisites Ubuntu runs on inexpensive, commodity hardware. To support a small practice like OSCAR, web-server etc., we recommend a minimum configuration of 200Gb Disk, 2Gb RAM, and a 2GHz Intel Dual Core CPU. For maximum subsystem compatibility, we suggest that you install the 32bit version of Ubuntu. If 1 © April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada www.globalopenversity.org ICT105 – Ubuntu Server Administration Training Global Open Versity ICT Labs Install Guide Linux Ubuntu 9.10 Karmic Koala Server v1.0 you are purchasing a computer to run OSCAR, one option is to order the machine with Ubuntu pre- installed. In this Hands-on Labs, it’s assumed that your target computer is connected to the internet. After installing the operating system, log into your machine and ensure you perform software updates to bring your systems up-to-date. Step 2: Install Linux Ubuntu 9.10 Karmic Koala 1. Hope over to http://releases.ubuntu.com/karmic/. website and download the Linux Ubuntu 9.10 32-bit ISO which at the time of writing this lab manual was "Ubuntu-9.10-server-i386.iso" 2. Once you have downloaded the Ubuntu ISO specific to your distribution, you have the option burning it into CD or just by using the ISO package to install it from your virtual machine, in our case VMware. 3. Fire-up a new virtual machine and perform the initial configuration and setup to use ISO package. 4. Start the virtual machine, and you should be able to see the first Ubuntu installation screen. 5. From Fig. 1, select the language desired and hit Enter key. Fig. 1 6. From Fig. 2, select the option desired and then hit the Enter key to commence installation. In our case we have selected to Install Ubuntu Server option. 2 © April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada www.globalopenversity.org ICT105 – Ubuntu Server Administration Training Global Open Versity ICT Labs Install Guide Linux Ubuntu 9.10 Karmic Koala Server v1.0 Fig. 2 7. From Fig. 3, Choose language screen, select English option, and hit the Enter key. Fig. 3 3 © April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada www.globalopenversity.org ICT105 – Ubuntu Server Administration Training Global Open Versity ICT Labs Install Guide Linux Ubuntu 9.10 Karmic Koala Server v1.0 8. From Fig. 4, Choose language screen, Choose a country, select United States option, and hit Enter Fig. 4 9. From the Ubuntu installer main menu screen, Fig. 5, accept the default selected <No> and hit the Enter key to continue. Fig. 5 10. From the Ubuntu installer main menu screen, Fig. 6, Origin of keyboard, select USA and hit the Enter key to continue. 4 © April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada www.globalopenversity.org ICT105 – Ubuntu Server Administration Training Global Open Versity ICT Labs Install Guide Linux Ubuntu 9.10 Karmic Koala Server v1.0 Fig. 6 11. From the Ubuntu installer main menu screen, Fig. 7, Keyboard layout, select USA and hit the Enter key to continue. Fig. 7 5 © April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada www.globalopenversity.org ICT105 – Ubuntu Server Administration Training Global Open Versity ICT Labs Install Guide Linux Ubuntu 9.10 Karmic Koala Server v1.0 12. From Fig. 8, the Detecting hardware to find CD-ROM drives screen, wait for the system complete the process. Fig. 8: System Detecting hardware to find CD-ROM drives 13. From Fig. 9, the Loading additional components screen, wait for the system complete the process. Fig. 9 14. From Fig. 9a, the Configuring the network with DHCP screen, wait for the system complete the process. Fig. 9a 15. From Fig. 10, the Configure the network screen, enter desired the Hostname: cloud, change as desired, and hit the Tab key to select <Continue> and hit the Enter key to continue. 6 © April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada www.globalopenversity.org ICT105 – Ubuntu Server Administration Training Global Open Versity ICT Labs Install Guide Linux Ubuntu 9.10 Karmic Koala Server v1.0 Fig. 10 16. From Fig. 11, the setting up the clock screen, wait for the system to complete the process. Fig. 11 17. From Fig. 12, the Configure the clock screen, accept the default selection for the time zone, or change as desired, and then hit the Enter key to continue. 7 © April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada www.globalopenversity.org ICT105 – Ubuntu Server Administration Training Global Open Versity ICT Labs Install Guide Linux Ubuntu 9.10 Karmic Koala Server v1.0 Fig. 12 18. From Fig. 13, the Starting up the partitioner screen, wait for the system to complete the process. Fig. 13 19. From Fig. 14, the Partition disks screen, accept the default selection, or change as desired, and then hit the Enter key to continue. 8 © April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada www.globalopenversity.org ICT105 – Ubuntu Server Administration Training Global Open Versity ICT Labs Install Guide Linux Ubuntu 9.10 Karmic Koala Server v1.0 Fig. 14 20. From Fig. 15, the Partition disks screen, accept the default selection, or change as desired, and then hit the Enter key to continue. Fig. 15 9 © April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada www.globalopenversity.org ICT105 – Ubuntu Server Administration Training Global Open Versity ICT Labs Install Guide Linux Ubuntu 9.10 Karmic Koala Server v1.0 21.