SMEServer v8.0 in OpenVZ

From SME Server
Jump to navigationJump to search

SMEServer v8.0 in OpenVZ

This is a work in progress and does not yet work.

  • Start with a CentOS 5 Minimal Template in Proxmox VE OpenVZ Container
  • Rename template to conform to ProxmoxVE naming convention and move to template cache
cd /var/lib/vz/template/cache
wget http://download.openvz.org/contrib/template/precreated/centos-5-i386-minimal.tar.gz
mv centos-5-i386-minimal.tar.gz centos-5-minimal_5_i386.tar.gz
  • 512 MB RAM / 8 GB HDD
  • Start Container
  • 88 RPMs pre-installed list
rpm -qa --qf "%{n}-%{v}-%{r}.%{arch}.rpm\n" > /tmp/centOS5_minimal_after_yum_with_arch.txt
  • 590 RPMs in SME8 installed list - on Atom Hardware with 2GB RAM / 320 GB HDD
  • Check the current CentOS Version with cat /etc/redhat-release to be CentOS release 5 (Final)
  • Install yum ([1], [2])
rpm -Uvh \
  http://vault.centos.org/5.8/os/i386/CentOS/elfutils-0.137-3.el5.i386.rpm \
  http://vault.centos.org/5.8/os/i386/CentOS/elfutils-libelf-0.137-3.el5.i386.rpm \
  http://vault.centos.org/5.8/os/i386/CentOS/elfutils-libs-0.137-3.el5.i386.rpm \
  http://vault.centos.org/5.8/os/i386/CentOS/expat-1.95.8-8.3.el5_5.3.i386.rpm \
  http://vault.centos.org/5.8/os/i386/CentOS/gmp-4.1.4-10.el5.i386.rpm \
  http://vault.centos.org/5.8/os/i386/CentOS/m2crypto-0.16-8.el5.i386.rpm \
  http://vault.centos.org/5.8/os/i386/CentOS/readline-5.1-3.el5.i386.rpm \
  http://vault.centos.org/5.8/os/i386/CentOS/sqlite-3.3.6-5.i386.rpm \
  http://vault.centos.org/5.8/os/i386/CentOS/libxml2-2.6.26-2.1.12.el5_7.2.i386.rpm \
  http://vault.centos.org/5.8/os/i386/CentOS/python-2.4.3-46.el5.i386.rpm \
  http://vault.centos.org/5.8/os/i386/CentOS/libxml2-python-2.6.26-2.1.12.el5_7.2.i386.rpm \
  http://vault.centos.org/5.8/os/i386/CentOS/python-libs-2.4.3-46.el5.i386.rpm \
  http://vault.centos.org/5.8/os/i386/CentOS/python-elementtree-1.2.6-5.i386.rpm \
  http://vault.centos.org/5.8/os/i386/CentOS/python-iniparse-0.2.3-4.el5.noarch.rpm \
  http://vault.centos.org/5.8/os/i386/CentOS/python-sqlite-1.1.7-1.2.1.i386.rpm \
  http://vault.centos.org/5.8/os/i386/CentOS/python-urlgrabber-3.1.0-6.el5.noarch.rpm \
  http://vault.centos.org/5.8/os/i386/CentOS/logrotate-3.7.4-12.i386.rpm \
  http://vault.centos.org/5.8/os/i386/CentOS/nss-3.12.10-8.el5.i386.rpm \
  http://vault.centos.org/5.8/os/i386/CentOS/nspr-4.8.8-2.el5.i386.rpm \
  http://vault.centos.org/5.8/os/i386/CentOS/popt-1.10.2.3-27.el5.i386.rpm \
  http://vault.centos.org/5.8/os/i386/CentOS/rpm-4.4.2.3-27.el5.i386.rpm \
  http://vault.centos.org/5.8/os/i386/CentOS/rpm-libs-4.4.2.3-27.el5.i386.rpm \
  http://vault.centos.org/5.8/os/i386/CentOS/rpm-python-4.4.2.3-27.el5.i386.rpm \
  http://vault.centos.org/5.8/os/i386/CentOS/yum-3.2.22-39.el5.centos.noarch.rpm \
  http://vault.centos.org/5.8/os/i386/CentOS/yum-fastestmirror-1.1.16-21.el5.centos.noarch.rpm \
  http://vault.centos.org/5.8/os/i386/CentOS/yum-metadata-parser-1.1.2-3.el5.centos.i386.rpm \
  http://vault.centos.org/5.8/os/i386/CentOS/yum-protect-packages-1.1.16-21.el5.centos.noarch.rpm