We want to create a folder that where a user can drop some files per SFTP. The user should be locked down to this directory so that he can not browse the rest of the filesystem with his SFTP client and only see the...
Thursday the 29th of August, 2013
In this article we will install MongoDB in Ubuntu 12.04. MongoDB is a very popular document store database. It is a NoSQL database which runs very fast. First we need to create a source list for MongoDB so run the...
Thursday the 23rd of May, 2013
Here we will install Sphinx Search (sphinxsearch) version 2.0.5 in Ubuntu 12.04 Server from the command line. Once finished I will make sphinxsearch work together with my website for a real world example. The flow to...
Thursday the 4th of October, 2012
This quick article explains how you can stop SSH from timing out on you. Lets create a scenario where we have a Linux desktop computer with Ubuntu on it and a Server with Red Hat Enterprise Server. This works on all...
Wednesday the 30th of May, 2012
When on a Linux system, and you want to find out what folders a user has write permissions to, use the following command: find/ -uid 48 -ls 2> /dev/null | grep -v /proc The -uid switch holds the user id of the user...
Saturday the 31st of March, 2012
I recently decided that I want to upgrade my Sphinx Text Search Engine because it was having some issues with new packages on my system. The first thing I had to do was remove it from the system before I can install a...
Wednesday the 21st of March, 2012
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/apc.so' - /usr/lib/php/modules/apc.so: undefined symbol: pcre_exec in Unknown on line 0 The above error happens when running a PHP script...
Wednesday the 22nd of February, 2012
If you have a Linux server where the users home directory is used to serve files to the web then all the files under that directory are owned by the user. In order for you to manipulate those folder or directories...
Wednesday the 22nd of February, 2012
When you are a server administrator or web developer you may constantly be backing up and restoring databases in order to move them or for safe keeping. In this demonstration I will show how easy it is to do. In this...
Wednesday the 4th of January, 2012
In a previous article we covered how to find and replace simple words on the Linux command line. Find and replace text in text files on Linux from the command line Now we will cover how to extend that into finding...
Friday the 30th of December, 2011