system admin

Tags:  •    •    •    •  

This small tutorial work on Ubuntu Hardy (8.04), Lucid 10.04 and Maverick (10.10)

Install Imagemagick and GraphicsMagick

apt-get install imagemagick graphicsmagick

Install Image Magick development files

apt-get install libmagickcore-dev libmagickwand-dev
gem install rmagick

On Hardy:
Install imagemagick from source and after it install development files:

sudo apt-get install libmagick9-dev
Tags:  •    •    •    •    •    •  

There are some easy steps to install Phusion Passenger for ruby 1.9.2 and apache2 on Ubuntu Linux.

1. Install rvm system wide

sudo bash < <( curl -L http://bit.ly/rvm-install-system-wide )

2. Install ruby 1.9.2

rvm install 1.9.2

3. add new line in /etc/bash.bashrc

[[ -s /usr/local/lib/rvm ]] && . /usr/local/lib/rvm

4. install passenger

sudo -i # you need root shell
rvm use 1.9.2-p0@global # or your version, use: rvm list

Tags:  •    •    •  

This blog entry show you how to use pivot or portre mode on your LCD monitor under Linux. I know the way that NVidia card owners can rotate their screen. You have to use official NVidia driver for this method.

Tags:  •    •    •    •  

I've got the next error message from Oracle server, when I try to insert new record:

ORA-01653: unable to extend table OWNER.TABLE_NAME by BYTE in tablespace TABLESPACE
Tags:  •    •    •    •    •  

My spam traffic has decreased to minimum after I've inserted following lines in /etc/postfix/main.cf file (Postfix main configuration file). These settings made my SMTP server to spam resist. This method use DNS queries, what mean very fast UDP communication and use less memory and CPU then any spamfilter. If your hardware is weak or an all-in-one server than use this really fast and effective method.

Before: I received 200-300 spam a day.
Now: I receive only 1-2 unsolicited email a day.

Tags:  •    •    •    •    •  

Google dont't like indexing a duplicated content. Have you got more domains that point to the same content? Is your site available at www and non-www version of the domain? (example: www.bitprison.net and bitprison.net point to same content) More domain point to my blog: bitprison.com, bitprison.net, bitprison.org and bitprison.hu. I need a solution for avoid duplicated content. I've chosen 301 redirection that google recommends for webmaters in case of duplicated content. It may help Google to determine PageRank for your site more accurately.

Now I'm sharing with you two ways of redirection.