Keep mysql replication healthy with percona

Install percona If you miss dependencies, try’apt-get -f install’ If the deb file isn’t found, get the newest version at Main scripts /var/ /var/ Install helper scripts Cron

How to install mono 3 on debian or ubuntu

At the time of writing 3.8.0 was the newest version for Mono that I could find. If a newer version of Mono has come out by now, you can probably find it here. Installation guide Make might take 30-60 minutes, make-install should be fast apt-get update apt-get install -y –force-yes gcc libtool bison pkg-config libglib2.0-dev […]

Installing OpenVPN v2.3+ on debian

Version 3 Version 1 Version 2 Different directory for when easy-rsa comes bundled. Doesn’t try to install it seperately. Also sets 2048bit pem because the default seems to be 1024 If you want to use the internet through the VPN, make the following adjustments:

Install VMWare on Ubuntu 14 with kernel 3.13.0

Make sure you’re installing the latest vmware version, because even slightly older versions probably don’t support 3.13.0 kernels. apt-get install build-essential linux-headers-$(uname -r) open-vm-dkms ln -s /usr/src/linux-headers-$(uname -r)/include/generated/uapi/linux/version.h /usr/src/linux-headers-$(uname -r)/include/linux/version.h vmware-modconfig –console –install-all You may have to cd into vmware-modconfig‘s containing directory before executing that last command, but I don’t remember where it is. Start […]

Install vsftpd version 3 to fix writable root error OOPS 500

Below information is taken from Stack Overflow Install vsftpd v3 via repo If the post-setup script fails, delete it so it doesn’t keep bothering you cd /var/lib/dpkg/info && rm vsftpd.postinst Allow writable chroot Or via package (no instructions) Other config I use for first-time setup #anonymous_enable=YES local_enable=YES write_enable=YES chroot_local_user=YES

Trusty Tahr apache2, php5-fpm and event MPM

Make sure libapache2-mod-php5 is NOT installed phpinfo file for testing: Tips Show MPM module currently used: View the available mods Edit the event MPM config: Configuring phpmyadmin change Options FollowSymLinks to Options +FollowSymLinks +ExecCGI

Linux NTP synchronize time (Europe)

The following commands will install the required software, and then find the best server to synchronize with. Example output: [email protected]:~# ntpdate -u 14 May 11:11:13 ntpdate[37185]: step time server offset 200343.474928 sec [email protected]:~# ntpdate -u 14 May 11:11:23 ntpdate[37238]: adjust time server offset 0.002920 sec [email protected]:~# ntpdate -u 14 May […]