Debian comes with a version of vi that doesn’t handle arrow keys well especially in insert mode. Pressing arrow keys in vi displays letters instead of moving the cursor. Also it doesn’t do syntax highlighting. To fix it we need to install the full vim.
Continue reading
linux server administration
Install Nginx, PHP-FPM, MySQL and WordPress on CentOS 6 Linux
Nginx is an alternative web server that is fast becoming popular. Nginx is famed for its ability to handle thousands of concurrent connections while using very little memory. In this post I look at how to install Nginx, PHP-FPM, MySQL and WordPress on a brand new CentOS 6.x Linux installation.
Continue reading
Log rotation in CentOS Linux
Lots of daemons running in CentOS Linux create their own log files. These log files contain helpful messages pertaining to the operation of those daemons. For example error messages that help in diagnosing problems with the system. Over time these log files have to be rotated so that they are easier to manage. Log rotation is the process of splitting large log files and archiving old log files for future reference. In CentOS a program called logrotate is responsible for rotating log files. In this post I look at how to customize the operation of logrotate.
Apache MaxClients
Apache web server has a configuration option called MaxClients. MaxClients determines the maximum number of concurrent connections that Apache will service.
Linux DNS server query tools
Linux has a few Domain Name System (DNS) server query tools that you can access via the command line. You can use these tools to test whether your domain name’s authoritative nameservers are responding correctly or not. Using them you can diagnose problems with DNS records.