you can install the phpredis extension from the Ubuntu respositories. First, if you don’t have it installed already, let’s install Redis: sudo apt-get install redis-server After we get Redis installed (and/or verified that it was installed), we can install the PHP module for Redis: sudo apt-get install php5-redis After the module is…
Tag: Debian
Install Varnish on Debian 8
We are going to install the latest version of varnish which is 5.2 at the time of writing. In order to install the latest version, we have to download the source and compile it. You have to install some dependencies to compile the Varnish: apt-get install make automake autotools-dev libedit-dev libjemalloc-dev…
Apache Virtual Hosts on Debian 8
Step 1 — Creating the Directory Structure The first step that we are going to take is to make a directory structure that will hold the site data that we will be serving to visitors. Our document root, the top-level directory that Apache looks at to find content to serve,…
stress test your web server with httperf
Httperf is a tool for measuring web server performance. It provides a flexible facility for generating various HTTP workloads and for measuring server performance. NOTE : for accurate results, it’s best to run httperf from a remote machine and not from the localhost to install httperf in red-hat based distributions…
Enable root logins using ssh in Debian 8.0
By default you can no longer login using ssh as root with just a password since it is more secure to use a pre-shared key. However, you can you can still enable root logins using password authentication. To do this you need to edit the ssh config file ‘/etc/ssh/sshd_config/sshd_config’ as…
Add Linux machine on LibreNMS
Install SNMPD first SNMPd is not installed by default. You must first install snmpd. apt-get update apt-get install snmpd lsb -y Backup default snmp.conf file on the ‘/etc/snmp/’ directory and copy new one from the librenms directory. mv /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.asli cp /opt/librenms/snmpd.conf.example /etc/snmp/snmpd.conf or instead copy-paste below snmpd text
Perfect Backup MX using Postfix
This is quite simple, and with a very simple setup, and does not require that much, since we do not need to send out e-mails from clients from this server, or use ASMTP. I find that MySQL is not needed here, but could be used. I will use normal flat…
Installing Certbot on Debian 8
root@server:~# cat /etc/apt/sources.list deb http://ftp.de.debian.org/debian/ jessie main deb-src http://ftp.de.debian.org/debian/ jessie main deb http://security.debian.org/ jessie/updates main deb-src http://security.debian.org/ jessie/updates main deb http://ftp.de.debian.org/debian/ jessie-updates main deb-src http://ftp.de.debian.org/debian/ jessie-updates main deb http://ftp.debian.org/debian jessie-backports main
Apache Virtual Hosts on Debian 7
Virtual Hosts are used to run more than one domain off of a single IP address. This is especially useful to people who need to run several sites off of one virtual private server– each will display different information to the visitors, depending on which website the user is accessing.There…
Install PSiTransfer on Debian 8 A Simple Open Source Self-hosted File Sharing Solution
PSiTransfer, which is a simple and open source file sharing utility. Using PSiTransfer, we can either share our files locally or globally. Unlike transfer.sh, it is not a website. It is actually a self-hosted file sharing platform. You can deploy it on home system to share files over local area…