Changes

From SME Server
Jump to navigationJump to search
479 bytes added ,  14:10, 3 November 2011
newest version of opsi needs python-rrdtool package which can be found in the DAG repo
Line 17: Line 17:  
* Also, you cannot have the [[Tftp_server | tftp server]] or [[Atftp_server | atftp server]] contrib installed (or manual install of either) on the same machine.}}
 
* Also, you cannot have the [[Tftp_server | tftp server]] or [[Atftp_server | atftp server]] contrib installed (or manual install of either) on the same machine.}}
   −
===== Creating the opsi Repository =====
+
===== Creating necessary repositories =====
First we need to create the opsi repository so we use it to install packages from.
+
First we need to create the opsi repository:
 
  /sbin/e-smith/db yum_repositories set opsi4 repository \
 
  /sbin/e-smith/db yum_repositories set opsi4 repository \
 
  Name 'CentOS $releasever - $basearch - opsi4.0' \
 
  Name 'CentOS $releasever - $basearch - opsi4.0' \
Line 28: Line 28:  
  status disabled
 
  status disabled
    +
We also want to add the DAG repository for the needed python-rrdtool package (and sadly also a LOAD of other dependencies that come with python-rrdtool):
 +
/sbin/e-smith/db yum_repositories set dag repository \
 +
Name 'Dag - EL5' \
 +
BaseURL 'http://apt.sw.be/redhat/el5/en/$basearch/dag' \
 +
EnableGroups no \
 +
GPGCheck yes \
 +
GPGKey http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt \
 +
Visible no \
 +
Exclude freetype,htop,iptraf,rsync,syslinux \
 +
status disabled
 +
 +
Then to activate the newly added repositories:
 
  signal-event yum-modify
 
  signal-event yum-modify
 
  yum makecache
 
  yum makecache
Line 33: Line 45:  
===== Installing the packages =====
 
===== Installing the packages =====
 
Installing the necessary Opsi packages.
 
Installing the necessary Opsi packages.
  yum install opsi-depotserver opsi-configed --enablerepo=opsi4
+
  yum install opsi-depotserver opsi-configed --enablerepo=opsi4,dag
 
  /etc/init.d/opsiconfd restart
 
  /etc/init.d/opsiconfd restart
 
  /etc/init.d/opsipxeconfd restart
 
  /etc/init.d/opsipxeconfd restart
167

edits

Navigation menu