update installation instructions

This commit is contained in:
Dietmar Maurer 2015-03-02 11:11:49 +01:00
parent b51b16e6f5
commit 8bc53243e0

View File

@ -2,44 +2,40 @@
Setup PVE Development Environment Setup PVE Development Environment
==================================== ====================================
1. Install Debian 'jessie' 1. Install Debian 'jessie'
2. Install prerequisites for development environment: 2. Configure pvetest repository in apt sources.list
3. make sure you have a read IP address for your hostname in /etc/hosts
(using 127.0.1.1 will not work)
3. run: apt-get update
3. run: apt-get dist-upgrade
4. run: apt-get install proxmox-ve-3.10.0
5. Install prerequisites for development environment:
# new jessie depends # new jessie depends
apt-get -y install build-essential git-core debhelper autotools-dev \
doxygen check pkg-config groff quilt dpatch automake autoconf libtool \
lintian libdevel-cycle-perl libjson-perl libcommon-sense-perl \
liblinux-inotify2-perl libio-stringy-perl libstring-shellquote-perl \
dh-systemd rpm2cpio libsqlite3-dev sqlite3 libglib2.0-dev librrd-dev \
librrds-perl rrdcached libdigest-hmac-perl libxml-parser-perl \
gdb libcrypt-openssl-random-perl libcrypt-openssl-rsa-perl \
libnet-ldap-perl libauthen-pam-perl libjson-xs-perl libterm-readline-gnu-perl oathtool libmime-base32-perl liboath0 libpci-dev texi2html libsdl1.2-dev \
libgnutls28-dev libspice-protocol-dev xfslibs-dev libnuma-dev libaio-dev \
libspice-server-dev libusbredirparser-dev glusterfs-common libusb-1.0-0-dev \
librbd-dev libpopt-dev iproute bridge-utils numactl glusterfs-common \
ceph-common python-ceph libgoogle-perftools4 libfile-chdir-perl lvm2 \
glusterfs-client liblockfile-simple-perl libsystemd-daemon-dev \
libreadline-gplv2-dev libio-multiplex-perl libnetfilter-log-dev \
libipset3 ipset socat libsasl2-dev
# old wheezy depends
apt-get -y install build-essential git-core debhelper autotools-dev \ apt-get -y install build-essential git-core debhelper autotools-dev \
doxygen check pkg-config libnss3-dev groff quilt dpatch libxml2-dev \ autogen dh-autoreconf dkms doxygen check pkg-config groff quilt dpatch \
libncurses5-dev libslang2-dev libldap2-dev xsltproc python-pexpect \ automake autoconf libtool lintian libdevel-cycle-perl libjson-perl \
python-pycurl libdbus-1-dev openipmi sg3-utils libnet-snmp-perl \ libcommon-sense-perl liblinux-inotify2-perl libio-stringy-perl \
libnet-telnet-perl snmp python-openssl libxml2-utils automake autoconf \ libstring-shellquote-perl dh-systemd rpm2cpio libsqlite3-dev sqlite3 \
libsqlite3-dev sqlite3 libfuse-dev libglib2.0-dev librrd-dev \ libglib2.0-dev librrd-dev librrds-perl rrdcached libdigest-hmac-perl \
librrds-perl rrdcached lintian libdevel-cycle-perl libjson-perl \ libxml-parser-perl gdb libcrypt-openssl-random-perl \
liblinux-inotify2-perl libio-stringy-perl unzip fuse-utils \ libcrypt-openssl-rsa-perl libnet-ldap-perl libauthen-pam-perl \
libcrypt-openssl-random-perl libcrypt-openssl-rsa-perl \ libjson-xs-perl libterm-readline-gnu-perl oathtool libmime-base32-perl \
libauthen-pam-perl libterm-readline-gnu-perl libssl-dev open-iscsi \ liboath0 libpci-dev texi2html libsdl1.2-dev libgnutls28-dev \
libapache2-mod-perl2 libfilesys-df-perl libfile-readbackwards-perl \ libspice-protocol-dev xfslibs-dev libnuma-dev libaio-dev \
libpci-dev texi2html libgnutls-dev libsdl1.2-dev bridge-utils \ libspice-server-dev libusbredirparser-dev glusterfs-common \
libvncserver0 rpm2cpio apache2-mpm-prefork libintl-perl \ libusb-1.0-0-dev librbd-dev libpopt-dev iproute bridge-utils numactl \
libapache2-request-perl libnet-dns-perl vlan libio-socket-ssl-perl \ glusterfs-common ceph-common python-ceph libgoogle-perftools4 \
libfile-sync-perl ifenslave-2.6 libnet-ldap-perl console-data \ libfile-chdir-perl lvm2 glusterfs-client liblockfile-simple-perl \
libtool dietlibc-dev liblocale-po-perl libstring-shellquote-perl \ libsystemd-daemon-dev libreadline-gplv2-dev libio-multiplex-perl \
libio-multiplex-perl liblockfile-simple-perl libnetfilter-log-dev libipset3 ipset socat libsasl2-dev libogg-dev \
python-pyparsing libfilesys-df-perl libcrypt-ssleay-perl \
libfile-readbackwards-perl libanyevent-perl libanyevent-http-perl \
unzip liblocale-po-perl vlan ifenslave-2.6 libfile-sync-perl cstream \
lzop dtach apt-transport-https hdparm gdisk parted ttf-dejavu-core \
liblzma-dev dosfstools mtools libxen-dev
3. Download and install the following git modules in order from top to bottom: 3. Download and install the following git modules in order from top to bottom:
@ -49,24 +45,23 @@ You currently need the following packages:
libqb.git libqb.git
corosync-pve.git corosync-pve.git
openais-pve.git
pve-common.git pve-common.git
pve-cluster.git pve-cluster.git
redhat-cluster-pve.git
lvm.git lvm.git
pve-access-control.git pve-access-control.git
pve-storage.git pve-storage.git
pve-qemu-kvm.git pve-qemu-kvm.git
qemu-server.git qemu-server.git
vncterm.git vncterm.git
vzquota.git spiceterm.git
vzctl.git #vzquota.git
fence-agents-pve.git #vzctl.git
resource-agents-pve.git #fence-agents-pve.git
#resource-agents-pve.git
pve-manager.git pve-manager.git
pve-kernel-2.6.32.git pve-kernel-3.10.0.git
libiscsi.git libiscsi.git
gfs2-utils.git #gfs2-utils.git
ksm-control-daemon.git ksm-control-daemon.git
Most packages can be installed with 'make dinstall' command. Most packages can be installed with 'make dinstall' command.