Changes

Jump to navigation Jump to search
m
Line 18: Line 18:     
== SME Server 9.0 on top of Scientific Linux ==
 
== SME Server 9.0 on top of Scientific Linux ==
The installation instructions of SME Server functionality are based on minimal installation of Scientific Linux 6.3 64-bit and SME Server 9.0alpha1 repository. Please use a virtual environment to test your results. Virtual environments may include e.g. VirtualBox (free), VMWare, KVM or Xen.
+
The installation instructions of SME Server functionality are based on minimal installation of Scientific Linux 6.5 64-bit and SME Server 9.0 repository. Please use a virtual environment to test your results. Virtual environments may include e.g. VirtualBox (free), VMWare, KVM or Xen.
       
==== Install SL minimal ====
 
==== Install SL minimal ====
SME Server functionality is only tested with a minimal install of Scientific Linux. To be able to install 'SL minimal' one must use the DVD install ISO. Other available downloads like the LiveCD etc. do not have the option to install 'SL minimal'.
+
SME Server functionality is only tested with a minimal install of Scientific Linux. To install 'SL minimal' one can use the boot.iso. A internet connection is required. The URL required for performing a net install must point to the /pub/scientific-linux/6.5/x86_64/os/ diretory of the mirror you use.
   −
You can download the SL DVD install CD from either [http://ftp.scientificlinux.org/linux/scientific/6.3/x86_64/iso/SL-63-x86_64-2012-08-02-Install-DVD.iso here], [http://ftp1.scientificlinux.org/linux/scientific/6.3/x86_64/iso/SL-63-x86_64-2012-08-02-Install-DVD.iso here] or [ftp://ftp.scientificlinux.org/linux/scientific/6.3/x86_64/iso/SL-63-x86_64-2012-08-02-Install-DVD.iso here]. Install SL minimal in your virtual environment which should have at least:
+
You can download the SL boot.iso from one of the many scientific mirrors. Install SL minimal in your virtual environment which should have at least:
    
* 1Gb RAM memory
 
* 1Gb RAM memory
Line 32: Line 32:       −
When using the SL install DVD you have the option to select what to install. Please select 'minimal' and leave all other options as per their defaults.
+
Boot the boot.iso and follow instruction. Once the graphical installer starts, select 'minimal' and leave all other options as per their defaults.
    
Once the installation has finished, please reboot and continue with enabling networking and SSH.
 
Once the installation has finished, please reboot and continue with enabling networking and SSH.
Line 38: Line 38:     
==== Enable networking and SSH ====
 
==== Enable networking and SSH ====
Login as root with the password what was provided at installation time. To enable networking please issue:
+
This step may not be required. Please check after login with ifconfig your networking configuration. Otherwise, login as root with the password what was provided at installation time. To enable networking please issue:
 
  ifup eth0
 
  ifup eth0
   Line 48: Line 48:     
==== Install nano and wget ====
 
==== Install nano and wget ====
If you are not familiar with vi or vim, you can install the nano editor. This page assumes that you have installed nano. Please install nano as follows by issuing as root on the console:
+
If you are not familiar with vi or vim, you can install the nano editor. This page assumes that you have installed nano. Please install nano and wget as follows by issuing as root on the console:
 
  yum install nano wget
 
  yum install nano wget
      
==== Disable SELinux ====
 
==== Disable SELinux ====
Line 66: Line 65:  
  yum update
 
  yum update
   −
and reboot if a new kernel has been installed.
+
==== Add SME Server repo ====
 
+
To be able to download the required packages we need to add the SME Server repo:
==== Add SME Server repo's ====
+
nano -w /etc/yum.repos.d/smeos9.repo
To be able to download the required packages we need to add the SME Server repo's. The auto-selected (closest) mirror may not be the fastest, and you may want to hash out the 'mirrorlist=' line entries and replace them with 'baseURL=' with a repo location of your choice. Please see this the [http://mirror.contribs.org/mirrors/ download locations overview].
     −
The below example uses a fixed URl to download the RPM's. In general this URL is fast and reliable so there is no immediate need to change these URL's.
+
and paste the following into it:
 
  −
To add the smeos9 repo's please copy the below text in the block and and issue the following commands:
  −
nano -w /etc/yum.repos.d/smeos9.repo
  −
and paste the following into the new '/etc/yum.repos.d/smeos9.repo' file
      
  [smeos9]
 
  [smeos9]
 
  enabled=1
 
  enabled=1
  BaseURL=http://ftp.nluug.nl/os/Linux/distr/smeserver/releases/testing/9/smeos/$basearch
+
  MirrorList=http://mirrorlist.contribs.org/mirrorlist/smeos-9
 
  name=SME Server9 - os
 
  name=SME Server9 - os
gpgcheck=1
  −
enablegroups=1
  −
gpgkey = http://mirror.contribs.org/releases/testing/9/smeos/$basearch/RPM-GPG-KEY-SMEServer
  −
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
  −
  −
  −
[smeupdates9]
  −
enabled=1
  −
BaseURL=http://ftp.nluug.nl/os/Linux/distr/smeserver/releases/testing/9/smeupdates/$basearch
  −
name=SME Server9 - updates
  −
gpgcheck=1
   
  enablegroups=1
 
  enablegroups=1
gpgkey = http://mirror.contribs.org/releases/testing/9/smeos/$basearch/RPM-GPG-KEY-SMEServer
  −
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
  −
  −
  −
[smeupdates-testing9]
  −
enabled=1
  −
BaseURL=http://ftp.nluug.nl/os/Linux/distr/smeserver/releases/testing/9/smeupdates-testing/$basearch
  −
name=SME Server9 - updates testing
   
  gpgcheck=1
 
  gpgcheck=1
enablegroups=1
+
  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
gpgkey = http://mirror.contribs.org/releases/testing/9/smeos/$basearch/RPM-GPG-KEY-SMEServer
  −
  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
        Line 112: Line 85:  
This will result in the following summary. The numbers may vary depending on the changes in the repositories.
 
This will result in the following summary. The numbers may vary depending on the changes in the repositories.
 
Transaction Summary
 
Transaction Summary
  Install    391 Package(s)
+
  Install    402 Package(s)
 
  Upgrade      1 Package(s)
 
  Upgrade      1 Package(s)
  Total size: 170 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 140: 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 149: Line 129:  
  db yum_repositories delete contrib
 
  db yum_repositories delete contrib
 
  db yum_repositories delete extras
 
  db yum_repositories delete extras
 +
db yum_repositories delete fasttrack
 +
db yum_repositories delete updates
 +
and update the yum repositories db
 +
signal-event yum-modify
      −
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
      Line 163: Line 147:     
== Current status ==
 
== Current status ==
The above instructions should have brought you 'on par' with the current developments of [[SME_Server_9.0_Development|SME Server 9.0 alpha 1]].
+
The above instructions should have brought you 'on par' with SME Server 9.0

Navigation menu