Sunteți pe pagina 1din 3

16/02/2013 15:57

1/3

proxmox-on-debian-squeeze

proxmox-on-debian-squeeze
Original file

Install Proxmox VE on Debian Squeeze Contents 1 Introduction 2 Install a standard Debian Squeeze(amd64) 3 Install Proxmox VE 3.1 Adapt your sources.list 3.2 Install Proxmox VE Kernel 3.3 Install Proxmox VE packages 4 Connect to the Proxmox VE web interface 5 Optional: Developer Workstations with Proxmox VE and X11 1 Introduction The installation of a supported Proxmox VE server should be done via Bare metal_ISO_Installer. In some case it makes sense to install Proxmox VE on top of a running Debian Squeeze 64-bit, especially if you want a custom partition layout. For this HowTO the following Debian Squeeze ISO was used: PC Network Installer v6.0.5 ( http://cdimage.debian.org/debian-cd/6.0.5/amd64/iso-cd/debian-6.0.5-amd64-netinst.iso) . 2 Install a standard Debian Squeeze(amd64) Install a standard Debian Squeeze (amd64), for details see Debian (http://www.debian.org) . Go for a LVM based partitioning and a fixed IP and take care that you have enough free space for snapshots (needed for online backup with vzdump). Please make sure that your hostname is resolvable via /etc/hosts, i.e you need an entry in /etc/hosts which assigns an IP address to that hostname. Note : Suggested partition layout with LVM, Storage (on separate hard drives) with LVM and RAID 1 and EXT4 filesystem. 3 Install Proxmox VE 3.1 Adapt your sources.list Adapt your sources.list and add the Proxmox VE repository: nano /etc/apt/sources.list deb http://ftp.at.debian.org/debian squeeze main contrib
GNU-Linux FI Wiki - http://localhost/php/dokuwiki-1/

Last update: tutoriales:instalar-proxmox-desde-debian-squeeze http://localhost/php/dokuwiki-1/doku.php?id=tutoriales:instalar-proxmox-desde-debian-squeeze 29/09/2012 18:34

# PVE packages provided by proxmox.com deb http://download.proxmox.com/debian squeeze pve # security updates deb http://security.debian.org/ squeeze/updates main contrib Add the Proxmox VE repository key: wget -O- http://download.proxmox.com/debian/key.asc | apt-key add - Update your repository and system by running: aptitude update aptitude full-upgrade Note : is very important to edit: /etc/hosts changing or adding: 127.0.0.1 <hostname> by <your ip> <hostname> 3.2 Install Proxmox VE Kernel aptitude install pve-kernel-2.6.32-12-pve Optional - install Kernel headers: aptitude install pve-headers-2.6.32-12-pve Note : Reboot and make sure to select Proxmox VE Kernel on the boot loader (grub2). 3.3 Install Proxmox VE packages Make sure you are running the Proxmox VE Kernel, otherwise the installation will fail. Check the currently active Kernel: uname -a Linux 2.6.32-12-pve Install the Proxmox VE packages: aptitude install proxmox-ve-2.6.32 Configure pve-redirect for apache2: a2ensite pve-redirect.conf Note : Is possible to have rename previously: cp /etc/apache2/sites-avalailable/pve-redirect.conf.dpkg-new /etc/apache2/sites-avalailable/pve-redirect.conf And restart apache: /etc/init.d/apache2 restart Install the rest of needed packages: aptitude install ntp ssh lvm2 postfix ksm-control-daemon vzprocps Note : Accept the suggestion to remove Exim and configure postfix according to your network. 4 Connect to the Proxmox VE web interface Connect to the admin web interface ( https://youripaddress:8006) and configure the vmbr0 and review all other settings, finally reboot to check if everything is running as expected.

Note : for compatibility install the private java-runtime. /etc/network/interfaces # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface #auto eth0 iface eth0 inet manual auto vmbr0 iface vmbr0 inet static address 192.168.1.256 netmask 255.255.255.0
http://localhost/php/dokuwiki-1/ Printed on 16/02/2013 15:57

16/02/2013 15:57

3/3

proxmox-on-debian-squeeze

gateway 192.168.1.1 bridge_ports eth0 bridge_stp off bridge_fd 0 5 Optional: Developer Workstations with Proxmox VE and X11 Proxmox VE is primarily used as virtualization platform with NO additional software installed. In some case it makes sense to have a full desktop running on Proxmox VE, for example for developers using Proxmox VE as their primary workstation/desktop. For example, just install lxde desktop: # aptitude install lxde libcurl3 Make sure network-manager is not used, else pve-cluster will not start aptitude purge network-manager # aptitude purge network-manager To get a modern browser, Google Chrome is a good idea download the 64-bit *.deb (http://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb) from Google, also install icedtea6-plugin. Retrieved from http://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_Squeeze Categories: HOWTO | Installation | Proxmox VE 2.0 modified by gabrielinuz

From: http://localhost/php/dokuwiki-1/ - GNU-Linux FI Wiki Permanent link: http://localhost/php/dokuwiki-1/doku.php?id=tutoriales:instalar-proxmox-desde-debian-squeeze Last update: 29/09/2012 18:34

GNU-Linux FI Wiki - http://localhost/php/dokuwiki-1/

S-ar putea să vă placă și