September 26, 2009 Archives

Sat Sep 26 14:50:45 EEST 2009

Redirect a website after moving it from one server to another in a Google friendly way

I had the task to physically move a website from one host to another while doing it the best SEO way possible.
Here is how I did it:
I used mod_rewrite and the following .htaccess rules like:
redirect 301 /index.html http://new-location.com/index.html
redirect 301 /somepage.html http://new-location.com/somathing.html
From Search Engine point of view it is best to create a custom redirect for every webpage available on the old location of the website to the new one.

Sat Sep 26 14:37:41 EEST 2009

Windows Daemontools like Linux GUI software or How to mount ISO files in Linux and BSD

Ever wondered if Linux allows you to open ISO's with a nice graphic interface like the famous Daemontools on Windows. Cause I did and I found the software that enables you to do so:
First and most popular option especially for Gnome users is:
1. Acetoneiso , it's really famous between mainly Ubuntu users
2. KDE users might be interesting into The kiso program 3. Another program I found being used among Ubuntu users is called gmountiso.
Still if you're mostly a console guy like I am and want to mount your iso into some directory on Linux here is how:
# mkdir /mnt/disk
# mount -o loop disk1.iso /mnt/disk

Now your iso is mounted in /mnt/disk.

The way to mount an iso file in FreeBSD is a bit different.
Here is how to do it in FreeBSD:
# mdconfig -a -t vnode -f /path/to/image.iso -u 1
# mount -t cd9660 /dev/md1 /mnt/cdrom
Now your iso stays mounted in /mnt/cdrom
In case you'd like to unmount it, you need to execute:
# mount -u /mnt/cdrom
# mdconfig -d -u 1

On FreeBSD there is one more oddity:
For instance if you'd like to mount some Windows FAT filesystem you need or alternatively an MSDOS file system, here is how:
# vnconfig /dev/vn0c ./image.iso
# mount -t msdos /dev/vn0c /cdrom

The last method to mount your iso is said to be compatible with all type of filesystems, so you might be a good idea to use it always

Sat Sep 26 14:14:00 EEST 2009

Make your Debian Linux and FreeBSD terminal / console display daily verse from KJV Bible

Since I am a Christian and I want to daily be in touch with the Holy Scriptures and I am most
of the time spending on my Linux system. I have came to the conclusion that it's beneficial to
have a daily bible displaying everytime after I login in console or terminal in X.
Therefore I thought it might be helpful to somebody out there who would wish to have the same
on his Linux / FreeBSD machine.
Here is how to set bible quote to appear everytime after login in Debian Linux:
First install the verse program through:
# apt-get install verse
Next if you want to make the verse display global for the system put
if [ -f /usr/bin/verse ]; then
echo
/usr/bin/verse
fi
in /etc/bash.bashrc
On the other hand if you'd like to make it local for your account or a set number of accounts on your system append
if [ -f /usr/bin/verse ]; then
echo
/usr/bin/verse
fi

to your ~/.bashrc as well as to the home directories of the users you'd like to display a bible verse.
If you decide to do that be aware that your login via sftp won't work anymore.
Every time you attempt to login you'll experience the error message:
"Received message too long". However that ain't a real problem for me
since I use my system as a desktop and don't sftp or ssh remotely to it or if I
do it's really often in that cases to enable my sftp logins again I temporary
comment the above code from all the files where I have it.
On FreeBSD the same is achieved a bit differently.
Here is how to install it in FreeBSD:
First you need to install it as a fortune module, because in FreeBSD bible quotes
are only available via the good old fortune program:
cd /usr/ports/misc/fortune-mod-bible;
make install clean

Next open:
the /etc/profile file and insert in the end of it:

echo
/usr/games/fortune /usr/local/share/games/fortune/bible
After your next login your FreeBSD should be quoting a bible
quotation after each and every login. What is different with
Debian's verse program is that verse keeps displaying one exact
quote of the bible during every login during the whole day,
where in FreeBSD the fortune-mod-bible does visualize a different
bible quote during every next login.

Sat Sep 26 02:41:11 EEST 2009

Orthodox New Testament Bible & Psalms (Psalter) translated from Greek

In relation with some of my previous posts earlier. I looked for an Orthodox version of the Bible in English. My instant search for that was stimulated because I suspect that many of the protestant bibles are not accurate enough.
For instance many words meanings are translated to be in accordance with some traditional protastant popular teachings. This of course if happens too often could sometimes even change whole sentence meanings.
All I can find so far is a translation of the Orthodox New Testament & The Psalms
from Greek. Originally they reside on on the following Eastern Orthodox website . For some convenience I've mirrored both the Orthodox New Testament & The Psalms.
They can be downloeded:
1. The Orthodox New Testament Septuagint translation from greek
2. As well as the The Psalter
. A version of the Bulgarian Orthodox Bible is located here . Some more interesting articles concerning orthodoxy are located on the orthodox study bible website
. That's mostly what I can find as an orthodox bible. If I find something more I'll blog it. By the way today I red about St. Justin the Martyr. Who used to be a phisopher in the tradition of Sacrates and Heraclites and converted to Christianity and accepted martyrdom for Christ in the distant 165 A.D.Read further for this great Saint and early christian apologist here

Sat Sep 26 02:23:11 EEST 2009

Linux Skype Static 2.0.0.72 Download

Since Skype 2.1 is not working with Debian amd64 Unstable. And I've seen people looking for the 2.0.0.72 static binary, I decided to put it here on my blog for download. I just hope this might be helpful to anybody out there. Download skype static-2.0.0.72 here