How to assign range of IP addresses in Linux?

As we know Linux allows to assign almost unlimited number of IP addresses to its interfaces. Such additional IPs applied to the same NIC are known as secondary IP addresses or just secondaries. Some time ago i faced a problem on how to apply about 500 IP addresses to one Linux box and then ensure that all of them get online after Linux reboots. There are several ways to accomplish […]

Read more →

 

The easiest way to split and merge pdf files in Ubuntu

The easiest way to split, merge or edit pdf files in Ubuntu is to use pdftk utility. This rather old (latest version was released in 2006) but still simple and powerful program can be installed in Ubuntu (Debian or any deb-family Linux distribution) by the following command in terminal: sudo aptitude install pdftk (if you run Fedora, RedHat or CentOS use this one: sudo yum install pdftk) Split large pdf […]

Read more →

 

16 GB encrypted candy file

Update: as far as cryptoloop is vulnerable and is not maintained I don’t recommend using below approach for creating encrypted for for those of you who require strong security. Use truecrypt to create encrypted filesystem within a file instead. Today it came to my mind that it is time to make sensitive information stored on my usb flash drive encrypted but still transportable and easy to use. But I don’t want […]

Read more →

 

Install Ruby 1.8.7 from sources in Centos 5.5

Centos 5.5 official repository is rather outdated for today so the latest Ruby available there is 1.8.6. If you need a newer version e.g. 1.8.7 you should install if from sources: 0. Install prerequisites: sudo yum install gcc zlib zlib-devel 1. Download the latest version of Ruby from project’s FTP: cd /usr/src/ sudo -s wget ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7.tar.gz tar -xvzf ruby-1.8.7.tar.gz cd ruby-1.8.7 ./configure –enable-pthread make make install 2. Check ruby’s version […]

Read more →

 

Top 3 Linux HTML editors

This post is dedicated to quality html editors for Linux and Ubuntu operating system in particular. You may think that nowadays nobody uses offline editors as there are so many content management systems (CMS) like Drupal (my favourite one), WordPress, Joomla etc. which contain embedded visual html editors. But today I made sure myself that sometimes it’s real pain to draw a 10×20 table using WordPress’s editor… Text editors like […]

Read more →