Fix MySQL replication error

When you setup replication you need to make sure that no other data is available in the slave that can cause the data to be inconsistent. But if you run into problems like I had, you might notice that the … Continue reading

Posted in Database | Tagged , | Comments Off on Fix MySQL replication error

Git repository cluster setup

When you have gitosis and a number of repositories installed on a server and need to move them to another server or you want to build a cluster to have more then one server having serving the repository. This will describe how I solved this with my gitosis repositories. Continue reading

Posted in Linux Administration, Version control system | Tagged , , , , | Comments Off on Git repository cluster setup

Setup mysql master slave replication

MySQL server provides replication functionality to replicate data from a master server to multiple slave servers. The concept behind it is that there is one master server that allows read and write access and one or more slave servers that … Continue reading

Posted in Database | Tagged , | Comments Off on Setup mysql master slave replication

Access a service without direct internet connection

When two servers are connected to each other but only one server has access to the internet, services on the server that is not connected directly to the internet cannot be accessed directly. The server connected to the internet has to forward the ports to the services you want to reach on the second server. This will show you how to configure that. Continue reading

Posted in Linux Administration | Tagged , , | Comments Off on Access a service without direct internet connection

Setup gitosis to manage git repositories

With git you can have a repository on your client working independently and even not having any remote repository. But if you wane share your work with others, a remote repository will be needed. Such a remote repository can be easy set up. Continue reading

Posted in Version control system | Tagged , , , | Comments Off on Setup gitosis to manage git repositories

SSH-Key authentication is not working – SELinux

When configuring SSH passwordless login with ssh-key the ssh-key generated and transfered to the server seems to not work when I try to login. Whay is the ssh-key authentication failing? Continue reading

Posted in Linux Administration, Security | Tagged , , | 1 Comment

Show network routes on MacOSX

When working with Linux you get used to the way Linux is handling things. But when you switch from Linux to Mac OS X you notice that things are handled differently. One of these differences I came across recently. Its about the way you read out the routes you currently have currently active. Continue reading

Posted in Linux Administration, MacOSX | Tagged , | Comments Off on Show network routes on MacOSX

Migrate Baikal with minimal downtime

Baikal is a CalDAV and CardDAV implementation based on PHP and MySQL. This post will explain how to migrate a Baikal installation from one server to another with minimum downtime. DNS entries can take up to 24 hours to be propagated to all DNS servers around … Continue reading

Posted in DNS | Tagged , , | Comments Off on Migrate Baikal with minimal downtime

SELinux allow webserver to send email

When Wordpress tries to send email and you see “your host may have disabled the mail() function” it might be that SELinux is blocking it. Here is how to enable it. Continue reading

Posted in Linux Administration, Security | Tagged , , | Comments Off on SELinux allow webserver to send email

Working with markdown on Mac OS X

As markdown became more and more present I started to use it as well. Of course I wanted to preview the markdown files comfortable as well as i wanted to edit them as easy as possible. Here i want to show the easy way to work with them. Continue reading

Posted in MacOSX | Tagged , , | Comments Off on Working with markdown on Mac OS X