Posts Tagged ‘ debian ’

Things to do when setting up a fresh Debian VM / server

Nov 14th, 2017 | By

Just going to make a list of the things you need to take care of immediately after logging into the VM for the first time.  Why this shit isn’t default I don’t know   Allow pasting into VIM with the right mouse button instead of this visual mode bullshit. Edit your ~/.vimrc and put this
[continue reading…]



Setting up Http/2 with debian 8.7+Apache 2 + WordPress

Apr 20th, 2017 | By

At the time of this post the version of apache with http2 support is not supported by Debian so you have to go into the testing branch to get it and then configure apache.  This tutorial should take you through that: https://www.shivering-isles.com/http-2-getting-ready-on-debian-with-apache2/ .  Just incase the tutorial ever goes down I’ll mirror it at the end
[continue reading…]



Mysql regularily crashing – Cannot allocate memory for buffer pool

Sep 15th, 2016 | By

So every day now on one of my Debian servers, Mysql is crashing with the following message: Fatal error: cannot allocate memory for the buffer pool 160915 6:38:10 [ERROR] Plugin ‘InnoDB’ init function returned error. 160915 6:38:10 [ERROR] Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed. 160915 6:38:10 [ERROR] Unknown/unsupported storage engine: InnoDB 160915 6:38:10
[continue reading…]



Automatically block aggressive IPs to prevent brute force or DDOS attacks using Bash and IPtables

Oct 11th, 2014 | By

Something I do, mainly because of my ignorance of a more elegant solution, is to manually check my logs every 4 hours and the mail server logs every 2 minutes for excessive access by individual IP’s. I run a few scripts together that: Check the access.log and list off the top 10 IP’s organized by
[continue reading…]



Migrating away from postfix/dovecot to Zimbra 8 on a Debian 6 server

May 24th, 2014 | By

What a better way to spend a glorious sunny saturday afternoon than trying to get a very complicated open source exchange platform to run on a production server powered by an OS that isn’t supported?  As with all things me, there’s no easy way to go about doing this so I’m digging in my heels
[continue reading…]



Setting up your own ssl certs for your Debian powered dovecot/postfix mail server

May 2nd, 2014 | By

Fairly painless process, many thanks Workaround for these instructions Dovecot Here comes the command to create a Dovecot certificate: openssl req -new -x509 -days 3650 -nodes -out /etc/ssl/certs/dovecot.pem -keyout /etc/ssl/private/dovecot.pem What you enter in the fields is entirely your choice. The only notable exception is the “Common Name” which has to be exactly the name
[continue reading…]



Preventing a server melt-down and saving resources: Block all Shit bot

Oct 11th, 2012 | By

Alright, I woke up today to a load average of 75.. Seventy-fucking-FIVE.  I didn’t even know that shit was possible and I’m pretty sure the guys at the DC were probably roasting marshmellows over my glowing box.  I couldn’t believe it so into my server I went, waiting 5 minuets for every command I typed
[continue reading…]



Problems mounting shared folders in a Debian Virtual OS running in a Windows Host

Sep 30th, 2012 | By

So this was a silly problem I ran into today and it’s really only the lack of very specifically labeled help available online about that caused me to write this.  Basically what I did was to install Debian 6 64 with vmware inside of a windows 7 machine.  I cringe to think I am doing
[continue reading…]



Need to get a bunch of pgp keys for your 3rd party linux repos fast?

Aug 31st, 2012 | By

Are you reinstalling your OS and having mroe than a few 3rd party repos that need to have pgp keys installed to access?  Are you dreading the processing of googling them all and wgetting the keys and then importing them? dread no more because there’s an easier way!  Just use the MIT keyserver to grab
[continue reading…]



A few words about custom partitions and /var

Aug 30th, 2012 | By

So I just installed Debian onto my new laptop, this time through vmware with a windows 7 host because I for once have enough ram and cpu to handle virtualization, and this time I felt I was ready to custom configure a more complex partition schema based on my experience.  Not the recommended BS that
[continue reading…]