Ubuntu 16 LTS – NextCloud – HTTPS

apt install apache2 unzip mariadb-server mariadb-client php7.0-fpm php7.0-mysql php7.0-common php7.0-gd php7.0-json php7.0-cli php7.0-curl libapache2-mod-php7.0 php7.0-common php7.0-gd php7.0-json php7.0-curl php7.0-zip php7.0-xml php7.0-mbstring
mysql_secure_installation
mysql -u root -p
Continue Reading

Ubuntu – alte Kernel entfernen

Ab Version 14

apt-get autoremove --purge 

OSX – Mail – Autodiscovery deaktivieren

Mail -> Einstellungen -> Konto -> Servereinstellungen -> Verbindungseinstellungen automatisch verwalten

Selbst signiertes Apache Zertifikat

Quick and dirty:

openssl req -new -days XXX -newkey rsa:4096bits -sha512 -x509 -nodes -out SERVER.crt -keyout SERVER.key  

Ubuntu – automatische Sicherheitsupdates

apt-get install unattended-upgrades

vi /etc/apt/apt.conf.d/10periodic

APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Download-Upgradeable-Packages "1";
APT::Periodic::AutocleanInterval "7";
APT::Periodic::Unattended-Upgrade "1";

vi /etc/apt/apt.conf.d/50unattended-upgrades

Unattended-Upgrade::Allowed-Origins {
        "${distro_id}:${distro_codename}-security";
//        "${distro_id}:${distro_codename}-updates";