Categories
GNU/Linux

How to backup hard drive with a live cd

Linux: How to backup with a live cd So you’ve booted from your livecd and are in a unix styled terminal… cd /media #mount source of backup sudo mkdir src sudo mount /dev/sda1 src $mount sink of backup #sudo mkdir sink sudo mount /dev/sdb1 sink cp -Rdp src/* sink/.

Categories
Uncategorized

Rip Entire Websites with wget

Rip Entire Websites with wget

Categories
Uncategorized

.htaccess hide “.php” extension and custom 404 page

RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.php -f RewriteRule ^(.*)$ $1.php RewriteEngine on ErrorDocument 404 /spel/template/404

Categories
Uncategorized

Step-by-Step Installing Citadel Mail Server on CentOS

yum install gcc gcc-c++ autoconf automake yum install zlib-devel yum install gettext wget -q -O – http://easyinstall.citadel.org/install | sh

Categories
Uncategorized

Convert all your tabled From MyISAM to INNODB MySQL

This post shows exactly how to do, we will make use of a webserver and a php script to do the task but I guess you could do it through command line as well. <?php # Connect mysql_connect(‘localhost’, ‘root’, ‘pass’) or die(‘Could not connect: ‘ . mysql_error()); # Choose a database mysql_select_db(‘my_db’) or die(‘Could not […]