Install PHP 5.6 on Debian

Install PHP 5.6 on Debian

Debian 9 come with PHP 7. To install PHP 5.6, run Install PHP 5.6 with Enable SimpleXML module Install php-fpm

OVH VPS Configure failover IP in Ubuntu

OVH VPS Configure failover IP in Ubuntu

On Ubuntu Default config look like /etc/network/interfaces.d/50-cloud-init.cfg is used to auto configure network interface with dhcp. First find the gateway

ufw

ufw

ufw is firewall in Ubuntu. To enable To list available apps, run To see status, run Stop ufw Start ufw

apt error after MariaDB to MySQL change

apt error after MariaDB to MySQL change

I have install MariaDB on a Ubuntu 16.04 server. Then installed Virtualmin, that require MySQL, so it removed MariaDB and

apt show

apt show

apt show command shows information about a package. See apt policy apt

apt policy

apt policy

apt policy command show information about a package. It shows the installed version “Installed: 2.4.18-2ubuntu3.5” and the repo from where

automysqlbackup

automysqlbackup

Auto backup all your MySQL databases daily, weekly and monthly. To install on Debian/Ubuntu, run To manually backup, run MySQL

subprocess installed post-installation script returned error

subprocess installed post-installation script returned error

When installing software on Ubuntu, i get following error. To fix this, run Replace PACKAGE_NAME_HERE with actual package that fail.

update-alternatives

update-alternatives

Set default editor in Ubuntu To change vi editor run To display current vi config, run

apt doesn’t support architecture i386

apt doesn’t support architecture i386

After adding facebook hhvm repository on Ubuntu 16.04, i get following error when running “apt update” command. This is fixed

add-apt-repository

add-apt-repository

add-apt-repository command can be used to add repository in ubuntu. To install, run Example

apt

apt

List all Dependencies for a package. Using apt-get to manage software Uninstalling Software in Debian Server apt policy apt show