Changes

From SME Server
Jump to navigationJump to search
1,173 bytes added ,  17:49, 23 February 2013
Line 2: Line 2:  
This is a work in progress and does not yet work.
 
This is a work in progress and does not yet work.
    +
== Initial CentOS Virtual Machine ==
 
* Start with a [http://download.openvz.org/contrib/template/precreated/centos-5-i386-minimal.tar.gz CentOS 5 Minimal Template] in Proxmox VE OpenVZ Container
 
* Start with a [http://download.openvz.org/contrib/template/precreated/centos-5-i386-minimal.tar.gz CentOS 5 Minimal Template] in Proxmox VE OpenVZ Container
 
* Rename template to conform to ProxmoxVE naming convention and move to template cache
 
* Rename template to conform to ProxmoxVE naming convention and move to template cache
Line 15: Line 16:  
* 590 RPMs in SME8 installed [[Media:SME_8_Installed_RPM_List.txt|'''list''']] - on Atom Hardware with 2GB RAM / 320 GB HDD
 
* 590 RPMs in SME8 installed [[Media:SME_8_Installed_RPM_List.txt|'''list''']] - on Atom Hardware with 2GB RAM / 320 GB HDD
 
* Check the current CentOS Version with <tt>cat /etc/redhat-release</tt> to be '''CentOS release 5 (Final)'''
 
* Check the current CentOS Version with <tt>cat /etc/redhat-release</tt> to be '''CentOS release 5 (Final)'''
* Install <tt>yum</tt> ([http://www.bitprocessor.be/2013/02/11/installing-yum-in-openvz-centos-5-x86-minimal/], [http://wiki.openvz.org/Install_yum])
+
 
 +
== Install wget ==
 +
rpm -Uvh http://vault.centos.org/5.8/os/i386/CentOS/wget-1.11.4-2.el5_4.1.i386.rpm
 +
 
 +
== Install some certificates ==
 +
<pre>
 +
rpm --import http://sme-mirror.firewall-services.com/releases/8/smeos/i386/RPM-GPG-KEY-SMEServer
 +
rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt
 +
rpm --import https://fedoraproject.org/static/217521F6.txt
 +
rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
 +
rpm --import http://www.salstar.sk/pub/yum/keys/RPM-GPG-KEY-Fedora-Pre-Extras
 +
rpm --import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt
 +
rpm --import http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL
 +
</pre>
 +
 
 +
=== https error workaround ===
 +
<pre>
 +
[root@cent ~]# rpm --import https://fedoraproject.org/static/217521F6.txt
 +
error: https://fedoraproject.org/static/217521F6.txt: import read failed(-1).
 +
 
 +
wget https://fedoraproject.org/static/217521F6.txt --no-check-certificate
 +
rpm --import 217521F6.txt
 +
rm -f 217521F6.txt
 +
</pre>
 +
 
 +
== Install Yum Package Manager ==
 +
References: ([http://www.bitprocessor.be/2013/02/11/installing-yum-in-openvz-centos-5-x86-minimal/], [http://wiki.openvz.org/Install_yum])
 
<pre>
 
<pre>
 
rpm -Uvh \
 
rpm -Uvh \
Line 45: Line 72:  
   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-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
 
   http://vault.centos.org/5.8/os/i386/CentOS/yum-protect-packages-1.1.16-21.el5.centos.noarch.rpm
 +
</pre>
 +
 +
* Check the installed groups with <tt>yum grouplist</tt>:
 +
<pre>
 +
Installed Groups:
 +
  System Tools
 +
  Yum Utilities
 +
Available Groups:
 +
  Administration
 +
....
 
</pre>
 
</pre>
137

edits

Navigation menu