Changes

Jump to navigation Jump to search
m
formatting
Line 59: Line 59:  
  sed -i -e 's/SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config
 
  sed -i -e 's/SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config
 
  yum remove selinux-policy-targeted
 
  yum remove selinux-policy-targeted
 +
 +
 +
==== Update SL ====
 +
Now is a good time to update your SL installation with the latest (security) updates:
 +
yum update
      Line 77: Line 82:  
  enablegroups=1
 
  enablegroups=1
 
  gpgkey = http://mirror.contribs.org/releases/testing/9/smeos/$basearch/RPM-GPG-KEY-SMEServer
 
  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
+
  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
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
   
   
 
   
 
   
 
   
Line 89: Line 92:  
  enablegroups=1
 
  enablegroups=1
 
  gpgkey = http://mirror.contribs.org/releases/testing/9/smeos/$basearch/RPM-GPG-KEY-SMEServer
 
  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
+
  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
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
   
   
 
   
 
   
 
   
Line 101: Line 102:  
  enablegroups=1
 
  enablegroups=1
 
  gpgkey = http://mirror.contribs.org/releases/testing/9/smeos/$basearch/RPM-GPG-KEY-SMEServer
 
  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
+
  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
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
        Line 115: Line 114:  
  Total size: 170 M
 
  Total size: 170 M
   −
==== Yum upgrade ====
  −
After the initial installation of the required packages, a yum upgrade is required without enabling or disabling repo's
  −
yum upgrade --nogpg
      
==== Post-upgrade/reboot ====
 
==== Post-upgrade/reboot ====
Line 140: Line 136:     
Now one can remotely ssh in to the server, which makes it easier to execute the remaining steps.
 
Now one can remotely ssh in to the server, which makes it easier to execute the remaining steps.
  −
==== Reset MySQL root password ====
  −
SME Server uses a secure random password for the MySQL root user. A new MySQL root password has to be generated to overwrite the SL root MySQL password so that it is compliant with SME Server inner workings. There should be no reason to change or use the MySQL password, so we '''strongly''' advise you '''never''' to change or use the MySQL root password, even though many how-to's or (web)applications will tell you they 'require' this'. You can grant permissions to a (new) MySQL user for a certain database as system root. How to do this is explained [[MySQL#Resetting_the_MySQL_root_password|here]]. As root issue the following commands:
  −
cd /var/service/mysqld
  −
sv d .
  −
/sbin/e-smith/expand-template /root/.my.cnf
  −
/sbin/e-smith/expand-template /var/service/mysqld/set.password
  −
/usr/libexec/mysqld --bootstrap --user=mysql --skip-grant-tables < ./set.password
  −
sv u .
       

Navigation menu