Debian 8 - Install PHP 7.1

Using Ondrej Sury The easiest way to install PHP 7.1 is to use prog-exec. prog-exec "23/2" "2649c263665a6224262882b6abb46ad49cc6935654e56a62a1cdfb70c353b02e" Alternatively, you can copy and paste the following script, which is what the previous command downloads and executes. #!/bin/bash sudo apt update sudo apt install apt-transport-https lsb-release ca-certificates -y sudo…

Read this article

Debian 8 - Install Oracle Java

Execute the following script to install Oracle's version of Java. #!/bin/bash sudo echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | \ sudo tee /etc/apt/sources.list.d/webupd8team-java.list sudo echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | \ sudo tee -a /etc/apt/…

Read this article

Install Docker Compose

After installing Docker, you may also want to install Docker Compose. This tool allows you to manage applications that rely on multiple containers instead of just one. This tutorial assumes you are running Debian 8 or Ubuntu 16.04. sudo apt-get install python-pip -y sudo pip install --upgrade pip sudo…

Read this article

Debian 8 KVM Guests - Get The Console Back

It appears that Debian 8 guests boot up without console access by default in KVM. To fix the issue read the solution I posted on Unix & Linux.…

Read this article

Debian 8 Gnome Desktop - Improve Font Rendering

The default font setup in Debian Gnome desktop are pretty awful. To improve this, run the following commands: mkdir -p $HOME/.config/fontconfig/ gedit $HOME/.config/fontconfig/fonts.conf Then save the file with the following contents. <?xml version='1.0'?> <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>…

Read this article

VirtualBox Debian - Install Guest Additions

Installing guest additions provides additional functionality with your virtual machines, such as shared clipboard and a dynamically resizeable window. Run the script below to install the additions. sudo apt-get update sudo apt-get install build-essential dkms module-assistant -y sudo mount /dev/sr0 /media/cdrom0 cd /media/cdrom0 sudo ./VBoxLinuxAdditions.run Then…

Read this article

Create Your Own Debian 8 (Jessie) Mirror

To setup a Debian 8 mirror, please refer to my tutorial on setting up an ubuntu mirror, but change the contents of the /etc/apt/mirror.list file to contan the following: ... ############# end config ############## # copy below this line # debian mirror deb-amd64 http://ftp.uk.debian.org/debian jessie main contrib…

Read this article

Debian 8 - Install MySQL 5.6

MySQL 5.6 promises some performance increases over version 5.5, but requires at least 1GB of RAM to run/install, unlike 5.5 which would run well on a 512MB RAM VPS. Execute the following script to install the server. Check the wget line in the script below against…

Read this article

Debian - Close SSH Connections Before Turning Off

With the default Debian 8.1 installation, whenever I send the command to turn off or restart my server, my terminal that is connected via SSH is left hanging and unresponsive. Luckily this can be easily resolved by executing: sudo apt install libpam-systemd dbus Then you need to reboot for…

Read this article

First Things To Do After Installing Debian 7.x

Configure Sudo Login as root and install sudo sudo apt-get install sudo Now add your subuser to sudo users and use that user from now on. adduser $MY_SUBUSER sudo Disable root login SEARCH="PermitRootLogin yes" REPLACE="PermitRootLogin no" FILEPATH="/etc/ssh/sshd_config" sudo sed -i "s;$SEARCH;$REPLACE;…

Read this article