Installing Apache/MySQL/PHP on ELCOT provided BOSS Linux

Today one of home town’s job seekers come home directly seeking advice on LAMP development.He said , he tried with XAMPP on his Windows7 , but it refuses to start the web server the Apache.

The laptop he own is a decent one, brought to him by the Government of Tamilnadu for Students in College/Higher education.

I tried to uninsatll the exisiting XAMPP package and re-install the same.Still no luck. The problem is with Windows Socket server and it is not listening at port 80 and others.

Whenever I try to start the Apache, I received the message:

Syntax error on line ## of :path/to/apache/conf/httpd.conf:
Listen setup failed
....
alloc_listener: failed to get a socket

As the laptop comes with Dual-OS pre-installed with C-DAC ‘s version of Debian/Linux OS, the BOSS, I go for LAMP and not XAMPP and/or WAMP.

1) Get your root password : I don’t have the root privilege and need it now.

elcot@boss:~$ sudo -i
root@boss[~]#passwd
You can now choose the new password or passphrase.

A valid password should be a mix of upper and lower case letters,digits, and other characters.  You can use an 8 character long password with characters from at least 3 of these 4 classes, or a 7 character long password containing characters from all the classes.  An upper case letter that begins the password and a digit that ends it do not count towards the number of character classes used.

A passphrase should be of at least 3 words, 11 to 40 characters
long, and contain enough different characters.

Alternatively, if no one else can see your terminal now, you can pick this as your password: "Canvas$assure3victim".

Enter new password:
Re-type new password:
passwd: password updated successfully
root@boss[~]#

2) Install the Apache web server

root@boss[~]#apt-get install apache2
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  apache2-mpm-worker apache2-utils apache2.2-common
Suggested packages:
  apache2-doc apache2-suexec apache2-suexec-custom
The following NEW packages will be installed:
  apache2 apache2-mpm-worker apache2-utils apache2.2-common
0 upgraded, 4 newly installed, 0 to remove and 44 not upgraded.
Need to get 474 kB of archives.
After this operation, 2,675 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://packages.bosslinux.in/boss/ savir/main apache2-utils i386 2.2.16-3 [164 kB]
Get:2 http://packages.bosslinux.in/boss/ savir/main apache2.2-common i386 2.2.16-3 [307 kB]
Get:3 http://packages.bosslinux.in/boss/ savir/main apache2-mpm-worker i386 2.2.16-3 [2,224 B]
Get:4 http://packages.bosslinux.in/boss/ savir/main apache2 i386 2.2.16-3 [1,386 B]
Fetched 474 kB in 32s (14.7 kB/s)
Selecting previously deselected package apache2-utils.
(Reading database ... 160490 files and directories currently installed.)
Unpacking apache2-utils (from .../apache2-utils_2.2.16-3_i386.deb) ...
Selecting previously deselected package apache2.2-common.
Unpacking apache2.2-common (from .../apache2.2-common_2.2.16-3_i386.deb) ...
Selecting previously deselected package apache2-mpm-worker.
Unpacking apache2-mpm-worker (from .../apache2-mpm-worker_2.2.16-3_i386.deb) ...
Selecting previously deselected package apache2.
Unpacking apache2 (from .../apache2_2.2.16-3_i386.deb) ...
Processing triggers for man-db ...
Setting up apache2-utils (2.2.16-3) ...
Setting up apache2.2-common (2.2.16-3) ...
Enabling site default.
Enabling module alias.
Enabling module autoindex.
Enabling module dir.
Enabling module env.
Enabling module mime.
Enabling module negotiation.
Enabling module setenvif.
Enabling module status.
Enabling module auth_basic.
Enabling module deflate.
Enabling module authz_default.
Enabling module authz_user.
Enabling module authz_groupfile.
Enabling module authn_file.
Enabling module authz_host.
Enabling module reqtimeout.
Setting up apache2-mpm-worker (2.2.16-3) ...
Starting web server: apache2apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
.
Setting up apache2 (2.2.16-3) ...
root@boss[~]#

Now pointing the browser at http://locahost/ must reports that “It works” kind of message.

Open the Web root located at

root@boss[~]#cd /var/www

3) Install the MySQL DB server

root@boss[~]#apt-get install mysql-server
Reading package lists... Done
Building dependency tree 
Reading state information... Done
The following extra packages will be installed:
 libdbd-mysql-perl libdbi-perl libhtml-template-perl libnet-daemon-perl libplrpc-perl mysql-client-5.1 mysql-server-5.1 mysql-server-core-5.1
Suggested packages:
 libipc-sharedcache-perl libterm-readkey-perl tinyca
The following NEW packages will be installed:
 libdbd-mysql-perl libdbi-perl libhtml-template-perl libnet-daemon-perl libplrpc-perl mysql-client-5.1 mysql-server mysql-server-5.1 mysql-server-core-5.1
0 upgraded, 9 newly installed, 0 to remove and 44 not upgraded.
Need to get 21.3 MB of archives.
After this operation, 50.5 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://packages.bosslinux.in/boss/ savir/main libnet-daemon-perl all 0.43-1 [46.6 kB]
Get:2 http://packages.bosslinux.in/boss/ savir/main libplrpc-perl all 0.2020-2 [36.0 kB]
Get:3 http://packages.bosslinux.in/boss/ savir/main libdbi-perl i386 1.612-1 [879 kB]
Get:4 http://packages.bosslinux.in/boss/ savir/main libdbd-mysql-perl i386 4.016-1 [138 kB] 
Get:5 http://packages.bosslinux.in/boss/ savir/main mysql-client-5.1 i386 5.1.49-1 [8,301 kB] 
Get:6 http://packages.bosslinux.in/boss/ savir/main mysql-server-core-5.1 i386 5.1.49-1 [3,933 kB] 
Get:7 http://packages.bosslinux.in/boss/ savir/main mysql-server-5.1 i386 5.1.49-1 [7,814 kB] 
Get:8 http://packages.bosslinux.in/boss/ savir/main libhtml-template-perl all 2.9-2 [65.9 kB] 
Get:9 http://packages.bosslinux.in/boss/ savir/main mysql-server all 5.1.49-1 [64.4 kB] 
Fetched 21.3 MB in 6min 36s (53.7 kB/s) 
Preconfiguring packages ...
Selecting previously deselected package libnet-daemon-perl.
(Reading database ... 160956 files and directories currently installed.)
Unpacking libnet-daemon-perl (from .../libnet-daemon-perl_0.43-1_all.deb) ...
Selecting previously deselected package libplrpc-perl.
Unpacking libplrpc-perl (from .../libplrpc-perl_0.2020-2_all.deb) ...
Selecting previously deselected package libdbi-perl.
Unpacking libdbi-perl (from .../libdbi-perl_1.612-1_i386.deb) ...
Selecting previously deselected package libdbd-mysql-perl.
Unpacking libdbd-mysql-perl (from .../libdbd-mysql-perl_4.016-1_i386.deb) ...
Selecting previously deselected package mysql-client-5.1.
Unpacking mysql-client-5.1 (from .../mysql-client-5.1_5.1.49-1_i386.deb) ...
Selecting previously deselected package mysql-server-core-5.1.
Unpacking mysql-server-core-5.1 (from .../mysql-server-core-5.1_5.1.49-1_i386.deb) ...
Selecting previously deselected package mysql-server-5.1.
Unpacking mysql-server-5.1 (from .../mysql-server-5.1_5.1.49-1_i386.deb) ...
Selecting previously deselected package libhtml-template-perl.
Unpacking libhtml-template-perl (from .../libhtml-template-perl_2.9-2_all.deb) ...
Selecting previously deselected package mysql-server.
Unpacking mysql-server (from .../mysql-server_5.1.49-1_all.deb) ...
Processing triggers for man-db ...
Setting up libnet-daemon-perl (0.43-1) ...
Setting up libplrpc-perl (0.2020-2) ...
Setting up libdbi-perl (1.612-1) ...
Setting up libdbd-mysql-perl (4.016-1) ...
Setting up mysql-client-5.1 (5.1.49-1) ...
Setting up mysql-server-core-5.1 (5.1.49-1) ...
Setting up mysql-server-5.1 (5.1.49-1) ...
Stopping MySQL database server: mysqld.
130118 13:07:42 [Note] Plugin 'FEDERATED' is disabled.
130118 13:07:42 InnoDB: Started; log sequence number 0 44233
130118 13:07:42 InnoDB: Starting shutdown...
130118 13:07:47 InnoDB: Shutdown completed; log sequence number 0 44233
Starting MySQL database server: mysqld.
Checking for corrupt, not cleanly closed and upgrade needing tables..
Setting up libhtml-template-perl (2.9-2) ...
Setting up mysql-server (5.1.49-1) ...

4) Verify that MySQL is up and running

root@boss[~]#mysql -uroot -p
Enter password: 
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 41
Server version: 5.1.49-1 (Debian)

Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.

This software comes with ABSOLUTELY NO WARRANTY. This is free software,and you are welcome to modify and redistribute it under the GPL v2 license

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> Bye

5) Install the stable PHP5

root@boss[~]#apt-get install php5
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  apache2-mpm-prefork libapache2-mod-php5 libonig2 libqdbm14 php5-cli php5-common php5-suhosin
Suggested packages:
  php-pear
The following packages will be REMOVED:
  apache2-mpm-worker
The following NEW packages will be installed:
  apache2-mpm-prefork libapache2-mod-php5 libonig2 libqdbm14 php5 php5-cli php5-common php5-suhosin
0 upgraded, 8 newly installed, 1 to remove and 44 not upgraded.
Need to get 6,391 kB of archives.
After this operation, 16.8 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://packages.bosslinux.in/boss/ savir/main apache2-mpm-prefork i386 2.2.16-3 [2,284 B]
Get:2 http://packages.bosslinux.in/boss/ savir/main libonig2 i386 5.9.1-1 [134 kB]
Get:3 http://packages.bosslinux.in/boss/ savir/main libqdbm14 i386 1.8.77-3.1 [147 kB]
Get:4 http://packages.bosslinux.in/boss/ savir/main php5-common i386 5.3.2-2 [518 kB]
Get:5 http://packages.bosslinux.in/boss/ savir/main libapache2-mod-php5 i386 5.3.2-2 [2,768 kB]   Get:6 http://packages.bosslinux.in/boss/ savir/main php5 all 5.3.2-2 [1,072 B]                    Get:7 http://packages.bosslinux.in/boss/ savir/main php5-cli i386 5.3.2-2 [2,741 kB]              Get:8 http://packages.bosslinux.in/boss/ savir/main php5-suhosin i386 0.9.32.1-1 [80.8 kB]                            
Fetched 6,391 kB in 2min 15s (47.2 kB/s)                             
dpkg: apache2-mpm-worker: dependency problems, but removing anyway as you requested:
 apache2 depends on apache2-mpm-worker (= 2.2.16-3) | apache2-mpm-prefork (= 2.2.16-3) | apache2-mpm-event (= 2.2.16-3) | apache2-mpm-itk (= 2.2.16-3); however:
  Package apache2-mpm-worker is to be removed.
  Package apache2-mpm-prefork is not installed.
  Package apache2-mpm-event is not installed.
  Package apache2-mpm-itk is not installed.
(Reading database ... 161407 files and directories currently installed.)
Removing apache2-mpm-worker ...
Stopping web server: apache2apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
 ... waiting ..
Selecting previously deselected package apache2-mpm-prefork.
(Reading database ... 161403 files and directories currently installed.)
Unpacking apache2-mpm-prefork (from .../apache2-mpm-prefork_2.2.16-3_i386.deb) ...
Setting up apache2-mpm-prefork (2.2.16-3) ...
Starting web server: apache2apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
.
Selecting previously deselected package libonig2.
(Reading database ... 161408 files and directories currently installed.)
Unpacking libonig2 (from .../libonig2_5.9.1-1_i386.deb) ...
Selecting previously deselected package libqdbm14.
Unpacking libqdbm14 (from .../libqdbm14_1.8.77-3.1_i386.deb) ...
Selecting previously deselected package php5-common.
Unpacking php5-common (from .../php5-common_5.3.2-2_i386.deb) ...
Selecting previously deselected package libapache2-mod-php5.
Unpacking libapache2-mod-php5 (from .../libapache2-mod-php5_5.3.2-2_i386.deb) ...
Selecting previously deselected package php5.
Unpacking php5 (from .../archives/php5_5.3.2-2_all.deb) ...
Selecting previously deselected package php5-cli.
Unpacking php5-cli (from .../php5-cli_5.3.2-2_i386.deb) ...
Selecting previously deselected package php5-suhosin.
Unpacking php5-suhosin (from .../php5-suhosin_0.9.32.1-1_i386.deb) ...
Processing triggers for man-db ...
Setting up libonig2 (5.9.1-1) ...
Setting up libqdbm14 (1.8.77-3.1) ...
Setting up php5-common (5.3.2-2) ...
Setting up libapache2-mod-php5 (5.3.2-2) ...

Creating config file /etc/php5/apache2/php.ini with new version
Reloading web server config: apache2apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
.
Setting up php5 (5.3.2-2) ...
Setting up php5-cli (5.3.2-2) ...

Creating config file /etc/php5/cli/php.ini with new version
update-alternatives: using /usr/bin/php5 to provide /usr/bin/php (php) in auto mode.
Setting up php5-suhosin (0.9.32.1-1) ...

Now say a Hello, to php!

root@boss[~]#php
<?php
echo "Hello \n";
?>
Hello
root@boss[~]#

6) Configure Apache with PHP

Then I wrote some sample PHP scripts and try to load via the browser. OMG! The source PHP is delivered to client directly without getting phrased by the PHP Interpreter.

Find the httpd.conf located inside /etc/apache2/ and the following few lines to it.

<FilesMatch \.php$>
    SetHandler application/x-httpd-php
</FilesMatch>

Try to load it now! Works good…

7) Finally link PHP5-MySQL

Before leaving the spot, that LAMP is successfully installed and I just do a small task on reading contents from DB.

root@boss[elcot]#php /var/www/friends.php 
HiPHP Fatal error: Call to undefined function mysql_connect() in /var/www/friends.php on line 7

Opps! PHP is not talking with MySQL. Here’s how to make them.

root@boss[elcot]#apt-get install php5-mysql
Reading package lists... Done
Building dependency tree 
Reading state information... Done
The following NEW packages will be installed:
 php5-mysql
0 upgraded, 1 newly installed, 0 to remove and 44 not upgraded.
Need to get 64.2 kB of archives.
After this operation, 242 kB of additional disk space will be used.
Get:1 http://packages.bosslinux.in/boss/ savir/main php5-mysql i386 5.3.2-2 [64.2 kB]
Fetched 64.2 kB in 0s (70.8 kB/s) 
Selecting previously deselected package php5-mysql.
(Reading database ... 161480 files and directories currently installed.)
Unpacking php5-mysql (from .../php5-mysql_5.3.2-2_i386.deb) ...
Processing triggers for libapache2-mod-php5 ...
Reloading web server config: apache2apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
.
Setting up php5-mysql (5.3.2-2) ...
root@boss[elcot]#service apache2 restart
Restarting web server: apache2apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
 ... waiting apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
.
root@boss[elcot]#

That’s all. Job Done.

Happy LAMP’ing…

Posted in linux, technology | Tagged , , , , , , , , , | 12 Comments

Don’t see my password! Please…

And it’s the time I cleanup my inbox and get shocked at seeing a mail from Bharatmatrimony reminding me to login often for them to serve me better(?). Here’s snapshot of their mail.

Login details carrying passwords in plain text

Login details carrying passwords in plain text

Again I try another attempt on ‘Forget password’ , they send passwords for all accounts with the same email id. OMG! Opos! Goosh!

Accounts with password in plain text in mail

Accounts with password in plain text in mail

So you’re storing my password in plain text format in your server systems? OMG! Unexpected totally.

From your about us , it is clear that you are now able to read 20000000+ member’s password directly from the year 1997 onwards, roughly 15+ years.

BharatMatrimony.com

BharatMatrimony.com is celebrated as the Most Trusted Matrimony Brand combining tradition and technology. A network of 15 regional portals and over 2 Crore members, BharatMatrimony has found a place in the Limca Book of Records for facilitating a record number of marriages. BharatMatrimony has been recognised as the Best Matrimony Website 2007 by PC WORLD for technology and performance and is also listed in the NASSCOM’s Top 100 IT Innovators. All the awards we have won have encouraged us and we stand as the most preferred site for matrimonial search according to a study by JuxtConsult.

Come-on , Bharatmatrimony. I never ever expect this from you.You’re matured well. Don’t see my password.I thought you’re standardized in terms of user privacy and industry level customer information protection.

What kind of your records on Limca book and certification over ISO 9001:2008 matters to the people , if you’re still sending all our passwords in plain text mails?

Please Consim & Team at Bharatmatrimony, get your people trained on protecting user’s personal info.

Please go on reading the OWASP’s rules on storing passwords in server.

“Passwords are secrets that only the account owner should know. For the system that uses these passwords to authenticate its users, there is no reason to decrypt them under any circumstances. It is crucial that passwords are stored in a way that allows them to be verified but not reversed in any way, even by insiders.”

And please encrypt our passwords with stronger hash in future.

Bharatmatrimony & Consim, I hope you’ll block your (database)administrators to look into our passwords in future.

Any thoughts?

Posted in linux, technology | Tagged , , , , , , | 2 Comments

Youtube Streamed Video on Local Disc

I always need to find the Cache of streamed media including youtube’s video in WebM format. Here is my environment

  • Firefox 16.0.2
  • Ubuntu 12.04.1 LTS

There’re two types of YouTube cache in local directory.

  1. WebM
  2.  Macromedia Flash Video

Here I done with the HTML5 but for Flash , the trick is more similar.

Two possible trail and error way you can find the videos:

  1. Locate the WebM cache file (For most medium sized HTML5)
    yt(){
            # HTML 5
            find ~/.mozilla/firefox/*.default/ -type f -size +100k -ls|awk '{printf $11 "\n"}'|xargs file|grep -i webm|awk -F: '{printf $1 "\n"}'
    
            # Flash Video
            find ~/.mozilla/firefox/*.default/ -type f -size +100k -ls|awk '{printf $11 "\n"}'|xargs file|grep -i 'Flash Video'|awk -F: '{printf $1 "\n"}'
    
    }
  2. Locate mozilla-media-cache/media_cache (deleted) (For bigger size video)
yt2(){

        # This shows mozilla-media-cache/media_cache (deleted) which is cache of HTML5
        FX='';
        FX=`ps -ef|grep '/usr/lib/firefox/firefox'|grep -v grep|head -1|awk '{printf $2}'`
        if [ $FX != '' ] ; then {
                echo /proc/$FX/fd/;
                ll /proc/$FX/fd/|grep media_cache
        }   
        else echo 'No running firefox';return 0;  
        fi; 

}

Just copy that file to desired location.Enjoy the video in VLC offline.Hope this helps!

You can find updated working version always at my yt() of handy-tools

Posted in linux, technology | Tagged , , , , , , | Leave a comment

Finally here’s a new Guitar

I wish to play a Guitar loooong time but the wouldn’t happen. And this December, I done with it. Yes. I brought a new Givson Oxford Guitar from Lakhman Sruthi Musicals. As a beginner I’m recommended for Givson 125/150 but that particular model is not avail at the shop. The sales person there recommended me to go for Oxford as that is next version of Givson 150.

With my Zero percent knowledge on musical instruments, I don’t know what to cross check with and How to on that Guitar. I ask the person in-charge to play some of favourites.

  • என் இனிய பொன் நிலாவே … –  Prathap Pothan

He played that song in nice manner. I love the way he play.And I’ve to go for office too.It’s already 12:20PM and I’m 2Hours away from my office.

After paying INR.2855 towards the Guitar , I put it on my back.

Let’s see how I play this guitar in near future.

 

Posted in Uncategorized | Leave a comment

மாமல்லபுரம்|Mamallapuram – A day in Pallava

That is one fine day after my vacation to office, they informed me that the coming Friday is Team Outing and the destination is some resort in Mamallapuram. I’m with fine with that idea as I’ve chance to roam around the Shore Temple.

On the day of outing, I leave home with  my Old nikon s3000 coolpix landing Mamallapuram by 01 pm. Immediately after lunch , I leave the resort entering the shore temple by means of back door.

The result is wow! I realy enjoyed the site and the pallava’s architecture and their love towards stone art .

Reading wiki on the site describes as

“The Shore Temple (built in 700-728 AD) is so named because it overlooks the shore of the Bay of Bengal. It is a structural temple, built with blocks of granite, dating from the 8th century AD. It was built on a promontory sticking out into the Bay of Bengal at Mahabalipuram, a village south of Chennai in the state of Tamil Nadu in India. The village was a busy port during the 7th and 8th century reign of the Pallava dynasty during the reign of Narasimhavarman II.”

I don’t know how much pain that Narasimhavarman II faced during his time of building this great structure, and he really won the race against time. These sand stone structure stands against time and salty sea wind and Tsunami for nearly 1300 years. I can’t believe this. Really great.

Posted in photography, travel | Tagged , , , | 1 Comment

Yay! I’ve now activated Flickr Holiday Gift

I always loves Flickr for their unbeatable photo sharing service even though frusted with their limits[see full limits here] such as 300MB upload per month and 200 Photos in photostream. But I failed to notice such limits when I moved from Yahoo! Photos in 2007 and I’m really sad to see these limits in 2011 when my [g]old photos gets locked within Flickr. I thought to pay for Pro that time and I’m not sure why I wait for this looooong time.

As I predict, here is my offer from Yahoo!’s Flickr. Today when I just look into Flickr they prompt me for the Holiday Gift. Wow! Immediately I activated my Pro account.

Flickr Pro Activated

Flickr Pro

And the bonus is the Pro offer is for 3 Months. Great news from Flickr for people like me.

Now I’m able to see all my 609 Items instead of 200 items. I can download in full resolution , I can backup all my old photos.

Here’s what Flickr greets at me :

Yay!

You have now activated your Flickr Holiday Gift.

Here’s what you get for the next 3 months:

  • Unlimited* uploads (up to 50MB per photo)
  • Unlimited viewing of your entire photo library
  • Post photos in up to 60 groups
  • Download your original, high-resolution photos – whenever you need them
  • Upload and play unlimited HD videos

 

Immediately I tweet on the same as:

love you @flickr. thanks @yahoo! for bringing me a perfect #holiday gift . rush! get your free pro account on #flickr.

Rush out quick. Get your Pro soon

Posted in photography, technology | Tagged , , , , | Leave a comment

Test cases leaked from IRCTC Quality Control Lab

It’s one another testing morning and my brother ask me to book tatkal ticket for him from Madurai (MDU) to Chennai (MS) in www.irctc.co.in , a site designed to test online user’s patience.

Before I try to attempt, I ask him to book a ticket with a private Bus travel and ensured he got a one.Yes! I know this is as our first pre-step to book ticket at IRCTC. Because the site never allows you to book ticket in Tatkal mood/mode.

Okay! The time is approaching. my clock ticks 09:45 Am

Now I’m ready for the war.Here’s my preparation:

Two laptops: Dell inspiron powered by Intel i7 and Lenovo powered by Intel i3

Net Connection : BSNL Broadband 512 KBps Wired+Wireless WiFi mode

Operating System(s): Windows 7 genuine  and Linux distro of Ubuntu 12.08

Browser(s): Google’s Chrome, Mozilla’s Firefox and Opera

User profile(s): One per / browser. [In my case 2 profile * 2 machine=4 profiles]

By time 09:55 Am all the four profiles are logged in.

By 10:30 Am ,I’m busy with other important work.Yes ! that is guessing and reverse engineering the test cases of IRCTC site’s Quality Assurance control lab by studying the performance and behavioral of the site’s nature at time of booking tatkal ticket.

And at final, here’s the result. Please verify and enjoy the test cases. Here’s my twitter’s status: http://twitter.com/kesavan2000in/status/279887933794840576

#frustrated again with #IRCTC today. @IRCTC_Ltd Here’s IRCTC’s test cases leaked @IRCTC_sucks keep high confidential http://t.co/aGSekywl reply ·retweet · favorite

 

Also I start’s to follow @IRCTC_sucks twitter, where you can find similar cases and your’s will be not so bad.

IRCTC-Test-Cases

IRCTC Test Cases from Quality Lab

No luck at all. Really frustrated with this IRCTC. Blame it. Unable to book with all my experience! Hmmmm… Server Unavailable or Session timeout . These’re only two messages I received on my page navigation through all my browsers.Hate you, IRCTC.

I spend nearly 5 hours preparing this above test suite stuff. Guess, how much I frustrated by IRCTC to make and blog this? IRCTC, please listen.

And at final, I decide to donate/contribute in terms of time/money for IRCTC , if they gonna re-engineer them self.

It’s too late to act, IRCTC. Atleast now…

Posted in technology, travel | Tagged , , , | 2 Comments

GoodBye Godaddy

And It’s time to say Goodbye to GoDaddy. Yes.

I nearly hosted my 20+ domains on GoDaddy Deluxe Linux Host Server Pack continuously about 3+ years and now I realize the limits and boundaries of GoDaddy. And I look into various host service provider and again that idiot @poomalairaj referred the webfaction provider.

I have a quick glance at the features offered.Wondered with what they provided for the cost they charge.

Here is my quick comparison.

Service GoDaddy WebFaction
Cost/Billing $8.89/month $8.50/month
Websites
Number of hosted websites Unlimited Unlimited
SSL (https) support No Yes
Full control of DNS No Yes
Email addresses 1/domain Unlimited
500/parent domain
SMTP, POP and IMAP secure access No IMAP Yes
Webmail secure access Yes Yes
Number of DB 25 Unlimited
MySQL support Yes Yes
PostgreSQL support No Yes
Full shell access with SSH and SFTP Yes
Ability to run long-running processes such as Rails, Django, etc Yes
FTP Users 25 Unlimited
SSH User 1 Unlimited
GIT Yes
SubVersion Yes
PHP, Python, Ruby, Perl or Java with MySql, Postgresql or sqlite Yes
Ability to compile and install any software you need in your HOME directory Yes
Space 150GB 100GB
Bandwidth (per month) 600GB
Application memory** Shared 256MB

And now I’m happy with their service for the cost they afford. Within one hour , they start their service for me.And it takes nearly one week for me to complete the transition.

There’s affiliate program too. You can introduce new customers for them and get benefited added to you.

Try now.

Webfaction

Webfaction


 

I bet you never blame me for this.

Posted in technology | Tagged , | Leave a comment

Keralaத்தில் Kesavan

Okay! And it’s time to celebrate Preethi’s wedding and One more reason to visit my favourite Keralam. This time I vow to not miss any item particularly not wish add to the LG L3 E400 to missed mobile list. I plan to go Coimbatore first , spend a day, then to via Palaghat reach the Guruvayoor.

Things starts from the Friday eve , and I need to catch the train which I booked up to Coimbatore.The scheduled departure for the Cheran Express is at 20:10 [08:10Pm] and I need to catch it.

26/10 Friday:

  • 6:00 Pm – Left Office early. Sent mail to ‘big’ boss and ask team to take care of rest
  • 6:30 Pm – Reached home. Have a fresh bath.
  • 6:45 Pm – Packed my dress and everything. Ensured everything I need on travel is packed well
  • 7:00 Pm – Call my sister.Confused on how to reach the local Chrompet station.Auto/Two wheeler ?If two wheeler , I need to park it in front of station, keep the key inside vehicle.No guarantee until my sister find it out.Better an auto rickshaw.
  • 7:05 Pm – Locked the doors.Walk into street.Find the auto.Entered
  • 7:10 Pm – Charged र30 and brought a ticket to Park station
  • 7:45 Pm – In Park Station. Only I’ve few minutes to catch.No plan about dinner.
  • 7:50 Pm – Anandha Bhavan – Ordered 4 Idlies. Idly 4रபா .packing 3रபா.. என்ன செய்ய? குடுப்பா முதல.Time ஆச்சு.
  • 8:00 Pm – Cheran Express – S2 Coach. I’m the first person in the coach.Even no lights and power inside.Not sure this is the train I booked.Verified by reading the train name again.
  • 8:05 Pm – Okay. After noticing at the big screen, I realized the train is scheduled at 10:10pm not 8:10pm. I re-check at my received SMS as well as printed ticket. Seems minor mistake in processing.
  • 8:10 Pm – My LG E400 asks for power supply.It had only 18% of battery level.Plan to charge my mobile, so that It alive till morning.Check for travel charger. Goosh. ** No Charger **. Superb. Three days. No charger. No way other than a new charger for temporary use.
  • 8:20 Pm – In front of `Best` Mobiles. He have a look at charge pin and took my mobile , test it with a new charger and show that light glowing.Says working well. Ask me र70 , but I done it with र50.Left the spot
  • 8:30 Pm – Dinner in station bench.Omg! No chutney.நெந்ததுதான் மிச்சம்
  • 9:00 Pm – People starts to entrain the coach and power is on.
  • 9:30 Pm – Roaming in and around station. Make sure my coach comes with a power supply pin , so that I can charge in the night.
  • 9:40 Pm – Entrained into my coach. S2 72 Upper berth. Charged my mobile. That time only I realized no power supply in to mobile. Battery level is now at 14%
  • 9:45 Pm – Left the coach and charge the phone inside the station with my new charger. Wait for 5 minutes. On charging , I notice the phone’s misbehaviour.When I try to SMS, it dials the person.Leave it.Now to check for battery level.Surprise. OMG! Charge is at dangerously low. 4%. The new charger works in superb way. Instead of charging the battery, it reverse it’s duty. Immediatly I left the spot and find a spot inside station , where the Canara bank’s sponsor’d Charger avail.Again charging there.
  • 9:50 Pm – Check for battery level. நல்லவேளை. It’s really charging. 1% for each minute approximately.
  • 10:00 Pm – Now at 20%
  • 10:05 Pm – 33%. That is okay for me to spend the night.Reach for train.Entrained.
  • 10:15 Pm – Train leaves the station.
  • 10:40 Pm – TTR Verifies the ticket and person in lower berth ask me to change my berth as he travel with his wife . 🙂 எந்த coach ? S1-ஆ ? No problem boss. Enjoy.
  • Some Good night SMS’s

27/10 Saturday :

  • 6:00 Am – In Coimbatore station. Battery level 7% . Charging my mobile with the new charger. No change in battery level.
  • 6:20 Am – Left the station.
  • 6:30 Am – 9:00 Pm – This portion is not covered in this blog
  • 9:00 Pm – Getting down at Coimbatore Gandhipuram Bus Stand.City is full of lights as a part of Diwali shopping mania. Suddenly all lights are gone off. No power. Warm welcome for me.
  • 9:05 Pm – Walk towards the Express bus area. Enquired bus for Guruvayoor. No luck.They suggests me to get bus to Palaghat and from there It’s easier to reach the destination.
  • 9:10 Pm – Entered inside the Palaghat Bus. Run by KSRTC.
  • 9:20 Pm – The conductor charged me र37 and informed it’ll reach Palaghat by 11Pm.
  • 9:30 Pm – On tender exchange, I left the ticket fly free inside the bus in front of the conductor. Me – Sir, the ticket is missed out. Please be on side if Checking Inspector rides me. Okay? He – No problem . Sit down.
  • 10:10 Pm – Welcome to Kerala. I’m welcomed by chilled wind storm in the window side.
  • 11:05 Pm – Palaghat Station. Enquired at the office about bus to Guruvayoor. Hahahaa. Next bus is at 4:15 in the morning. Superb. Any better alternative?
  • 11:10 Pm – Go to Thrissur. From there , you may find quick way.
  • 11:15 Pm – What about Thrissur bus? Wait some minute. We’ve bus by 11:30 AM
  • 28/10 Sunday :
  • 11:40 Am – Bus to Thrissur. Already the cup is filled. But no way for me 🙁
  • 11:45 Am – Standing only for one and half hour. Not a big issue.
  • 11:50 Am – Conductor charged me र47 and said by 1:15AM in morning , it’ll reach the Thrissur.

28/10 Sunday :

  • 12:15 Am – I’m unable to stand no more.I felt my stamina goes out.
  • 12:17 Am – I decide & sit down in the step of the bus with 3 more guy.அந்த வகையில Kerala’s KSRTC buses come built-in door. பயம் இன்றி படியில் பயணம்.
  • 01:00 AM – Approaching Thrissur
  • 01:10 AM – Thrissur Bus stand. Inquired about the Guruvayoor bus timing. Promisingly they replied by 10 minutes there is a bus by 01:20Am, அப்பாடா என்று relief
  • 01:20 Am – Still no bus. Enquired again. To my luck , they said that bus got break down. Next bus is at 02.00 Am.Oh! my god… Again I need to stay at Thrissur Bus stand for more than half-an-hour
  • 02:00 Am – A kerala version of ‘Sundara Travels’ approaching the bus stand and everyone rush towards.I got it.That is the bus , I’m waiting for.
  • 02:05 Am – Standing again.No problem Guruvayoorappaa.. Conductor again charged me र26.Standing … 🙁
  • 03:05 Am – Called Preethi’s dad & intimate I’ll be there in 5 minutes.He ask me to be there and he is on the way to receive
  • 03:10 Am – Guruvayoor Bus Stand. More people even in mid-night.But no one there for me.Calling again dad.
  • 03:15 Am – As I know the address earlier, I just walk into the city searching the West Nada… Again calling preethi’s dad. He said he’s unable to trace me & I said him, I’ll be there in few minutes.
  • 03:30 Am – In the West Nada. குருவாயூரப்பனை தரிசிப்பதைவிடவும் குருவாயூரப்பனை தரிசிக்கவரும் பக்த(ர்)களை தரிசிப்பது மிக அவசியம்.. அதிகாலை தரிசனம்.மனதிற்கு சுகம்.எல்லோரும் பாரம்பரிய உடையினில். பெண்கள் – மலையாளத்து சந்தன நிற சேலை or Traditional skirts. ஆண்கள் – துண்டும் முண்டும்(வேட்டி) அப்டியே மறந்தாக்க road end வரக்கும் போய்ட்டேன்.Enquired again in a Nair tea shop. Backwards again.
  • 03:45 Am – Finally found the Mahal. Preethi’s dad in the reception.Take me to 3rd floor.
  • 03:50 Am – Allocate me the Room#38 . Had a fresh bath.Suddenly power down.Not sure I’m in Kerala or Tamilnadu.Not only for my room ,but to everyone’s.Appada.. Happy..
  • 04:00 Am – Admin people did some works on EB Board and power back.
  • 04:05 Am – Fall in bed.
  • 04:15 Am – Had a dream, some one rings my mobile.. Loudly & more loudly. I’m sure my mobile died due to lack of power.And then how? Realized that is not dream.Some one knocks at the door.Preethi’s dad.This is reservered for Groom, not mine.Read the room label again.I thought earlier it stands for VIP but actually it reads as Groom in Malayalam. Language problem. OMG! Immediately I’m allocated to next room , #37.
  • 04:20 Am – Locked the door.Switch on fan. Power down again. But this time , only my room. Go for recepitcion to find admin people. No one there.bad luck. Tried with all Permutation , combination [remember nPr,nCr in our school math] on the EB Board. Still no luck.
  • 04:35 Am – Called preethi’s dad & informed.He allocate his bed & he share with preethi’s bro
  • 04:40 Am – Fall in Bed again.
  • 08:05 Am – Alarm beeps . Went out for morning round.
  • 08:08 Am – Surprisingly a Tea for र6. Left again to Mahal
  • 08:20 Am – Forgot to bring paste, but brush. Other person shares his own. 🙂
  • 08:30 Am – Preethi in her bridal suite. Had a snap. Wishes.Her brother said breakfast will closed by 09:00Am. OMG! Hurry up.
  • 08:35 Am – Happy to see my room companion’s mobile charger looks alike mine.Lock the room.Replace his mobile with mine.Left for bath.Charging camera battery.
  • 08:45 Am – Morning bath.. New dress.
  • 09:00 Am – In dinning hall with her bro.கடைசி பந்தி.
  • 09:05 Am – Kesari,2 Idly. No vada.Some one enquired about Vada. Service person left for vada.
  • 09:15 Am – போனவன் வரவே இல்ல, வட போச்சு. வட யோட இட்லியும் போச்சு.மத்தியானம் முத பந்தியில உட்காரனும்
  • 09:30 – 10:25 Am – Inside mahal. Check for charging level.Make sure both camera/mobile fully charged.
  • 10:30 Am – Starts to temple.
  • 10:35 Am – Harish joined . See photo below. Hero meeets Heroine.
  • 10:40 Am Standing in Queue front of Temple.
  • 10:45 Am – More rush. Full of sweat.
  • 10:50 Am – Preethi’s aunt starts guarding her jewels.I worried about the young girls MakeUp. மெனக்கெட்டு போட்ட MakeUp எல்லாம் கரைய ஆரம்பிச்சுடுச்சு
  • 11:00 Am – Even more rush.இரும்பு பைப் வேலி starts to bend down.
  • 11:15 Am – Preethi get inside mandapa while Harish unable to pass thorugh.
  • 11:20 Am – Myself & others pushed Harish into mandapa
  • 11:30 Am – Another couple in marriage ceremony
  • 11:35 Am – Harish knots mangalasutra on Preethi’s neck
  • 11:40Am – 01:15 Pm – Relaxation , Photo snaps , Return to Mahal
  • 01:20 Pm – சாப்பாடு ரெடி. யாரோ சொன்னாங்க. Lesson from morning break fast.
  • 01:30 Pm – Kerala special menu.
  • 01:45 Pm – Preethi left with Harish leaving the mahal empty
  • 02:00 Pm – Preethi in her Green saree , with Bridal collection. See photo 🙂
  • 02:30 Pm – Send-off preethi with Harish to Calicut
  • 03:00 Pm – Just noticed. My mobile missed out. My family ‘ll kill this time. I ask a person nearby to give me a call , the phone starts riniging. Inside my bag. OMG!
  • 03:15 Pm – Left the Mahal, thanked everyone.
  • 03:45 Pm – TNSTC Bus leaving bus stand. Enquired conductor about Chennai bus.Get inside.This is the quick route. Get down at Pollachi.You’ve more bus from there.If not, you can come to Thiruppur in the same bus, which is the best route, instead of going by Coimbatore route.He convinced me for a ticket. 🙁 . Charged me र80 as fare.
  • 06:35 Pm – Pollachi bus stand. என்னை இறங்கவே விடல.Full rush.Condutor – ‘தம்பி, விடுங்க.நீங்க பேசாம திருப்பூரே வாங்க’. நான்[மனசுக்குள்ள]: தெரியும். இத தான எதிர்பார்த்த? Again charging me र30 . நல்லாவே இரு.Called my mamaa who is in Thriuppur, whom I thought of help him get a Chennai bus.
  • 08:30 Pm – Inside Thiruppur bus stand.Met mamz.He blamed me as well conductor for this Route.Enquired about the Chennai bus at TNSTC office.Full sir.They said after 10Pm they’ve plan for Special bus.
  • 08:40 Pm – Catch a local bus, get down to spot where we find private travels like KPN. I know my luck well.No single seat. Oops. Maamz ask me better put leave tomo. I fear of my Josh, my big boss.No way.
  • 08:45 Pm – Catch another bus to New bus stand. Still no luck. Maamz blamed me on the way full.He got his bike and back to Old bus stand.
  • 09:30 Pm – Luck knocks me. A special bus to Chennai.Ultra Deluxe.Act immediately.
  • 09:45 Pm – Thanked maamz. Bus left the spot. Last back seat . Number 36. No push back
  • 09:55 Pm – Conductor charge me र340 as fare.
  • 10:10 Pm – Back pain starts. Pain rising as sin wave ..
  • 10:20 Pm – Had a berth .Seatஏ இல்ல.. உனக்கெப்டி Berth? நீங்க கேக்குறது புரியுது.The Hindu helps me. Paperaa fullaa விரிச்சு போட்டா Berth.No pain on my back hence forth.
  • 10:45 Pm – ஆஅஆஆ. Some one starts walk over me.Ohhh! a high way MOTEL . Get up.
  • 10:55 Pm – Ordered dosa.Delivered Parota.No sir, Dosa! Hmmm. Wait…
  • 11:05 Pm – Dosa . Conductor – Bus’ll leave soon. Rushing
  • 11:15 Pm – Back to my ‘berth’

29/10 Monday :

  • 05:50 Am – Perangalatur.No to Tambaram,Chrompet
  • 06:10 Am – Catch other bus to Chrompet. Got seated.
  • ~ 09 Am – Filtered photos.Re touched for web standard.Upload the photos
  • ~ 11 Am – Thought of have this blog
  • 11:15 Am – Starts blogging
  • 11:56 Am – Power down.I realized , I’m in Tamilnadu now
  • 01:30 Pm – Noticed I forgot to log Timesheet for past week.Heeee. .Heeee

30/10 Tuesday :

  • 11:15 Am – Continue with blogging
  • 11:56 Am – Power down.I
  • ~ 04 Pm – Colleagues ask for photo snaps.
  • ~ 9 Pm – Commented almost all the photos

31/10 Wednesday :

  • ~09:30 Am – Rainy. Continue with blog.
  • 11:15 Am – End blogging

Extra Bonus :

  • Useful update: Preethi will back to Chennai by 11/2 and back to 11/3 to Calicut, from there the couple left to Bengaluru
  • Useless update : Guruvayoor Rugmini Residencyல மாப்பிள்ள ரூம்ல பாத்ரூம் lock work ஆகல.
  • Total Word Count – 2000
Posted in Uncategorized | Leave a comment

Online’ல் அரை கிலோ கஞ்சா

Long time I wish to taste the Ganja and feel how it change my mood and to notice it’s impact on myself.

Cannabis_leaf

And my idiot @poomalairaj introduce me the world of `Hidden` services in Internet.Yes! Completely hidden in the open network.This is about how to walk into that forbidden world.

  • All you need is ‘TOR’ network. You can download a Tor client with a Tor Browser which comes as a Bundle pack. Mine is Vidalia. Download the latest from Tor Project.

    Vidalia-Control-Panel.png

    Vidalia Control Panel

  • Open the Vidalia Control Panel by the following command.
you@localhost:~$ /path/to/tor-browser_en-US/start-tor-browser
Launching Tor Browser Bundle for Linux in /path/to/tor-browser_en-US
  • Now ‘Start Tor’. It’ll start Tor Browser and show the status tor browser. And you may notice a new IP on the tor browser’s Home page.

    tor-browser

    tor-browser

  • Now goto the real ‘forbidden network’. They call it as ‘Silk Road’. Read more about Silk Road on Wiki . Okay. Open the Silk Road’s Homepage.
  • Register for your new account. You might be asked for a PIN. That’s very important. Never forget that.Once verified , login to Silk Road.
Silk Road Homepage

Silk Road Homepage

  • On the account page, note down your BitCoin address and Deposit enough amount on it.You can Transfer your country currency into BitCoins using providers like Mr.BitCoins
  • Then search for ‘Cannabis’ .
Cannabis - Search result

Cannabis – Search result

  • To Order you need to have enough BitCoins on your account.
  • Choose your right choice & Get delivered Cannabis to your door step.

Don’t worry . No one trace your identity on internet.Everything transferred over ONION protocol and you’re free from tracking worries.

Tips:

  1. Change your identity every time as you wish so that the destination feel you’re from every corner of the Globe.
  2. To make one particular country as your Source IP, modify ExitNode on the torrc located at tor-browser_en-US/App/../Data/Tor/torrc. Read more about ExitNode here
ExitNodes server1, CountryCode, server3
StrictExitNodes 1

My new benefit of Tor Project:

  • Netflix says “Sorry, Netflix is not available in your country yet.” in my normal browser , while it ask me to ‘Start Your Free Month’ in my Tor Browser.

If you wish to have me one more time of Ganja , donate me to my BitCoin Account: 19U9QmUWMxtCT1LodVn5w59zxVnQzx4bfW

Update:Dec 13,2012 :

As requested, I’m adding the screen shot of torc file modification.

TorC file modification

TorC file modification

 

Posted in technology | 1 Comment