Vagrant LAMP Stack with Debian Jessie

VagrantI thought it was about time I chucked my Vagrant LAMP stack into VCM, before I lost or broke it. For those unfamiliar with Vagrant, go do some reading!

It’s based upon a not-so-current version of Laravel Homestead. I switched it to the debian/jessie64 base box, and added an init shell script. The init script will run every time you run vagrant provision, so I have carefully crafted the script to ensure it will not break things when run multiple times.

Filed under Projects, Tutorials

PHP7 beta1 build process for Debian Wheezy

PHP-logoLast weekend I decided to give PHP7 a try. Given it’s beta, I had to compile from source. As I already run a stable package version, this guide doesn’t cover the Debian packaging process. Instead we concentrate on installing PHP to an alternate directory.

Filed under Tutorials

Updating a Debian package with a new upstream release

Sometimes, but not often, it’s necessary on a Debian system to install a newer version of a package then the stable APT-repositories or even Debian Backports can offer. Figuring out how to correctly compile a package and it’s dependencies to fit your system can be a hard chore. Wouldn’t it be nice to be able […]

Permanently Ban Repeat Offenders With fail2ban

The fail2ban suite is a very useful tool in the battle against brute force login attempts. Where it's capabilities broke down for me, however, was in addressing repeat offenders. This post includ...

Install and Config Fail2Ban in Debian 7 Wheezy

Fail2Ban is an intrusion prevention software which analyzes log files and ban possible attacks (mainly Brute-force), using firewall (iptables and more).

Mounting Windows Shares with cifs in Debian Squeeze

openlogo-ndI run Debian Squeeze with Gnome 3 on a laptop. I mainly use this to offload my e-mail from the main machine, where I can concentrate my workflow across two screens without the constant need to ALT-Tab. This means that there is a need to share files between the Windows desktop machine and Laptop, using regular windows file shares.

I had a series of “bookmarks” that allowed me to access various Samba shares. These bookmarks (GVFS mounts) are configured in Nautilus, and really simple to set up. Unfortunately, they are not so easy to use; you can’t drag and drop a file from a GVFS share into a non-supporting application (such as Google Chrome), and they don’t usually generate file previews in nautilus either. This could be due to the fact that they use protocol addresses (e.g. smb://)? That means that I was having to copy files—from the shares to a local directory—before being able to work with them.

Filed under Tutorials

Part-UUID – Debian Wiki

A simple Debian based dev environment

How to install/setup latest version of PHP 5.5 on Debian Wheezy 7.0/7.1