Global Open Versity, ICT Labs

Step-By-Step Install Guide CentOS-5 Proxmox VE v1.0

Global Open Versity Cloud Computing Hands-on Labs Training Manual

Step-By-Step Install Guide Proxmox VE Server
Kefa Rabah Global Open Versity, Vancouver Canada
krabah@globalopenversity.org

www.globalopenversity.org Table of Contents Page No.

STEP-BY-STEP INSTALL GUIDE PROXMOX VE SERVER Introduction Part 1: Installing and Updating Proxmox VE Server Step 1: Getting Started & Hardware Pre-requisites 1.1 System requirements 1.2 Summary of Proxmox VE Installation Step 2: Install Proxmox Virtual Environment (VE) Step 3: Proxmox VE Configuration Part 2: Installing Virtual Machines on Proxmox VE Step 1: Downloading Appliance Templates Step 2: Installing Linux CentOS-5 VM on Proxmox VE Part 3: Backups of Critical Enterprise Applications Step 1: Install and Configure NFS Server Step 2: Exporting Directories on the Server Step 3: Creating Backup Part 4: eed More Training on Linux: Ubuntu Enterprise Cloud Training: Part 5: Hands-on Labs Assignments

2 2 2 3 3 3 4 13 15 15 16 21 21 21 22 25 25 25

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

VCC301 – Building OpenNebula Cloud Computing

Global Open Versity, ICT Labs

Step-By-Step Install Guide CentOS-5 Proxmox VE v1.0

Global Open Versity Cloud Computing Hands-on Labs Training Manual

Step-By-Step Install Guide Proxmox VE Server
By Kefa Rabah, krabah@globalopenversity.org August, 2011 GTS Institute

Introduction
In this Hands-on lab, you’re going to learn how to install and configure Proxmox Virtual Environment (VE) server – a professional virtualization platform used to make virtual machines based on KVM and OpenVZ technologies. Proxmox VE is an easy to use open source virtualization platform based on Linux and used for running virtual appliances and virtual machines. It is a product aimed at companies and production environments, since it intends to be an easy deployment and management solution.

Hands-on Solution:
In this Hands-on Lab session, you’ll learn how to install and configure Proxmox VE. Next, you’ll learn how to build and deploy virtual machines on Proxmox VE. In this lab you have opportunity to deploy CentOS-5 server which you can use to deploy any application of your choice. You’ll also learn how to install and configure NFS shared storage and backup systems to backup your critical data. You may also use Proxmox VE to build and deploy your own private cloud using eyeOS cloud, OpenNebula, Eucalyptus Systems etc.

Part 1: Installing and Updating Proxmox VE Server
Proxmox VE supports three types of virtualization technologies: • Container virtualization (OpenVZ): it allows that a physical server can run multiple insolated operating system instances as well known as containers. Its main problem is these containers or guests can just be Linux instances. However, the OpenVZ kernel provides better performance (penalty between 1% and 3% compared to a standalone server) in contradistinction to other alternatives. Full virtualization (KVM): it can run Linux and Windows guests but unlike OpenVZ, Intel VT or AMD-V CPU is needed. Paravirtualization (KVM): it presents a software interface similar to the underlying hardware in order to try to reduce the execution time of certain operations.

Note: in our lab, we think that OpenVZ is a plus because it has got better performance than KVM and the containers idea is fantastic: the size of these templates is really small and you can get a ready virtual machine in few minutes.

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

www.globalopenversity.org

VCC301 – Building OpenNebula Cloud Computing

Global Open Versity, ICT Labs

Step-By-Step Install Guide CentOS-5 Proxmox VE v1.0

Step 1: Getting Started & Hardware Pre-requisites 1.1 System requirements For production servers, high quality server equipment is needed. Keep in mind, if you run 10 Virtual Servers on one machine and you got a hardware failure, 10 services are lost. Proxmox VE supports clustering, means that multiple Proxmox VE installations can centrally managed via the included cluster functionality. Note: Proxmox VE can also use local storage (DAS) and SAN. Minimum requirements for evaluation: • CPU: 64bit (Intel EMT64 or AMD64), Intel VT/AMD-V capable CPU/Mainboard (for KVM Full Virtualization support) • Minimum 1 GB RAM • Hard drive • One NIC Recommended system requirements: • CPU: 64bit (Intel EMT64 or AMD64), Multi core CPU recommended, Intel VT/AMD-V capable CPU/Mainboard (for KVM Full Virtualization support) • 4 GB is good, more is better • Hardware RAID with batteries protected write cache (BBU) • Fast hard drives, best results with 15k rpm SAS, Raid10 • Two NIC

1.2 Summary of Proxmox VE Installation Proxmox VE installs the complete operating system and management tools in 3 to 5 minutes (depends on the used hardware). "Bare-metal" means that you start from a empty server - there is no need to install a base operation system. Including the following: • Complete operating system (Debian Lenny 64) • Partition the hard drive with LVM2 • Proxmox VE Kernel with OpenVZ and KVM support • Backup/Restore tools • Web based management interface • Proxmox uses LVM - See backup and restore of LVM data. Warning: the complete server is used and all existing data is removed.

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

www.globalopenversity.org

VCC301 – Building OpenNebula Cloud Computing

Global Open Versity, ICT Labs

Step-By-Step Install Guide CentOS-5 Proxmox VE v1.0

Step 2: Install Proxmox Virtual Environment (VE) 1. Hope over to http://www.proxmox.com/downloads/proxmox-ve/17-iso-images website and download the Proxmox VE 1.8 ISO which at the time of writing this lab manual was "Proxmox VE 1.8 ISO Installer" 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 Proxmox VE installation screen. 5. From Fig. 1, and hit Enter key to start installation.

Fig. 1

6. From Fig. 2, Proxmox Installer screen, wait for the system to complete the current process, it’ll continue after that.

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

www.globalopenversity.org

VCC301 – Building OpenNebula Cloud Computing

Global Open Versity, ICT Labs

Step-By-Step Install Guide CentOS-5 Proxmox VE v1.0

Fig. 2

7. From Fig. 3, Proxmox License Agreement screen, read and accept the license and then hit Enter key to continue.

Fig. 3

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

www.globalopenversity.org

VCC301 – Building OpenNebula Cloud Computing

Global Open Versity, ICT Labs

Step-By-Step Install Guide CentOS-5 Proxmox VE v1.0

8. From Fig. 4, Proxmox Installer screen, choose the desired option use, and then hit Next key to continue.

Fig. 4

9. From Fig. 5, Proxmox Installer screen, choose time location and keyboard language, and then hit Next key to continue.

Fig. 5

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

www.globalopenversity.org

VCC301 – Building OpenNebula Cloud Computing

Global Open Versity, ICT Labs

Step-By-Step Install Guide CentOS-5 Proxmox VE v1.0

10. From Fig. 6, Administration Password and E-Mail Address screen, enter the desired Admin password and email, and then hit Next key to continue.

Fig. 6

11. From Fig. 7, Network Configuration screen, enter all the required options, and then hit Next key to continue. Hostname: server01.govproxmox.com.

Fig. 7

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

www.globalopenversity.org

VCC301 – Building OpenNebula Cloud Computing

Global Open Versity, ICT Labs

Step-By-Step Install Guide CentOS-5 Proxmox VE v1.0

12. From Fig. 8, Virtualization Platform screen, wait for the systems to create partitions and other processes.

Fig. 8

13. From Fig. 9, Web Based Administration screen, wait for the systems to complete the processes.

Fig. 8

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

www.globalopenversity.org

VCC301 – Building OpenNebula Cloud Computing

Global Open Versity, ICT Labs

Step-By-Step Install Guide CentOS-5 Proxmox VE v1.0

14. From Fig. 9, Proxmox VE Cluster screen, wait for the systems to complete the processes.

Fig. 9

15. From Fig. 10, Installation Successful screen, click on the Reboot button .to restart the system.

Fig. 10

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

www.globalopenversity.org

VCC301 – Building OpenNebula Cloud Computing

Global Open Versity, ICT Labs

Step-By-Step Install Guide CentOS-5 Proxmox VE v1.0

16. From Fig. 11, Bootup screen, wait for the system to restart,

Fig. 11

17. From Fig. 12, Terminal Login screen, login with the appropriate username and password as entered during the installation.

Fig. 12

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

www.globalopenversity.org

VCC301 – Building OpenNebula Cloud Computing

Global Open Versity, ICT Labs

Step-By-Step Install Guide CentOS-5 Proxmox VE v1.0

18. You should now be logged in as shown in Fig. 13.

Fig. 13

19. Follow the link below to access and download the full document The full document has moved to Docstoc.com. You may download it from here: • OR • http://www.docstoc.com/docs/88046076/Step-By-Step-Install-Guide-Linux-CentOS-5-onProxmox-VE Step-By-Step Install Guide CentOS-5 on Proxmox VE Server

Other Related Articles & Hands-on Lab Manuals: • Build and Deploy Enterprise Applications with Proxmox VE Cluster v1..3 • Step-By-Step Install Guide Ubuntu 10.04 Lucid Lynx on Proxmox VE Server v1.0 • Step-By-Step Install Guide eyeOS Cloud Computing Operating System • Building and Running Private Cloud With Eucalyptus Systems v1.0 • Build & Deploy a Private Cloud using OpenNebula Cloud Computing v1.2 • Build your Own Private Cloud using Ubuntu 10.04 Eucalyptus Enterprise Cloud Computing Platform • Step-By-Step Install Guide Linux CentOS-5 VM on Citrix XenServer v1.0 • Step-By-Step Build & Deploy Citrix XenServer and XenCenter v1.2 • Step-By-Step Install Guide Windows Server 2008 R2 Virtualization With Hyper-V v1.0 • Install Guide OpenLDAP for Enterprise Identity Management and SSO • Build Private Clouds with Ubuntu 10.10 LTS Enterprise Cloud Platform • Using Webmin and Bind9 to Setup DNS Server on Linux • Install & Setup Astaro Security Gateway to Protect Corporate Network v1.1

Fellow us on Twitter: Global Open Versity and

Kefa Rabah

----------------------------------------------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. 11
© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada

www.globalopenversity.org

VCC301 – Building OpenNebula Cloud Computing

Sign up to vote on this title
UsefulNot useful