Centos: Release 5 now „end of life“

On 2017, March 31th the official Release End of Version 5 is reached. This also touches SME Server Version 8.1.

  • If you use this you must now upgrade the Webserver to the next Version.
  • Checkout which last version offers latest Options like PHP7, MYSQL 6 ..more
  • Checkout that you current Content PHP Kits Support the new OS Options (PHP7)
  • As Remark you should do at first a FULL BACKUP of your DATA!! see here
  • Save manual the /etc folder to Backup, dump crontabs and firewall settings! (ufw)
  • Setup a fresh OS if you are not a Professional Admin cause to prevent old Config Files wasting the OS!
  • Restore all Backups, set crontabs, set firewall settings
  • Check the new OS with hardening default linux tools like „nmap“, „arp-scan“ or „systat“ .. more
  • Check daily the Logs of the OS, auth daemons, Webserver Logs, Database Logs.. all Services you installed!
  • If you run into problems „white pages“, checkout the PHP5 to PHP7 Release Change Notes and Changes
  • Backup the fresh OS again..

..enjoy the new Webserver Setup..

Security Bug smeserver-phpmyadmin-multiuser-2.11.3-3.el4.sme.noarch.rpm

If you use:
smeserver-phpmyadmin-multiuser-2.11.3-3.el4.sme.noarch.rpm
and run db configuration setprop access private
the Login Interfaces is public !!!
Please take newer version:
smeserver-phpmyadmin-multiuser-2.11.9-XX.el4.sme.noarch.rpm

SME Server Centos Red Hat speedup disable unneeded services sound pcmcia cpuspeed

Problem: The default installation setup some unneeded services like pcmcia or sound or cpuspeed

Solution:

  1. log into your server as root
  2. run
    /sbin/chkconfig --list 
    to see active services
  3. run
    /sbin/chkconfig --level 2345 pcmcia off 
    to disable pcmcia cause a server does not have pcmcia
  4. edit the /etc/modprobe.conf and switch off sound-modules with
    alias "name-module" off
  5. run after reboot
    #/sbin/lsmod
    to control the disabled sound modules if they are not seen they are not active
  6. NOW you have reduced memory load and processes at cpu can speed up your CPU and save energy (at my Epia 533Mhz may be 3Watts at hour)

Centos: Yum Installer Howto

yum (Yellow dog Updater, Modified) ist eine RPM-Paketmanagement-Programm, das, aehnlich wie apt/RPM, automatisch Abhaengigkeiten aufloest. Es wird u.a. zur Zeit als Standard Paketmanager in Fedora Linux genutzt.

Pakete installieren/updaten/entfernen:

Installation von RPMs: yum install paket
Upgrade einzelner Pakete (nur bereits installierte Pakete): yum update paket
Upgrade des kompletten Systems: yum upgrade
Deinstallation von Paketen: yum remove paket

Paketsuche
Welches Paket enthält die Datei oder welches Feature ist vorhanden: yum provides dateiname
Gibt es dieses Paket überhaupt: yum list paket

Informationen anzeigen
Verfügbare Pakete anzeigen: yum list available
Updatebare Pakete anzeigen: yum list updates

Aufraeumen
Heruntergeladene Pakete wieder loeschen: yum clean packages

Repositories erstellen

yum-arch /pfad/zu/verzeichnis/mit/rpms

und in /etc/yum.conf eintragen:
[lokale Pakete]
name=Meine RPMs
baseurl=/pfad/zu/verzeichnis/mit/rpms

Hier ein Link zu ein paar yum – Repositories: http://www.linux.duke.edu/projects/yum/yum-repo.ptml
Homepage: http://www.linux.duke.edu/projects/yum/index.ptml