I intalled PHP 7 als as and additional PHP-Version using https://www.howtoforge.com/tutorial/how-to-install-php-7-on-debian/ installiert. To use PHP7 on Debian Jessie with imagick: apt-get install libmagickwand-dev libmagickcore-dev cd /opt/php-7.1/etc pecl -C ./pear.conf install imagick echo extension=imagick.so >> ../lib/php.ini
With some versions of MariaDB, the server could stop responding to sql queries. service mysql status shows mysql: ERROR 23 (HY000) at line 1: Out of resources when opening file ‘./…’ (Errcode: 24 “Too many open files”) [ERROR] Error in accept: Too many open files To adjust the limits of […]
Sometimes an installation fails due to inappropriate dependencies. This is usually due to additional repos. This can be remedied by downgrading the not matching packet. As an example here the output of apt-get install openssl-dev: libssl-dev : Depends: libssl1.0.0 (= 1.0.1t-1+deb8u5) but 1.0.2j-1~bpo8+1 is to be installed Recommends: libssl-doc but […]
Today I had a server that throws a lot of /proc/devices: No entry for device-mapper found during an update. The solution is quite simple: modprobe dm-mod && dpkg-reconfigure grub-pc
I published a post at howtoforge.com to show you, how to setup a full cluster with ISPConfig 3.1 This tutorial covers: – mysql master-master replication – sync web-content with unison – sycn mails with dovecot
Debian / Ubuntu prefer to use IPv6 DNS Records. This leads to problems if the server supports only IPv4. The problem can easily solved. We only need to change the config for getaddrinfo(). Open /etc/gai.conf and change #precedence ::ffff:0:0/96 100 to precedence ::ffff:0:0/96 100 For me it was line 54.
The configuration directory / etc should be versioned for documentary reasons and for backup. All changes are visible at a glance and a previous state can be restored easily. In / etc are also security-related information. Therefore, care should be taken when transferring and backup the repository on encrypting and […]
Mollyguard detects if you are logged in using ssh when you try to reboot or shutdown (unfortunatly init 6 works) a server. In this case you have to enter the hostname to proceed with the shutdown. The installation is quite simple. Just use apt-get install mollyguard Afterwards you will be […]