Tmux tutorial, multiscreen terminal and a better ssh experience

Tmux is a terminal multiplexer, that is a piece of software that allows you access to multiple terminal sessions from a single terminal window. It is extremely useful when doing maintenance on some server via SSH because it will allow you to simultaneously see the output of multiple terminal commands at the same time without having to run multiple ssh sessions.

Continue reading

Setting up a new CentOS 6 web server with nginx and php-fpm

Sometimes as developers we have to perform some simple sysadmin tasks, such as installing a basic LAMP or LEMP stack, basic securing of the server and so on. So what I decided to do is to just gather links to various helpful resources on how to setup Nginx + PHP 5.4 + MySQL + memcached on CentOS 6. I chose this installation since its the one I happen to use the most and I personally believe the optimal one. An alternative might be Apache + mod_php + Varnish + memcached.

Continue reading