Blog

236 posts

Code13 Sept 2013

Install Bitsync on Raspberry Pi

So today im using dropbox to sync all my stuff between devices. But now there are so much there so my free space is almost full. So now its time for me to move

Linux29 Aug 2013

Centos What files are open to that PID

Find out what files are open by that pid file. 1. Find the pid for you service ps aux | grep httpd apache   24179  0.0  0.0 251316 15528 ?        S    08:

Linux29 Aug 2013

Mysql Commands to Remember

This is an reminder for mw some mysql commands that i use often and my mind not always bring with me. Optimize table When i table that has many writes and del

Linux15 Aug 2013

Kernel updated don´t update grub on Centos 6.4

So you have updated the kernel on you centos but you server is still running on the old kernel. Whenan kernel is updated yum updates the file /etc/grub.conf and

Linux15 Aug 2013

Remove old kernel in Centos

So you try to update you server and it says that you /boot pertision is full and cant update kernel. Will this is how you remove some old kernels so you can kee

Code7 Aug 2013

Python ConfigParser using you own config files in python

Storing settings in config files and then let python read the configfiles and to good stuff . Read the file #Reading config file config = ConfigParser.ConfigP

Code5 Aug 2013

How the HELL is oncall ? (the oncall reminder script)

When you have oncall often sometimes is easy to forget hows oncall and when you are not. So for the last time wonder how is oncall and ask some python for some

Elino5 Aug 2013

restrict sms in nagios / icinga

Im using nagios as primary monitoring tool. And to get alerts we use an sms gateway. The problem is that sometimes when we work we bring down and server and we

Linux4 Aug 2013

NTP Server and client setup

Time is critical when having many server and using different clusters. So i made this guide to save all my notes when working with time. Setting local time I ma

Linux1 Aug 2013

LVS cluster for Centos

An other cluster solution for Linux is LVS. I im testing to use LVS cluster for some cloud server. My cloudserver has one external ip and i want all traffic to

Elino30 Jul 2013

Install HA-Proxy for load-balansing on Centos

For load balasing my weebtraffic im setting up HA-proxy. The proxy recives reqest on one ip and then even loads the reqest between my web server nodes. First in

Linux30 Jul 2013

Install Heartbeat HA cluster on Centos

So the backbone of my webcluster i use Heartbeat to monitor the server performance. Heartbeat is setup to monitor the servers and to take actions if anything ha