Rescue your server with a little magic
What to do when your server just started malfunctioning with disk errors and the filesystem switches to read only mode? You may also find various files disappearing before your eyes as you try to...
What to do when your server just started malfunctioning with disk errors and the filesystem switches to read only mode? You may also find various files disappearing before your eyes as you try to...
Here’s a quick and easy way to check if a server port is open to connections.. nc -zv somehost 22 Connection to somehost 22 port [tcp/ssh] succeeded! To check a range of ports you...
Here’s an easy way to copy or clone a database either on the same server or to a remote server and at the same time search/replace some data in the tables if needed.. All...
Here’s a quick way to login to servers to run some commands which is particularly handy when you have to do it on many servers.. ssh user@server ‘command1;command2;’ Or to execute a remote command...
Sometimes you come across a file, maybe a config file for some application you have installed, that has a load of ^M chars at the end of each line.. perhaps because the file at one...
The version of subversion included in the default centos yum repos is a little old so to install the latest and greatest, this is all you need to do.. First install the rpmforge repo...
A common problem with php applications is the inscrutable blank page. No matter what you do, nothing shows on the page, nothing shows in the apache error logs, nothing in the syslog.. you try...
Its an old one but good, here’s how to install Battlefield 1942 on a linux server.. First you have to download the relevant files which is easier said than done since many of the...
Yes that does say “knowning” but its not my typo its the actual error message displayed! So anyway, you were happily going about your business when suddenly without any warning one of your scripts...
Create an ssh connection to a server somewhere and proxy your web browsing over that secure connection.. On your pc or netbook or whatever you use for browsing, run this in a terminal.. ssh...