Changes

Jump to navigation Jump to search
m
Line 66: Line 66:     
==== Add SME Server repo ====
 
==== Add SME Server repo ====
To be able to download the required packages we need to add the SME Server repo.
+
To be able to download the required packages we need to add the SME Server repo:
 +
nano -w /etc/yum.repos.d/smeos9.repo
   −
To add the smeos9 repo's please copy the below text in the block and and issue the following commands:
+
and paste the following into it:
nano -w /etc/yum.repos.d/smeos9.repo
  −
and paste the following into the new '/etc/yum.repos.d/smeos9.repo' file
      
  [smeos9]
 
  [smeos9]
Line 89: Line 88:  
  Upgrade      1 Package(s)
 
  Upgrade      1 Package(s)
 
  Total size: 232 M
 
  Total size: 232 M
 +
 +
After yum is finished and all packages are installed, we can remove the temporary /etc/yum.repos.d/smeos9.repo file:
 +
rm -f /etc/yum.repos.d/smeos9.repo
    
==== Post-upgrade/reboot ====
 
==== Post-upgrade/reboot ====
Line 114: Line 116:     
==== Adjust yum repositories ====
 
==== Adjust yum repositories ====
'''This whole yum section needs rework.'''
   
By default SME Server assumes it has CentOS as base linux system, In this case we use Scientific Linux, so we have to remove the CentOS specific repo's and add the SL repo's.
 
By default SME Server assumes it has CentOS as base linux system, In this case we use Scientific Linux, so we have to remove the CentOS specific repo's and add the SL repo's.
 +
 +
NOTES:
 +
* The default SME Server repo's are part of sme-base
 +
* The default (CentOS) repo's get re-initialized on yum-update
 +
* so..... with an update of sme-base or a post-install, the repo's turn back to SME defaults
    
To remove the CentOS specific repo's issue the following commands as root:
 
To remove the CentOS specific repo's issue the following commands as root:
Line 129: Line 135:       −
Add the below line to the existing SME repo's: '''TBA'''
+
Now we need to configure the SME repo's to *only* include SME Specific packages or packages that are not available in the SL repo's, and we need to configure the SL repo's the SME Server way.
   −
  includepkgs = e-smith\* smeserver\* *.sme.* clamav* clamd* mhash tbb perl-* htop proftpd php-pear-* GeoIP mod_auth_tkt radiusclient-ng nut-client nut pyzor oidentd rssh pam_abl clamav par2cmdline DCC wv checkpassword-pam pv razor-agents clam-db initscripts checkpassword-pam
+
  includepkgs = e-smith\* smeserver\* *.sme.* clamav* clamd* *dar mod_authnz* mhash tbb perl-* htop proftpd php-pear-* GeoIP mod_auth_tkt radiusclient-ng nut-client nut pyzor oidentd rssh pam_abl clamav par2cmdline DCC wv checkpassword pam pv razor-agents clam-db initscripts checkpassword-pam
     

Navigation menu