<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8251419411096497985</id><updated>2011-12-25T17:19:53.797+05:30</updated><title type='text'>Abhishek in Bits and Bytes</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://abhishek-bit.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8251419411096497985/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://abhishek-bit.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Abhishek</name><uri>http://www.blogger.com/profile/15235069555858259717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_Oun9BCXmll4/TPihz2D9qkI/AAAAAAAAAMg/fP2whfgbEnQ/S220/DSCN3082.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>9</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8251419411096497985.post-7880280507171044927</id><published>2010-12-22T14:24:00.002+05:30</published><updated>2010-12-22T14:33:38.152+05:30</updated><title type='text'>Cricketing God's Resume (Unofficial Resume of Sachin Ramesh Tendulkar)</title><content type='html'>&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #674ea7;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;Sachin Tendulkar: Curriculum Vitae&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #674ea7;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_Oun9BCXmll4/TRG9djrzPeI/AAAAAAAAAOI/V1tQAES1f1I/s1600/sachin-tendulkar-58a.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="508" src="http://1.bp.blogspot.com/_Oun9BCXmll4/TRG9djrzPeI/AAAAAAAAAOI/V1tQAES1f1I/s640/sachin-tendulkar-58a.jpg" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;b&gt;OBJECTIVE:&lt;/b&gt;&lt;br /&gt;To seek career challenges keeping in view my past achievements and future goals. And to set new industry benchmarks in&lt;br /&gt;everything I endeavour.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;PROFESSIONAL EXPERIENCE:&lt;/b&gt;&lt;br /&gt;International Cricketer: Indian National Cricket Team [1989 onwards]&lt;br /&gt;First Class Cricketer: Mumbai, West Zone, Yorkshire [1988 onwards]&lt;br /&gt;Junior Cricketer: Shardashram School, Bombay U-15, West Zone U-15 [1985-1988].&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;LEADERSHIP EXPERIENCE:&lt;/b&gt;&lt;br /&gt;Indian Cricket Team: 1996-1997; 1999-2000.&lt;br /&gt;Others: Mumbai, West Zone, Mumbai Indians, etc. [Various Times]&lt;br /&gt;&lt;br /&gt;&lt;b&gt;KEY OPERATIONS &amp;amp; MISSIONS UNDERTAKEN:&lt;/b&gt;&lt;br /&gt;1. 664* — Enough said. [Mumbai, 1988]&lt;br /&gt;2. 114* — Rescue mission against Spiteful Yellow Men on Green Earth. [Perth, 1991]&lt;br /&gt;3. 523 runs — Mission My World Cup. [India, 1996]&lt;br /&gt;4. 155* — Operation Deflate Warne [Chennai, 1998]&lt;br /&gt;5. 143 &amp;amp; 134 — Operation Desert Storm [Sharjah, 1998]&lt;br /&gt;6. 136 — Rescue Mission against the Vile Green Warriors on Dusty Earth [Chennai, 1999]&lt;br /&gt;7. 98 — Operation Tame Vile Green Warriors [Centurion, 2003]&lt;br /&gt;8. 672 runs — Mission My World Cup II. [South Africa, 2003]&lt;br /&gt;9. 241* and 60* — Mission Avoid Cover Drive [Sydney, 2004]&lt;br /&gt;10. 117* and 93 — Operation Slay Goliath [Sydney &amp;amp; Brisbane, 2008]&lt;br /&gt;11. 103* — Mission Heal Mumbai [Chennai, 2008]&lt;br /&gt;12. 200* — Mt 200 [Gwalior 2010]&lt;br /&gt;&lt;br /&gt;&lt;b&gt;OTHER MAJOR INITIATIVES:&lt;/b&gt;&lt;br /&gt;1. 122 — Mission Hold The Empire [Edgbaston, 1996]&lt;br /&gt;2. 126 — Operation Protect Final Frontier [Chennai, 2001]&lt;br /&gt;3. 117 — Operation Kings of Queens Park [Port of Spain, 2002]&lt;br /&gt;4. 193 — Mission Conquer Leeds [Leeds, 2002]&lt;br /&gt;5. 194* — Mission Sultan of Multan [Multan, 2004]&lt;br /&gt;6. 111* — Half-centurion in Centurion [Centurion, 2010]&lt;br /&gt;&lt;br /&gt;&lt;b&gt;CRISIS MANAGEMENT EXPERTISE:&lt;/b&gt;&lt;br /&gt;1. 119* — Operation Bat Till Bedtime [Manchester, 1990]&lt;br /&gt;2. 82 — Mission Find New Opener [Christchurch, 1993]&lt;br /&gt;3. 1-0-3-0 — Operation Hold South Africa [Kolkata, 1993]&lt;br /&gt;4. 169 — Operation Counterattack [Cape Town, 1996]&lt;br /&gt;5. 140* — Operation This Is For You, Father [Bristol, 1999]&lt;br /&gt;6. 175 — Mission Save Series [Hyderabad, 2009]&lt;br /&gt;&lt;br /&gt;&lt;b&gt;KEY ACHIEVEMENTS:&lt;/b&gt;&lt;br /&gt;1. Hundreds on Ranji Trophy, Duleep Trophy and Irani Trophy debut.&lt;br /&gt;2. India‟s youngest Test and ODI cricketer at age 16 years, 207 days.&lt;br /&gt;3. Most runs in Tests and ODIs (14,513 and 17,598).&lt;br /&gt;4. Most hundreds in Tests and ODIs (50 and 46).&lt;br /&gt;5. Most ODI appearances (442)&lt;br /&gt;6. Most Tests appearances (175).&lt;br /&gt;7. 20 hundreds against Australia, the best team of my era.&lt;br /&gt;8. 1894 runs and 9 hundreds in ODIs in 1998, a record.&lt;br /&gt;9. 7 Test hundreds and 1543 Test runs in 2010, an Indian record.&lt;br /&gt;10. 1796 runs in five World Cups.&lt;br /&gt;11. Only cricketer with the 150 wickets and 15,000 runs „double‟ in ODIs.&lt;br /&gt;12. First cricketer to score 40 and 50 Test hundreds.&lt;br /&gt;13. First cricketer to score 20, 30 and 40 ODI hundreds.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;OTHER BUSINESS INTERESTS:&lt;/b&gt;&lt;br /&gt;I have interests in the food and beverages industry. I partly own two restaurants in Mumbai:&lt;br /&gt;Tendulkar‟s (Colaba, 2002).&lt;br /&gt;Sachin‟s (Mulund, 2004).&lt;br /&gt;Sachin Tendulkar, Bandra, Mumbai, India. On Twitter: @sachin_rt&lt;br /&gt;Sachin Tendulkar: Curriculum Vitae&lt;br /&gt;&lt;br /&gt;&lt;b&gt;EDUCATIONAL QUALIFICATION:&lt;/b&gt;&lt;br /&gt;PhD in Cricket.&lt;br /&gt;Secondary School, Shardashram Vidhya Mandir, Mumbai.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;PATENTS:&lt;/b&gt;&lt;br /&gt;I‟ve mastered nearly every cricket stroke in the book, but have a special reputation for these.&lt;br /&gt;1. The Thunderous Bowler-Decapitating Straight Drive&lt;br /&gt;2. Back-foot Punch Through Cover&lt;br /&gt;3. Acute Paddle Sweep&lt;br /&gt;4. Slog Sweep Against Turning Leg-Break&lt;br /&gt;5. Effortless Wristy Flick Through Square Leg&lt;br /&gt;6. Point-Killing Square Cut&lt;br /&gt;&lt;br /&gt;&lt;b&gt;PASSIONS:&lt;/b&gt;&lt;br /&gt;Cars &amp;amp; Racing: I love fast driving. I also own a Ferrari 360 Modena.&lt;br /&gt;Food: I am a foodie with a fondness for seafood.&lt;br /&gt;Music: I enjoy collecting music. Some of my favourites are Kishore Kumar, Mark Knopfler, MLTR.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;AWARDS:&lt;/b&gt;&lt;br /&gt;1. Arjuna Award [1994]&lt;br /&gt;2. Wisden Cricketer of the Year: [1997]&lt;br /&gt;3. Rajiv Gandhi Khel Ratna [1997-98]&lt;br /&gt;4. Padma Shri [1999]&lt;br /&gt;5. Player of the Tournament, World Cup [2003]&lt;br /&gt;6. ICC Gary Sobers Trophy for Cricketer of The Year [2010]&lt;br /&gt;7. ICC World ODI XI: 2004, 2007, 2008&lt;br /&gt;8. ICC World Test XI: 2009, 2010&lt;br /&gt;9. Rajiv Gandhi Award for Sports [2005]&lt;br /&gt;10. Padma Vibhushan [2008]&lt;br /&gt;11. Man of Match Awards: 74&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; ODIs: 61 times&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; Tests: 14 times&lt;br /&gt;12. Man of the Series Awards: 19&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;a. ODIs: 15&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;b. Tests: 5&lt;br /&gt;&lt;br /&gt;&lt;b&gt;MAJOR CITATIONS:&lt;/b&gt;&lt;br /&gt;1. “AB, this little prick will make more runs than you.” — Merv Hughes to Allan Border. [1991]&lt;br /&gt;2. “This kid bats just like I did.” — Donald Bradman, World Greatest Batsman. Ever. [1998]&lt;br /&gt;3. “I'll be going to bed having nightmares of Sachin just running down the wicket and belting me back over the head for six.&lt;br /&gt;He is the best batsman I‟ve ever bowled to.” — Shane Warne, World‟s Greatest Leg Spinner. [1998]&lt;br /&gt;4.“Shit, I‟m sick of this *$#%!” — Michael Kasprowicz, Australia‟s Fast Bowler. [1998]&lt;br /&gt;5. “He will end up with 50 tons in each form of the game.” — Wasim Akram, World‟s Greatest Left-arm Pacer. [2002]&lt;br /&gt;6. “Jaanta hai tooney kiska catch chhoda hai?” — Wasim Akram to Abdul Razzaq. [2003]&lt;br /&gt;7. “All we need is 11 Sachins.” — Paul Strang, Zimbabwe Leg Spinner. [1996]&lt;br /&gt;8. “Cricket is our religion, Sachin is our god.” — [Repeated ad nauseum by millions of fans].&lt;br /&gt;9. “Nothing bad can happen to us if we‟re on a plane in India with Sachin Tendulkar on it.” — Hashim Amla, South Africa&lt;br /&gt;Batsman. [2004]&lt;br /&gt;10. “The archives recall not one single incriminating incident, not one drunken escapade, not one reported affair, not one spat&lt;br /&gt;with a team-mate or reporter. As Matthew Parris wondered of Barack Obama in these pages recently, is he human?” —&lt;br /&gt;Michael Atherton, Former England Captain. [2008]&lt;br /&gt;11. “I have seen God; he bats at No. 4 for India.” — Matthew Hayden, Australia Opener. [2008]&lt;br /&gt;12. “There will never be another Sachin.” — Muttiah Muralitharan, World‟s Most Successful Bowler. [2009]&lt;br /&gt;13. “If I‟ve to bowl to Sachin, I‟ll bowl with my helmet on. He hits the ball so hard.” Dennis Lille, Cricket‟s McEnroe &amp;amp; Fast&lt;br /&gt;Bowling Legend. [Undated]&lt;br /&gt;14. “Tendulkar is the best batsmen in the world ahead of Steve Waugh and Lara.” — Glenn McGrath, Australia‟s Most&lt;br /&gt;Successful Pace Bowler. [Undated]&lt;br /&gt;15. “Sachin is a genius. I‟m a mere mortal.” — Brian Lara, Tendulkar‟s Greatest Frenemy. [Undated]&lt;br /&gt;16. “I haven‟t seen Bradman playing, but I have seen Sachin. To me, he himself is a milestone, and the best cricketer in the&lt;br /&gt;world.” — Sourav Ganguly, India‟s most successful captain&lt;br /&gt;17. “Sachin Tendulkar has been the most complete batsman of his time, and arguably the biggest cricket icon as well.” —&lt;br /&gt;Sambit Bal, Editor, Cricinfo&lt;br /&gt;Sachin Tendulkar, Bandra, Mumbai, India. On Twitter: @sachin_rt&lt;br /&gt;Sachin Tendulkar: Curriculum Vitae&lt;br /&gt;&lt;br /&gt;&lt;b&gt;MAJOR BIOGRAPHIES:&lt;/b&gt;&lt;br /&gt;1. Sachin: The Story of the World's Greatest Batsman [by Gulu Ezekiel]&lt;br /&gt;2. The A to Z of Sachin Tendulkar [by Gulu Ezekiel]&lt;br /&gt;3. Sachin Tendulkar — A Definitive Biography [by Vaibhav Purandare]&lt;br /&gt;4. Sachin Tendulkar — Masterful [by Peter Murray, Ashish Shukla]&lt;br /&gt;5. Tendulkar Opus [by Opus Media Group]&lt;br /&gt;&lt;br /&gt;&lt;b&gt;MEDIA COVERAGE:&lt;/b&gt;&lt;br /&gt;Are you kidding me?&lt;br /&gt;&lt;br /&gt;&lt;b&gt;LANGUAGE SKILLS:&lt;/b&gt;&lt;br /&gt;Fluent in English, Hindi and Marathi.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;PERSONAL DETAILS:&lt;/b&gt;&lt;br /&gt;Date of birth: April 24, 1973&lt;br /&gt;Hometown: Mumbai&lt;br /&gt;Family: Wife Anjali, daughter Sara, son Arjun.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;EARNINGS:&lt;/b&gt;&lt;br /&gt;Approximately Rs 60 crore annually (That‟s Rs 600,000,000 or USD 13 million or GBP 7.8 million or Euro 8.7 million).&lt;br /&gt;Sachin Tendulkar&lt;br /&gt;Mumbai, December 21, 2010&lt;br /&gt;&lt;br /&gt;Note: This CV hasn’t been authorised by Sachin Tendulkar or his representatives. It was compiled with help from various&lt;br /&gt;cricket news sources by AR Hemant, a journalist with Yahoo! Cricket. [Last updated: December 21, 2010].&lt;br /&gt;Sachin Tendulkar, Bandra, Mumbai, India. On Twitter:&lt;a href="http://twitter.com/sachin_rt"&gt; @sachin_rt&lt;/a&gt;&lt;br /&gt;You can also download pdf format resume of sachin from here &lt;a href="http://bit.ly/sachin_resume"&gt;bit.ly/sachin_resume&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8251419411096497985-7880280507171044927?l=abhishek-bit.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhishek-bit.blogspot.com/feeds/7880280507171044927/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8251419411096497985&amp;postID=7880280507171044927&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8251419411096497985/posts/default/7880280507171044927'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8251419411096497985/posts/default/7880280507171044927'/><link rel='alternate' type='text/html' href='http://abhishek-bit.blogspot.com/2010/12/cricketing-gods-resume-unofficial.html' title='Cricketing God&apos;s Resume (Unofficial Resume of Sachin Ramesh Tendulkar)'/><author><name>Abhishek</name><uri>http://www.blogger.com/profile/15235069555858259717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_Oun9BCXmll4/TPihz2D9qkI/AAAAAAAAAMg/fP2whfgbEnQ/S220/DSCN3082.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_Oun9BCXmll4/TRG9djrzPeI/AAAAAAAAAOI/V1tQAES1f1I/s72-c/sachin-tendulkar-58a.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8251419411096497985.post-2993388463143455505</id><published>2010-12-18T18:23:00.000+05:30</published><updated>2010-12-18T18:23:24.093+05:30</updated><title type='text'>What all this IIMA grad learnt after his degree(story about Siddharth and Nidhi)</title><content type='html'>&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; font-family: Arial, Tahoma; font-size: 13px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div style="letter-spacing: 0.03em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;The last thing you know Indian Institute of Management, Ahmedabad for, is its love stories. But there was this love story that made news in 2004-2005, about Siddharth Choudhary, from IIMA (then an undergrad) and Nidhi from a college near-by. Then, people said their love story was&amp;nbsp; sweet and that it would weather all storms.&amp;nbsp;&lt;/div&gt;&lt;div style="text-align: left;"&gt;Months later, the couple did weather a huge storm when Nidhi was diagnosed with cancer. The duo came out strong and unscathed from it and this journey is now encompassed in a book titled ‘&lt;strong&gt;Eagle Spotted, Message Decoded.&lt;/strong&gt;’ The book is written by Siddharth and has just about hit the stands.&lt;/div&gt;&lt;br /&gt;&lt;div style="letter-spacing: 0.03em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;"&gt;Siddharth told Pagalguy that much of his learning in life happened after his graduation from IIMA.&amp;nbsp; “There are lots of things you don’t learn at a management school. Life tests you and you have to learn quickly&amp;nbsp; without any prior training. But yes, my MBA degree gave me the confidence to bounce back in life,” he said.&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_Oun9BCXmll4/TQyuCRDV3PI/AAAAAAAAANo/W6DutdORimw/s1600/sid650.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/_Oun9BCXmll4/TQyuCRDV3PI/AAAAAAAAANo/W6DutdORimw/s1600/sid650.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="letter-spacing: 0.03em;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="letter-spacing: 0.03em;"&gt;&lt;strong&gt;Girl met boy&lt;/strong&gt;&lt;/div&gt;&lt;div style="letter-spacing: 0.03em;"&gt;Siddharth first spotted Nidhi at&amp;nbsp; a small time tea stall just along side the IIM-A campus boundary wall. Ram-bhai’s&amp;nbsp;&lt;em&gt;ketli,&lt;/em&gt;&amp;nbsp;(Gujarati name for a tea-stall)&amp;nbsp; has always been life line for students of the institute for&amp;nbsp;&lt;em&gt;sutta&lt;/em&gt;&amp;nbsp;and&amp;nbsp;&lt;em&gt;chai&lt;/em&gt;any time of the day or night. Nidhi was visiting the&amp;nbsp;&lt;em&gt;ketli&lt;/em&gt;&amp;nbsp;with some of here college friends. There started the little college romance between the two, Nidhi being a localite and studying in a city college.&lt;br /&gt;After graduation in 2005, Siddharth and Nidhi got married and started living in Mumbai. As part of final placements, Siddharth got placed with Monsanto&amp;nbsp;India Limited in Mumbai in a marketing role. Later he moved to Johnson and Johnson, Mumbai, also in the marketing line.&lt;/div&gt;&lt;div style="letter-spacing: 0.03em;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="letter-spacing: 0.03em;"&gt;&lt;strong&gt;Life took a U-turn&lt;/strong&gt;&lt;/div&gt;&lt;div style="letter-spacing: 0.03em;"&gt;Life seemed perfect.An IIMA degree to boast about, a plush job and home and a loving wife. But about a year or so after marriage, Nidhi was diagnosed with a rare brain&amp;nbsp; tumour called&amp;nbsp; Medulloblastoma. “We were also told it was an aggressive tumour for which there was no cure in allopathy,” said Siddharth.&lt;br /&gt;Nidhi’s case got further complicated because the tumour had spread from origin to spine, making her case even more rare. This was the beginning of a rather tumultuous journey for the couple, where they realised that no degree prepares you for these situations.&lt;/div&gt;&lt;div style="letter-spacing: 0.03em;"&gt;Nidhi went through agonising pain and constant black-outs. She was finally operated in Mumbai. Post the operation however, Nidhi was moved to Ahmedabad for chemotherapy and post-operative treatment as her parents were there.&amp;nbsp; “I travelled every weekend to see her and made it for every doctor’s appointment.&amp;nbsp; But I realised, she needed me more than just these visits. The doctors were giving up on her&amp;nbsp; and I decided to take that one big step,” recalls Siddharth.&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div style="letter-spacing: 0.03em;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div style="letter-spacing: 0.03em;"&gt;&lt;strong&gt;Good-bye job&lt;/strong&gt;&lt;/div&gt;&lt;div style="letter-spacing: 0.03em;"&gt;&lt;strong&gt;&lt;/strong&gt;The IIMA grad just chucked away his well-paying job and went to Ahmedabad to be with his wife. “Everyone told me I was doing the wrong thing. My parents,&amp;nbsp; colleagues and all our friends. But I was adamant. My wife needed me more. When and if things turn out well, my degree will get me another job, I justified to myself,” Siddharth told Pagalguy.&lt;/div&gt;&lt;div style="letter-spacing: 0.03em;"&gt;In Ahmedabad, Siddharth spent many sleepless nights with Nidhi since the chemotherapy sessions were painful. That was when Siddharth told her stories about IIMA days and the days before IIMA when he was a marine engineer. “After a few such sessions Nidhi told me to pen down my little stories in a book. Since I used to wait for Nidhi to sleep first and then sleep myself, I used that time to jot down my stories in my diary. I thought then that my stories were too simple and only meant for Nidhi to cheer-up,” said Siddharth.&lt;/div&gt;&lt;div style="letter-spacing: 0.03em;"&gt;The coming days turned out to be worse. “One after another, the doctors began giving up on Nidhi and at that time I wanted to throw the diary out,” recalls Siddharth.&lt;/div&gt;&lt;div style="letter-spacing: 0.03em;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div style="letter-spacing: 0.03em;"&gt;&lt;strong&gt;Hope returned&lt;/strong&gt;&lt;/div&gt;&lt;div style="letter-spacing: 0.03em;"&gt;But hope came again. A doctor in Kolkata took up Nidhi’s case and slowly and surely life came back into her body. Regular doctor visits,&amp;nbsp; a strict control on diet and proper medicine intake made Nidhi come back on track.&amp;nbsp; Today after many months, Nidhi is off medicines too.&amp;nbsp; “Somewhere during Nidhi’s recovery, I came back to Mumbai and almost immediately got a job again. I guess I owe that to my management degree. Today Nidhi is also in Mumbai and our life has started again,” said Siddharth.&lt;/div&gt;&lt;div style="letter-spacing: 0.03em;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div style="letter-spacing: 0.03em;"&gt;&lt;strong&gt;MBA degree&lt;/strong&gt;&lt;/div&gt;&lt;div style="letter-spacing: 0.03em;"&gt;“There were many lessons from IIM-A that might have helped me during my crisis. It teaches you to deal and live in pressure, race against time and win most times. But one thing that come to my mind when I look back at my years at IIM-A, I feel my course would have been complete if I was also taught life skills. How to deal with people and their inflated egos, how to lead and make people see the bigger picture as you see it. Education needs to&amp;nbsp; go beyond careers, placements and packages”.&lt;/div&gt;&lt;div style="letter-spacing: 0.03em;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="letter-spacing: 0.03em;"&gt;&lt;em&gt;(Siddharth’s book, ‘Eagle Spotted, Message Decoded’, is the story of a marine engineer who on his&amp;nbsp; first job on the ship lacks confidence to face life at sea. The book is on how he learns to gather his strengths and overpower his fears – exactly what he did when he learnt&amp;nbsp; of his wife’s cancer.&amp;nbsp; Siddharth himself is a trained marine engineer who sailed for over three years before joining IIM-A. The book is dedicated to his wife.)&lt;/em&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8251419411096497985-2993388463143455505?l=abhishek-bit.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhishek-bit.blogspot.com/feeds/2993388463143455505/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8251419411096497985&amp;postID=2993388463143455505&amp;isPopup=true' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8251419411096497985/posts/default/2993388463143455505'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8251419411096497985/posts/default/2993388463143455505'/><link rel='alternate' type='text/html' href='http://abhishek-bit.blogspot.com/2010/12/what-all-this-iima-grad-learnt-after.html' title='What all this IIMA grad learnt after his degree(story about Siddharth and Nidhi)'/><author><name>Abhishek</name><uri>http://www.blogger.com/profile/15235069555858259717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_Oun9BCXmll4/TPihz2D9qkI/AAAAAAAAAMg/fP2whfgbEnQ/S220/DSCN3082.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_Oun9BCXmll4/TQyuCRDV3PI/AAAAAAAAANo/W6DutdORimw/s72-c/sid650.jpg' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8251419411096497985.post-6997547722898626701</id><published>2010-12-03T00:05:00.004+05:30</published><updated>2010-12-23T16:23:38.229+05:30</updated><title type='text'>GOD - General Operations Director (NS 2 Wireless Networks Simulation)</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;pre style="white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;GOD is general operations director who is aware of whole network topology.&lt;br /&gt;Here god sets the dist (# hops) between node 0 and node 4 to be 1.&lt;br /&gt;( but why/where is this information used??-answer awaited from CMU. )&lt;/span&gt;&lt;/pre&gt;&lt;pre style="white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;/pre&gt;&lt;pre style="white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;The General Operations Director (GOD) object is used to store global &lt;/span&gt;&lt;/pre&gt;&lt;pre style="white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;information about the state of the environment, network, or nodes that an&lt;br /&gt;omniscent observer would have, but that should not be made known to any &lt;br /&gt;participant in the simulation. &lt;br /&gt;&lt;br /&gt;Currently, the god object is used only to store an array of the shortest &lt;br /&gt;number of hops required to reach from one node to an other. The god object &lt;br /&gt;does not calculate this on the fly during simulation runs, since it can be &lt;br /&gt;quite time consuming. The information is loaded into the god object from the &lt;br /&gt;movement pattern file where lines of the form.&lt;/span&gt;&lt;/pre&gt;&lt;pre style="white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;/pre&gt;&lt;pre style="white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;span class="Apple-style-span" style="white-space: normal;"&gt;&lt;pre style="white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;span class="Apple-style-span" style="color: #3d85c6;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;$ns_ at 899.642 "$god_ set-dist 23 46 2&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt; are used to load the god object with the knowledge that the shortest path between node 23 and node 46 changed to 2 hops at time 899.642. &lt;/span&gt;&lt;/pre&gt;&lt;pre style="white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;/pre&gt;&lt;pre style="white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;span class="Apple-style-span" style="white-space: normal;"&gt;&lt;pre style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;The generator for creating node movement files are to be found under &lt;/span&gt;&lt;span class="Apple-style-span" style="color: #3d85c6;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;"~ns/indep-utils/cmu-scen-gen/setdest/" &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;directory local ns2 installation. Compile the files under setdest to create an executable. run setdest with arguments in the following way:&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;/pre&gt;&lt;pre style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;/pre&gt;&lt;pre style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;/pre&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="white-space: normal;"&gt;&lt;pre style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;span class="Apple-style-span" style="color: #3d85c6;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;./setdest -n num_of_nodes -p pausetime -s maxspeed -t simtime -x maxx -y maxy outdir/scenario-file&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="white-space: normal;"&gt;&lt;pre style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;/pre&gt;&lt;pre style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;/pre&gt;&lt;pre style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Note that the index used for nodes now start from 0 instead of 1 as was in the original CMU version, to match with ns’s tradition of assigning node indices from 0.&lt;/span&gt;&lt;/pre&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;span class="Apple-style-span" style="font-family: 'DejaVu Serif'; white-space: normal;"&gt;&lt;pre style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;span class="Apple-style-span" style="font-family: 'DejaVu Serif'; white-space: normal;"&gt;&lt;pre style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;/pre&gt;&lt;pre style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;For details, refer: &lt;/span&gt;&lt;a href="http://www.isi.edu/nsnam/ns/tutorial/nsscript7.html"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;http://www.isi.edu/nsnam/ns/tutorial/nsscript7.html&lt;/span&gt;&lt;/a&gt;&lt;/pre&gt;&lt;div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8251419411096497985-6997547722898626701?l=abhishek-bit.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhishek-bit.blogspot.com/feeds/6997547722898626701/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8251419411096497985&amp;postID=6997547722898626701&amp;isPopup=true' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8251419411096497985/posts/default/6997547722898626701'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8251419411096497985/posts/default/6997547722898626701'/><link rel='alternate' type='text/html' href='http://abhishek-bit.blogspot.com/2010/12/god-general-operations-director-ns-2.html' title='GOD - General Operations Director (NS 2 Wireless Networks Simulation)'/><author><name>Abhishek</name><uri>http://www.blogger.com/profile/15235069555858259717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_Oun9BCXmll4/TPihz2D9qkI/AAAAAAAAAMg/fP2whfgbEnQ/S220/DSCN3082.JPG'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8251419411096497985.post-6257288311011737041</id><published>2010-11-30T18:52:00.017+05:30</published><updated>2011-02-16T07:10:50.663+05:30</updated><title type='text'>Emptiness!!(Lonely) Rohan Rathore IIT Guwahati (Lyrics and Chords)[tune mere jana kabhi nahi jana ishq mera dard mera..]</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: arial; font-size: x-small; line-height: 20px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: normal;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: normal;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: normal;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: normal;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: normal;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: normal;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: normal;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: normal;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: normal;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: normal;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;h3 class="UIIntentionalStory_Message" data-ft="{&amp;quot;type&amp;quot;:&amp;quot;msg&amp;quot;}" style="font-weight: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: small; line-height: normal;"&gt;&lt;s&gt;&lt;span class="UIStory_Message"&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;A song sung by ROHAN RATHORE from IIT Guwahati and he was suffering from cancer. He sang this song for Supriya a girl he loved more than anything and anyone in the world. Unfortunately she didn't return his love but this song was something he felt he had to do. He died just 15 days after recording this song. ( awesome song!! ♥ ♥ )&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/s&gt;&lt;/span&gt;&lt;/h3&gt;&lt;span class="Apple-style-span" style="font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: normal;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: normal;"&gt;&lt;span class="UIStory_Message"&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: normal;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: normal;"&gt;&lt;span class="UIStory_Message"&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: normal;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Oh love of mine, with a song and a whine,&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;You're harsh and divine like truths and a lie.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;But the tale ends not here&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;I have nothing to fear&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;for my love is a yell of forgiving and hold on.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;In the bright emptiness, in a room full of it,&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;is a cruel mistress - my heart!&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;I feel this unrest, that nests all hollowness,&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;for I have nowhere to go and I'm cold.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;And I feel so lonely yeah...&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;There's a better place than this: emptiness.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;And I'm so lonely yeah...&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;There's a better place than this: emptiness yeah...&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 11px; line-height: 16px;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: x-small; font-weight: normal; line-height: 20px;"&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Aa.. aa.. aa...&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Tune mere jaana..,&amp;nbsp;kabhi nahin jaana..,&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Ishq mera, dard mera.. haaye..&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Tune mere jaana, kabhi nahin jaana,&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Ishq mera, dard mera&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Aashiq tera...&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Bheed mein khoya rehta hai...&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Jaane jahaan....&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Poocho toh itna kehta hai -&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;That I feel so lonely yeah...&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;There's a better place than this: emptiness...&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;And I'm so lonely yeah...&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;There's a better place than this: emptiness yeah... ya..&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Aa.. aa.. aa...&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;/*English Translation of the Hindi Section of the Song*/&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Tune mere jaana, kabhi nahin jaana, (You, my love, have never ever realized)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Ishq mera, dard mera (my love, my pain)&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Tune mere jaana, kabhi nahin jaana, (You, my love, have never ever realized)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Ishq mera, dard mera (my love, my pain)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Aashiq tera... (Your lover)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Bheed mein khoya rehta hai... (remains lost in the crowd)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Jaane jahaan.... &amp;nbsp;(My dear love, wherever ...)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Poocho toh itna kehta hai - (... asked, he just says ...)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;That I feel so lonely yeah...&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;There's a better place than this: emptiness.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;And I'm so lonely yeah...&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;There's a better place than this: emptiness yeah...&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Here is the Download link of the song:&lt;/span&gt;&lt;a href="http://bit.ly/rohan_rathore"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;http://bit.ly/rohan_rathore&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;img src="http://gurdeepkansal.files.wordpress.com/2010/08/feel_the_breath_by_proama.jpg" /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #b7b7b7; font-size: 13px; line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #b7b7b7; font-size: 13px; line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Rohan Rathore - Emptiness Lonely Chords&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #999999; font-size: 12px; line-height: normal; white-space: pre;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #b7b7b7; font-size: 13px; line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="color: #999999; font-size: 12px; line-height: normal; white-space: pre;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;The intro lead is played with a piano which continues throughout the song.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;pre style="color: black; font: normal normal normal 12px/normal 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;The guitar tabs are as follows. The tabs are given in a lower octave which&lt;br /&gt;sound equally appealing. To math the original octave, place a capo on the&lt;br /&gt;12th fret and follow the same tabs.&lt;br /&gt;----------------------------------------------------------------------|&lt;br /&gt;-----1-------1---------1-------1--------------------------------------|&lt;br /&gt;---2---2---2---2-----2---2---2-----------3-------3--------------------|&lt;br /&gt;-3-------3---------2-------2-----------3---3---3---3------------------|&lt;br /&gt;-------------------------------------5-------5------------------------|&lt;br /&gt;----------------------------------------------------------------------|&lt;br /&gt;&lt;br /&gt;----------------------------|&lt;br /&gt;----------------------------|&lt;br /&gt;-----0-----0-2-0------------|&lt;br /&gt;---2---2---------3----------|&lt;br /&gt;-3--------------------------|&lt;br /&gt;----------------------------|&lt;br /&gt;&lt;br /&gt;The song -&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #007fbf; cursor: pointer;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;F&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Ho love of mine..&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;       &lt;/span&gt;&lt;span style="color: #007fbf; cursor: pointer;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Am&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;with a song and a wine..&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;       &lt;/span&gt;&lt;span style="color: #007fbf; cursor: pointer;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Dm&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;You're harsh and divine..&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;            &lt;/span&gt;&lt;span style="color: #007fbf; cursor: pointer;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;C&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;like truths and a lie..&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #007fbf; cursor: pointer;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;F&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;but the tale end's not here..&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;     &lt;/span&gt;&lt;span style="color: #007fbf; cursor: pointer;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Am&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;I've nothing to fear..&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;       &lt;/span&gt;&lt;span style="color: #007fbf; cursor: pointer;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Dm&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;                         &lt;/span&gt;&lt;span style="color: #007fbf; cursor: pointer;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;C&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;for my love is yell of giving an hold on..&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;br /&gt;       &lt;/span&gt;&lt;span style="color: #007fbf; cursor: pointer;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;F&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;in the bright emptiness..&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;       &lt;/span&gt;&lt;span style="color: #007fbf; cursor: pointer;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Am&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;in the room full of it..&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;     &lt;/span&gt;&lt;span style="color: #007fbf; cursor: pointer;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Dm&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;                 &lt;/span&gt;&lt;span style="color: #007fbf; cursor: pointer;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;C&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;is a cruel mistress ho ho o..&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: #007fbf; cursor: pointer;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;F&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;I feel the sunrise..&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;          &lt;/span&gt;&lt;span style="color: #007fbf; cursor: pointer;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Am&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;that nest all hollowness..&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;      &lt;/span&gt;&lt;span style="color: #007fbf; cursor: pointer;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Dm&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;                         &lt;/span&gt;&lt;span style="color: #007fbf; cursor: pointer;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;C&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;for i have nowhere to go and im cold..&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;br /&gt;              &lt;/span&gt;&lt;span style="color: #007fbf; cursor: pointer;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;F&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;      &lt;/span&gt;&lt;span style="color: #007fbf; cursor: pointer;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Am&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;And i feel so lonely yea..&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #007fbf; cursor: pointer;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Dm&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;                               &lt;/span&gt;&lt;span style="color: #007fbf; cursor: pointer;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;C&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;There's a better place from this emptiness..&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;           &lt;/span&gt;&lt;span style="color: #007fbf; cursor: pointer;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;F&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;      &lt;/span&gt;&lt;span style="color: #007fbf; cursor: pointer;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Am&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;And i'm so lonely yea..&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #007fbf; cursor: pointer;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Dm&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;                               &lt;/span&gt;&lt;span style="color: #007fbf; cursor: pointer;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;C&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;There's a better place from this emptiness..&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #007fbf; cursor: pointer;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;F&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;  &lt;/span&gt;&lt;span style="color: #007fbf; cursor: pointer;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Am&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;  &lt;/span&gt;&lt;span style="color: #007fbf; cursor: pointer;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Dm&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;  &lt;/span&gt;&lt;span style="color: #007fbf; cursor: pointer;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;C&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;yei yei yei ya...&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #007fbf; cursor: pointer;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;F&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;  &lt;/span&gt;&lt;span style="color: #007fbf; cursor: pointer;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Am&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;  &lt;/span&gt;&lt;span style="color: #007fbf; cursor: pointer;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Dm&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;  &lt;/span&gt;&lt;span style="color: #007fbf; cursor: pointer;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;C&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Aa.. aa.. aa...&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;br /&gt;          &lt;/span&gt;&lt;span style="color: #007fbf; cursor: pointer;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;F&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Tune mere jaana..&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;           &lt;/span&gt;&lt;span style="color: #007fbf; cursor: pointer;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Am&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Kabhi nahi jana..&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #007fbf; cursor: pointer;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Dm&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;               &lt;/span&gt;&lt;span style="color: #007fbf; cursor: pointer;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;C&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Ishq mera dard mera.. haaye...&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #007fbf; cursor: pointer;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;F&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Tune mere jaana..&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #007fbf; cursor: pointer;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Am&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Kabhi nahi jana..&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #007fbf; cursor: pointer;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Dm&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;               &lt;/span&gt;&lt;span style="color: #007fbf; cursor: pointer;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;C&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Ishq mera dard mera...&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;br /&gt;       &lt;/span&gt;&lt;span style="color: #007fbf; cursor: pointer;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;F&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;    &lt;/span&gt;&lt;span style="color: #007fbf; cursor: pointer;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Am&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Aashiq teraaa..&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #007fbf; cursor: pointer;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Dm&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;                  &lt;/span&gt;&lt;span style="color: #007fbf; cursor: pointer;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;C&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Bheed mein khoya rehta hai..&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;      &lt;/span&gt;&lt;span style="color: #007fbf; cursor: pointer;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;F&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;        &lt;/span&gt;&lt;span style="color: #007fbf; cursor: pointer;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Am&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Jaane jahaan aaa..&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #007fbf; cursor: pointer;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Dm&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;                 &lt;/span&gt;&lt;span style="color: #007fbf; cursor: pointer;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;C&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Puchho toh itna kehta hai..&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;br /&gt;             &lt;/span&gt;&lt;span style="color: #007fbf; cursor: pointer;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;F&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;        &lt;/span&gt;&lt;span style="color: #007fbf; cursor: pointer;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Am&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;And i feel so lonely yea..&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #007fbf; cursor: pointer;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Dm&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;                               &lt;/span&gt;&lt;span style="color: #007fbf; cursor: pointer;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;C&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;There s a better place from  this emptiness..&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;           &lt;/span&gt;&lt;span style="color: #007fbf; cursor: pointer;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;F&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;        &lt;/span&gt;&lt;span style="color: #007fbf; cursor: pointer;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Am&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;And i'm so lonely yea..&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="font-family: 'Courier New', Courier, monospace; font: normal normal normal 12px/normal 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="font-family: 'Courier New', Courier, monospace; font: normal normal normal 12px/normal 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="font-family: 'Courier New', Courier, monospace; font: normal normal normal 12px/normal 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-size: 13px; line-height: 18px; white-space: normal;"&gt;&lt;span style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="border-collapse: separate;"&gt;&lt;div style="border-collapse: separate; line-height: 18px; text-align: left;"&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;More about the song and the lyrics:&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;/span&gt;&lt;pre style="font: normal normal normal 12px/normal 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-size: 13px; line-height: 18px; white-space: normal;"&gt;&lt;span style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;The track starts with an amazing combination of synthesizer and guitar. The work of the lyricist and singer of this song is simply "awesome". Pain just oozes out through the "alaap" in the reprise.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="font: normal normal normal 12px/normal 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span"&gt;&lt;div style="font-size: 13px; line-height: 18px; text-align: left; white-space: normal;"&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #999999; font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="border-collapse: collapse; font-family: 'Courier New', Courier, monospace; font-size: 13px; line-height: 18px; text-align: left; white-space: normal;"&gt;&lt;br /&gt;&lt;span style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;At last, I would just say that I loved this song, and hope all of you do like this song,&lt;s&gt; I feel sad for the loss of such a promising talent of India, but more than that I feel proud of this guy. Hope the girl realizes the love of Rohan for her, maybe that was what he wished for ........&lt;/s&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;/span&gt;&lt;div&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="border-collapse: collapse; font-family: 'Courier New', Courier, monospace; font-size: 13px; line-height: 18px; white-space: normal;"&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;&lt;s&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;[NOTE] The authenticity of the story is not confirmed. It is based on what is spread over the internet through various blogs &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/s&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;s&gt;Other people who claims this song haven't been able to come up with a proof, until then we have decided to stick to this story.&lt;/s&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif; font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span class="Apple-style-span" style="color: #999999; font-size: small;"&gt;As per information on some blogs I got to know that the original composer of this song is Gajender Verma, and due to this very reason he is now claiming legal copyrights to this song. Some of the Emptiness videos on YouTube have been removed due this very reason. Aseem Ahmed Abbasee and Moonami Roy have written this song.  So the whole story about Rohan Rathore has been cooked up for publicity of the track.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #999999; font-family: 'Trebuchet MS', sans-serif; font-size: small;"&gt;[NOTE] Folks I got to know of it from some blogs and social networking sites.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #999999; font-family: 'Trebuchet MS', sans-serif; font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;Now here is the true story behind Rohan Rathore&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif; font-size: small;"&gt;Some of the people( who wanted to earn by charging people for downloading this song) knew the song was good. But an underground track does not reach a wide audience easily.So they needed some means to publicize this song. Then they thought of attaching a story to it. And they munched up a story that had all the elements that typical Bollywood type movie has. It had all the elements COLLEGE, LOVE and then CANCER. It is more or less Karan Johar type masala movie material. Those people very well knew that they should target the younger generation. So they made up a story to target these people. And India these sort of eye-catcher romantic story spreads virally. And finally those morons who wanted to get share out of profits of this cheap and shameful publicity stunt had with them real good marketing strategy. And also the promotion using social networking sites helped them in their viral marketing campaign. So in short the melodrama around so called IIT-G student "Rohan Rathore" is just a cheap marketing strategy.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif; font-size: small;"&gt;I can only suggest that youths nowadays should reason the authenticity of such story like "Rohan Rathore" before believing them as most of the times they are the means adopted by some idiots in-order to reap profits.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif; font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #999999; font-family: 'Trebuchet MS', sans-serif; font-size: large;"&gt;BUT STILL IN MY HONEST OPINION I WOULD REQUEST EVERYONE TO KEEP ASIDE THE CONTROVERSY BEHIND THIS SONG, AND JUST ENJOY THE TRACK.&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8251419411096497985-6257288311011737041?l=abhishek-bit.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhishek-bit.blogspot.com/feeds/6257288311011737041/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8251419411096497985&amp;postID=6257288311011737041&amp;isPopup=true' title='346 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8251419411096497985/posts/default/6257288311011737041'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8251419411096497985/posts/default/6257288311011737041'/><link rel='alternate' type='text/html' href='http://abhishek-bit.blogspot.com/2010/11/lyrics-of-emptinesslonely-rohan-rathore.html' title='Emptiness!!(Lonely) Rohan Rathore IIT Guwahati (Lyrics and Chords)[tune mere jana kabhi nahi jana ishq mera dard mera..]'/><author><name>Abhishek</name><uri>http://www.blogger.com/profile/15235069555858259717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_Oun9BCXmll4/TPihz2D9qkI/AAAAAAAAAMg/fP2whfgbEnQ/S220/DSCN3082.JPG'/></author><thr:total>346</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8251419411096497985.post-8928664633317359861</id><published>2010-08-08T17:57:00.006+05:30</published><updated>2010-08-20T11:18:13.287+05:30</updated><title type='text'>How to install ns-allinone-2.34 in Lucid Lynx</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: Arial, sans-serif; line-height: 18px;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;I am listing down the steps to install ns-allione-2.34 in lucid lynx&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, sans-serif; line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, sans-serif; line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;1. Download ns-allinone-2.34.tar from&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, sans-serif; line-height: 18px;"&gt;&lt;a href="http://sourceforge.net/projects/nsnam/"&gt;&lt;span class="Apple-style-span" style="color: black;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;here&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, sans-serif; line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, sans-serif; line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, sans-serif; line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;2. Place it in somewhere, e.g. /home/simulator, then extract it.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, sans-serif; line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;$ cd /&lt;/span&gt;&lt;user home=""&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;/simulator&lt;/span&gt;&lt;/user&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, sans-serif; line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;user home=""&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;$ tar -xvf ns-allinone-2.34.tar&lt;/span&gt;&lt;/user&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, sans-serif; line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, sans-serif; line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;3. Download &amp;amp; install some packages from repository&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, sans-serif; line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;$ apt-get install build-essential autoconf automake libxmu-dev&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, sans-serif; line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, sans-serif; line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;4. Install the ns2&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, sans-serif; line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;$ cd ns-allinone-2.34&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, sans-serif; line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, sans-serif; line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;5. You might face problem with the installation of otcl-1.13, the problem can be due to the gcc-4.4.1 / g++-4.4.1 compilers. But please try this :&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, sans-serif; line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;apt-get install g++-4.3&lt;br /&gt;CC=gcc-4.3 CXX=g++-4.3 ./install&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;try to edit the Makefile.in too&lt;/span&gt;&lt;code&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;From :&lt;br /&gt;CC= @CC@&lt;br /&gt;to :&lt;br /&gt;CC= gcc-4.3&lt;/span&gt;&lt;/code&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;br /&gt;6. Edit some paths in .bashrc file&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;$ gedit ~/.bashrc&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, sans-serif; line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Put these lines on that file. Off course, you might change /home/simulator for it depends on where you extract ns-allinone-2.34.tar.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, sans-serif; line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, sans-serif; line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;# LD_LIBRARY_PATH&lt;br /&gt;OTCL_LIB=/home/simulator/ns-allinone-2.34/otcl-1.13&lt;br /&gt;NS2_LIB=/home/simulator/ns-allinone-2.34/lib&lt;br /&gt;X11_LIB=/usr/X11R6/lib&lt;br /&gt;USR_LOCAL_LIB=/usr/local/lib&lt;br /&gt;export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OTCL_LIB:$NS2_LIB:$X11_LIB:$USR_LOCAL_LIB&lt;br /&gt;&lt;br /&gt;# TCL_LIBRARY&lt;br /&gt;TCL_LIB=/home/simulator/ns-allinone-2.34/tcl8.4.18/library&lt;br /&gt;USR_LIB=/usr/lib&lt;br /&gt;export TCL_LIBRARY=$TCL_LIB:$USR_LIB&lt;br /&gt;&lt;br /&gt;# PATH&lt;br /&gt;XGRAPH=/home/simulator/ns-allinone-2.34/bin:/home/simulator/ns-allinone-2.34/tcl8.4.18/unix:/home/simulator/ns-allinone-2.34/tk8.4.18/unix&lt;br /&gt;NS=/home/simulator/ns-allinone-2.34/ns-2.34/&lt;br /&gt;NAM=/home/simulator/ns-allinone-2.34/nam-1.13/&lt;br /&gt;export PATH=$PATH:$XGRAPH:$NS:$NAM&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;br /&gt;7. Validate it&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, sans-serif; line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;$ cd ns-2.34&lt;br /&gt;$ ./validate&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;(Optionally) You can create a symlink, so that ns can be called from everywhere&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, sans-serif; line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;$ sudo ln -s /home/simulator/ns-allinone-2.34/ns-2.34/ns /usr/bin/ns&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, sans-serif; line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;8. Try to run it.&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;$ ns&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;external link:&lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.linuxquestions.org/questions/linux-networking-3/ns-installation-wont-let-me-do-it-on-ubuntu-9-10-a-766193/"&gt;http://www.linuxquestions.org/questions/linux-networking-3/ns-installation-wont-let-me-do-it-on-ubuntu-9-10-a-766193/&lt;/a&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, sans-serif; line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;And here after you can develop and simulate codes using ns :D&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8251419411096497985-8928664633317359861?l=abhishek-bit.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhishek-bit.blogspot.com/feeds/8928664633317359861/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8251419411096497985&amp;postID=8928664633317359861&amp;isPopup=true' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8251419411096497985/posts/default/8928664633317359861'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8251419411096497985/posts/default/8928664633317359861'/><link rel='alternate' type='text/html' href='http://abhishek-bit.blogspot.com/2010/08/how-to-install-ns-allinone-234-in-lucid.html' title='How to install ns-allinone-2.34 in Lucid Lynx'/><author><name>Abhishek</name><uri>http://www.blogger.com/profile/15235069555858259717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_Oun9BCXmll4/TPihz2D9qkI/AAAAAAAAAMg/fP2whfgbEnQ/S220/DSCN3082.JPG'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8251419411096497985.post-1434399456661604287</id><published>2010-04-07T23:27:00.007+05:30</published><updated>2010-04-08T23:57:58.041+05:30</updated><title type='text'>Mapbender Installation Instructions fo Ubuntu 9.10(Karmic Koala)</title><content type='html'>&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;Mapbender (2.6+) is shipped with an install script, located at  &lt;/span&gt;&lt;br /&gt;&lt;pre&gt;&lt;span style="font-size: small;"&gt;/mapbender_2.6/resources/db/install_2.6.sh &lt;/span&gt;&lt;/pre&gt;&lt;span style="font-size: small;"&gt;(currently for unix-like and windows OS). You will be asked to input several bits of information, after that the installation will proceed automatically. Some of the things mentioned on this page, still apply. Especially all the prerequisites need to be fulfilled, the webserver configuration is not done automatically [Apache configuration, php configuration]. Installation of gettext. And also a final customization of the mapbender.conf has to be done.&lt;/span&gt;&lt;span style="font-size: small;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;table class="toc" id="toc" summary="Contents"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;div id="toctitle"&gt;&lt;h2&gt;&lt;span style="font-size: small;"&gt;Contents&lt;/span&gt;&lt;/h2&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;span class="mw-headline" style="font-size: small;"&gt;Prerequisites: &lt;/span&gt;&lt;span style="font-size: small;"&gt; To be able to install and operate your own copy of Mapbender you need:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Webserver (sudo apt-get install apache2) &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt; an installation of PHP (sudo apt-get install php5 ; sudo apt-get install php5-pgsql) &lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt; php-mbstring &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt; php-gettext &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt; php-gd2 &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt; php5-imagick &lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt; Database :Postgresql (sudo apt-get install postgresql-client-8.4 ; sudo apt-get install postgresql-server-dev-8.4) &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt; Installation of gettext (sudo apt-get install gettext)&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=8251419411096497985&amp;amp;postID=1434399456661604287" id="Directories" name="Directories"&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;h2&gt;&lt;span class="mw-headline" style="font-size: small;"&gt; Directories &lt;/span&gt;&lt;/h2&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt; conf - directory for configuration files.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt; http - directory for the application. &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt; license - licensing information files &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt; log - logfiles will be saved here.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt; resource/db -  directory for the SQL-Dump to build up the Mapbender database or update the database. &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt; resources/locales - directory contains translation files for different languages (Mapbender.po files, they are basically object files).&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=8251419411096497985&amp;amp;postID=1434399456661604287" id="run_the_install-Script" name="run_the_install-Script"&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;h2&gt;&lt;span class="mw-headline" style="font-size: small;"&gt; Run the install-Script&lt;/span&gt;&lt;/h2&gt;&lt;span style="font-size: small;"&gt;Database required by Mapbender needs administrative privileges. There is an install-script that creates the database and creates tables and content &lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;install_2.6.sh. &lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;pre&gt;&lt;span style="font-size: small;"&gt;./mapbender/resources/db/install_2.6.sh&lt;/span&gt;&lt;/pre&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=8251419411096497985&amp;amp;postID=1434399456661604287" id="Apache_virtual_directory" name="Apache_virtual_directory"&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;h2&gt;&lt;span class="mw-headline" style="font-size: small;"&gt; Apache virtual directory &lt;/span&gt;&lt;/h2&gt;&lt;span style="font-size: small;"&gt;After installation create a virtual directory. Edit&amp;nbsp; /etc/apache2/sites-available/default:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;pre&gt;&lt;span style="font-size: small;"&gt;Alias /mapbender /var/www/apache2-default/mapbender_2.4.3/http/&lt;br /&gt;&lt;br /&gt;       &lt;directory apache2-default="" http="" mapbender_2.4.3="" var="" www=""&gt;&lt;br /&gt;          Options MultiViews&lt;br /&gt;          DirectoryIndex index.php&lt;br /&gt;          Order allow,deny&lt;br /&gt;          Allow from all&lt;br /&gt;       &lt;/directory&gt;&lt;/span&gt;&lt;/pre&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;You must reload (or stop and restart) the Apache program after making changes to the configuration file to make them take effect.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;sudo /etc/init.d/apache2 stop &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;sudo /etc/init.d/apache2 restart &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;If you want to enable directory browsing, e.g. for debugging purposes add &lt;i&gt;Indexes&lt;/i&gt; to the &lt;b&gt;Options&lt;/b&gt; line.&lt;directory apache2-default="" http="" mapbender_2.4.3="" var="" www=""&gt;&amp;nbsp;&lt;/directory&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;directory apache2-default="" http="" mapbender_2.4.3="" var="" www=""&gt;       &lt;/directory&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;Make sure you have loaded the required modules (for example, Ubuntu and Apache2) &lt;/span&gt;&lt;br /&gt;&lt;pre&gt;&lt;span style="font-size: small;"&gt;a2enmod deflate&lt;br /&gt;a2enmod headers&lt;br /&gt;a2enmod setenvif (for BrowserMatch)&lt;/span&gt;&lt;/pre&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=8251419411096497985&amp;amp;postID=1434399456661604287" id="PHP_Configuration" name="PHP_Configuration"&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;h2&gt;&lt;span class="mw-headline" style="font-size: small;"&gt; PHP Configuration  &lt;/span&gt;&lt;/h2&gt;&lt;span style="font-size: small;"&gt;You might have to make some adjustments to the file &lt;b&gt;php.ini&lt;/b&gt;.  Changes in the php.ini also become operative only after restarting the Apache web server&amp;nbsp;!&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;sudo /etc/init.d/apache2 restart&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;1. During the test and installation phase of Mapbender it can be helpful log php-errors. Configure the file &lt;tt&gt;php.ini&lt;/tt&gt; as follows:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;pre&gt;&lt;span style="font-size: small;"&gt;error_reporting  =  E_ALL &amp;amp; ~E_NOTICE&lt;br /&gt;log_errors = On&lt;br /&gt;error_log = "/var/log/php.log"&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;&lt;span style="font-size: small;"&gt;2. Check the following details in php.ini  allow_url_fopen parameter: &lt;/span&gt;&lt;br /&gt;&lt;pre&gt;&lt;span style="font-size: small;"&gt;extension_dir = (path to extensions-directory)&lt;br /&gt;allow_url_fopen = On&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;&lt;span style="font-size: small;"&gt;3. Mapbender manages access authorization in SESSIONS. Check the following details: &lt;/span&gt;&lt;br /&gt;&lt;pre&gt;&lt;span style="font-size: small;"&gt;session.save_handler = files&lt;br /&gt;session.save_path = (Path to SESSIONS-Directory). (Check authorisation!)&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;4. Further details of session management should be customized according to server load (see 'garbage collection' in  &lt;tt&gt;php.ini&lt;/tt&gt;) &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;5. With regard to other modules the extension &lt;tt&gt;gd2&lt;/tt&gt; should be included in the installation and configuration process. &lt;/span&gt;&lt;br /&gt;&lt;pre&gt;&lt;span style="font-size: small;"&gt;extension=gd.so              (Linux)&lt;/span&gt;&lt;/pre&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;pre&gt;&lt;span style="font-size: small;"&gt;# sudo apt-get install lbgd2-dev &lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;6. For some Mapbender modules access to a PostgreSQL database is required. If these modules should be used, you have to check the availability of the required extension in the php.ini file: &lt;/span&gt;&lt;br /&gt;&lt;pre&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: small;"&gt;extension=pgsql.so           (Linux)&lt;/span&gt;&lt;/pre&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;7. short_open_tag  &lt;/span&gt;&lt;br /&gt;&lt;pre&gt;&lt;span style="font-size: small;"&gt;short_open_tag = OFF&lt;/span&gt;&lt;/pre&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;8. Mapbender requires &lt;b&gt;simplexml&lt;/b&gt; and &lt;b&gt;dom&lt;/b&gt; for XML parsing. If not installed, this will lead to some hard-to-find bugs, because PHP fails to throw exceptions! These modules should be already installed if you are using a Linux distribution, but if you compile PHP yourself you need to include these as well &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=8251419411096497985&amp;amp;postID=1434399456661604287" id="Mapbender_Database" name="Mapbender_Database"&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;h2&gt;&lt;span class="mw-headline" style="font-size: small;"&gt; Mapbender Database &lt;/span&gt;&lt;/h2&gt;&lt;span style="font-size: small;"&gt;Mapbender offers an install-script (install.sh) that sets up the database for you. The following descriptions shows what is happening. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;Mapbender offers an update script (update.sh) that keeps your database upoto-date&lt;/span&gt;&lt;br /&gt;&lt;h3&gt;&lt;span class="mw-headline" style="font-size: small;"&gt;PostgreSql Database &lt;/span&gt;&lt;/h3&gt;&lt;span style="font-size: small;"&gt;The user under which you load the database must have Postgres superuser rights during inserting the psql_*.sql files below so it can temporarily disable constraint triggers during insert. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;You have to decide to &lt;b&gt;either&lt;/b&gt; use UTF-8 &lt;b&gt;or&lt;/b&gt; ISO-8859-1 character encoding. &lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt; database with UTF-8 encoding &lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;pre&gt;&lt;span style="font-size: small;"&gt;createdb -E UTF8 mapbender&lt;/span&gt;&lt;/pre&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt; database with ISO-8859-1 encoding  &lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;pre&gt;&lt;span style="font-size: small;"&gt;createdb -E Latin1 mapbender&lt;/span&gt;&lt;/pre&gt;&lt;span style="font-size: small;"&gt;First load the empty Mapbender table definiton (schema)  &lt;/span&gt;&lt;br /&gt;&lt;pre&gt;&lt;span style="font-size: small;"&gt;psql -f pgsql_schema.sql &lt;dbname&gt;&lt;br /&gt;&lt;/dbname&gt;&lt;/span&gt;&lt;/pre&gt;&lt;span style="font-size: small;"&gt;Then load the data in mapbender/resources/db/postgresql/ - be sure to use the dump with the correct enconding! &lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt; UTF-8 &lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;pre&gt;&lt;span style="font-size: small;"&gt;psql -f pgsql_data.sql &lt;dbname&gt; (in subfolder utf8/)&lt;/dbname&gt;&lt;/span&gt;&lt;/pre&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt; ISO-8859-1 &lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;pre&gt;&lt;span style="font-size: small;"&gt;psql -f pgsql_data.sql &lt;dbname&gt; (in subfolder iso/)&lt;/dbname&gt;&lt;/span&gt;&lt;/pre&gt;&lt;span style="font-size: small;"&gt;At the end set the constraints and sequences. Here you have to check which PostgreSQL version you are using:  &lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt; pgsql_serial_set_sequences.sql (for 8.x) &lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;pre&gt;&lt;span style="font-size: small;"&gt;psql -f pgsql_serial_set_sequences.sql &lt;dbname&gt; &lt;/dbname&gt;&lt;/span&gt;&lt;/pre&gt;&lt;span style="font-size: small;"&gt;You can install PostGIS as follows (as User postgres (su postgres)): &lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt; &lt;span style="font-size: small;"&gt;&lt;tt&gt;createlang plpgsql &lt;dbname&gt;&lt;/dbname&gt;&lt;/tt&gt; (already installed in Mapbender &amp;gt;= 2.5) &lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="font-size: small;"&gt;&lt;tt&gt;psql -f lwpostgis.sql -d &lt;dbname&gt;&lt;/dbname&gt;&lt;/tt&gt; (change into the PostGIS directory!)  &lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="font-size: small;"&gt;&lt;tt&gt;psql -f spatial_ref_sys.sql -d &lt;dbname&gt;&lt;/dbname&gt;&lt;/tt&gt; (change into the PostGIS directory!) &lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt; How to load the sqls in PostgreSQL:&lt;/b&gt; You find the SQL: /mapbender/resources/db/postgresql/  &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;Notice:&lt;/b&gt; There is a difference between the ISO-8859-1 or UTF-8 data-files. Make sure you choose the right folder (iso or utf8) &lt;/span&gt;&lt;br /&gt;&lt;pre&gt;&lt;span style="font-size: small;"&gt;psql -f pgsql_schema.sql mapbender&lt;br /&gt;psql -f pgsql_data.sql mapbender&lt;br /&gt;psql -f pgsql_serial_set_sequences.sql mapbender&lt;/span&gt;&lt;/pre&gt;&lt;span style="font-size: small;"&gt;Check the PostgreSQL log file for any errors during insert. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;If you want to update from Mapbender Version 2.2.2 to Mapbender Version 2.2.3 load the sqls in the folder update &lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt; one column var_name in table gui_element_vars has changed &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt; new table mb_user_wmc &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt; update of the mapbender guis (admin1, admin2_de, admin2_en, gui and gui1. Notice, that gui_de und gui1_de are not longer part of the standard guis. We want to solve the multilanguage problem with element vars in the following versions) &lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=8251419411096497985&amp;amp;postID=1434399456661604287" id="Mapbender_Configuration_File_mapbender.conf" name="Mapbender_Configuration_File_mapbender.conf"&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;h4&gt;&lt;span class="mw-headline" style="font-size: small;"&gt; Mapbender Configuration File mapbender.conf &lt;/span&gt;&lt;/h4&gt;&lt;span style="font-size: small;"&gt;You find the Mapbender Configuration File in the directory "conf". Here you find the file mapbender.conf-dist. Rename the file to mapbender.conf. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;Choose the database you want to use (from Mapbender 2.7 on only PostgreSQL is supported): &lt;/span&gt;&lt;br /&gt;&lt;pre&gt;&lt;span style="font-size: small;"&gt;define("SYS_DBTYPE", "pgsql"); &lt;/span&gt;&lt;/pre&gt;&lt;span style="font-size: small;"&gt;If you use PostgreSQL type your database information here (here is an example): &lt;/span&gt;&lt;br /&gt;&lt;pre&gt;&lt;span style="font-size: small;"&gt;else {&lt;br /&gt;   define("DBSERVER", "localhost");&lt;br /&gt;   define("PORT", "5432");&lt;br /&gt;   define("DB", "mapbender");&lt;br /&gt;   define("OWNER", "mb");&lt;br /&gt;   define("PW", "mb");&lt;br /&gt;}&lt;/span&gt;&lt;/pre&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;perpared statements (PHP &amp;gt; 5.1.x, PostgreSQL &amp;gt; 7.4)&lt;/b&gt;&lt;/span&gt; define("PREPAREDSTATEMENTS",true); &lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;encoding - default characterset UTF-8 / ISO-8859-1&lt;/b&gt;&lt;/span&gt; &lt;br /&gt;&lt;pre&gt;&lt;span style="font-size: small;"&gt;define("CHARSET","UTF-8");&lt;/span&gt;&lt;/pre&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;Define a directory for temporary files, this directory must have write access&lt;/b&gt;&lt;/span&gt; &lt;br /&gt;&lt;pre&gt;&lt;span style="font-size: small;"&gt;define("TMPDIR", "../tmp");&lt;/span&gt;&lt;/pre&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;URL for login&lt;/b&gt; (test this link to know if your mapbender software is running&lt;b&gt; &lt;/b&gt;)&lt;/span&gt;&lt;br /&gt;&lt;pre&gt;&lt;span style="font-size: small;"&gt;define("LOGIN", "&lt;a class="external free" href="http://localhost/mapbender/frames/login.php" rel="nofollow" title="http://localhost/mapbender/frames/login.php"&gt;http://localhost/mapbender/frames/login.php&lt;/a&gt;");&lt;br /&gt; define("MAXLOGIN", 3);&lt;br /&gt; $login = LOGIN;&lt;/span&gt;&lt;/pre&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;URL to owsproxy (no terminating slash)&lt;/b&gt;&lt;/span&gt; &lt;br /&gt;&lt;pre&gt;&lt;span style="font-size: small;"&gt;define("OWSPROXY", "&lt;a class="external free" href="http://localhost/owsproxy" rel="nofollow" title="http://localhost/owsproxy"&gt;http://localhost/owsproxy&lt;/a&gt;");&lt;/span&gt;&lt;/pre&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;type of server-connection curl, socket, http&lt;/b&gt;&lt;/span&gt; &lt;br /&gt;&lt;pre&gt;&lt;span style="font-size: small;"&gt;#define("CONNECTION", "curl");&lt;br /&gt; define("CONNECTION", "http");&lt;br /&gt; #define("CONNECTION", "socket");&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: small;"&gt;define("CONNECTION_PROXY", "&lt;ip&gt;");&lt;br /&gt; define("CONNECTION_PORT", "&lt;port&gt;");&lt;br /&gt; define("CONNECTION_USER", "&lt;user&gt;");&lt;br /&gt; define("CONNECTION_PASSWORD", "&lt;password&gt;");&lt;/password&gt;&lt;/user&gt;&lt;/port&gt;&lt;/ip&gt;&lt;/span&gt;&lt;/pre&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;security: path to modules&lt;/b&gt;&lt;/span&gt; &lt;br /&gt;&lt;pre&gt;&lt;span style="font-size: small;"&gt;define("CHECK", false);&lt;/span&gt;&lt;/pre&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;mail settings for internal mapbender mails&lt;/b&gt; Mapbender can communicate with its users by email. For example, when a user lost his/her password, Mapbender can send an email to this person with a new password.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;pre&gt;&lt;span style="font-size: small;"&gt;define("USE_PHP_MAILING", "false");&lt;br /&gt;define("MAILHOST", "&lt;host&gt;");&lt;br /&gt;define("MAILUSERNAME", "&lt;user&gt;");&lt;br /&gt;define("MAILPASSWORD", "&lt;password&gt;");&lt;br /&gt;define("MAILADMIN", "&lt;mailaddress mailadmin="" of="" the=""&gt;");&lt;br /&gt;define("MAILADMINNAME", "&lt;mailadminname&gt;");&lt;br /&gt;$mailHost = MAILHOST;&lt;br /&gt;$mailUsername =  MAILUSERNAME;&lt;br /&gt;$mailPassword =  MAILPASSWORD;&lt;/mailadminname&gt;&lt;/mailaddress&gt;&lt;/password&gt;&lt;/user&gt;&lt;/host&gt;&lt;/span&gt;&lt;/pre&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt; Mapbender error logging &lt;/b&gt;&lt;/span&gt; &lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt; Set Mapbender error logging (see possible options below) &lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;pre&gt;&lt;span style="font-size: small;"&gt;define("LOG_LEVEL", "error"); //"off","error","warning","notice" or "all"&lt;br /&gt;define("LOG_JS", "on"); // "on", "alert", "console" or "off"&lt;/span&gt;&lt;/pre&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;Internationalisation&lt;/b&gt;&lt;/span&gt; &lt;br /&gt;&lt;pre&gt;&lt;span style="font-size: small;"&gt;define("USE_I18N", true);&lt;/span&gt;&lt;/pre&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt; Define default language &lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;pre&gt;&lt;span style="font-size: small;"&gt;define("LANGUAGE", "de");   // "en", "de", "bg", "gr", "nl", "it", es" &lt;/span&gt;&lt;/pre&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt; you can change the translations in the Mapbender.po (mapbender/resources/locale/de_DE/Mapbender.po files if you prefer a different translation. &lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt; You can edit the Mapbender.po files with an editor &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt; or with poedit &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt; after changing Mapbender.po you have to compile the Mapbender.mo files again, see gettext (make sure that gettext is installed). &lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;&lt;pre&gt;&lt;span style="font-size: small;"&gt;Example - How to compile the Mapbender.mo files&lt;br /&gt;msgfmt resources/locale/de_DE/LC_MESSAGES/Mapbender.po -o resources/locale/de_DE/LC_MESSAGES/Mapbender.mo&lt;/span&gt;&lt;/pre&gt;&lt;span style="font-size: small;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=8251419411096497985&amp;amp;postID=1434399456661604287" id="Change_the_Permission_of_log_Folder" name="Change_the_Permission_of_log_Folder"&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;h4&gt;&lt;span class="mw-headline" style="font-size: small;"&gt;Change the Permission of log Folder&lt;/span&gt;&lt;/h4&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt; Linux&amp;nbsp;: change the permission of log folder to 777 so that php script can write logs in it. &lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;pre&gt;&lt;span style="font-size: small;"&gt;chmod -R 777 log&lt;/span&gt;&lt;/pre&gt;&lt;span style="font-size: small;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=8251419411096497985&amp;amp;postID=1434399456661604287" id="Check_the_Setup" name="Check_the_Setup"&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;h4&gt;&lt;span class="mw-headline" style="font-size: small;"&gt; Check the Setup &lt;/span&gt;&lt;/h4&gt;&lt;span style="font-size: small;"&gt;You can check your setup with the script mapbender_setup.php.  The script mapbender_setup.php moved to the directory: &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;/mapbender/tools/mapbender_setup.php &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;To access the script you have to move it temporary to /mapbender/http/tools/mapbender_setup.php.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;Please notice that for security reasons the directory tools should not be available for external users, as e.g. the mapbender_setup.php displays internal information about your system (PHP version, databasename, database user...). You can protect the directory by htaccess or just remove the tools-directory again after testing. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;Run the mapbender_setup.php: &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;a class="external free" href="http://localhost/mapbender/tools/mapbender_setup.php" rel="nofollow" title="http://localhost/mapbender/tools/mapbender_setup.php"&gt;http://localhost/mapbender/tools/mapbender_setup.php&lt;/a&gt;&lt;/span&gt; &lt;br /&gt;&lt;span style="font-size: small;"&gt;The mapbender_setup.php checks wether all configurations of the mapbender.conf are right and checks some system settings. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="mw-headline" style="font-size: small;"&gt;&lt;b&gt;After the installation - first Login&lt;/b&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;After the installtion you can login with the user account root and the inital password &lt;i&gt;root&lt;/i&gt;. Make sure to change this password asap in order to secure your Mapbender installation. Go to admin2_en &lt;b&gt;Create and edit user&lt;/b&gt; to change the password. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;You should not delete the user &lt;b&gt;root&lt;/b&gt;. To administrate your applications you should create a new user f.e. &lt;b&gt;admin&lt;/b&gt; which you use instead if user &lt;b&gt;root&lt;/b&gt;. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;If you feel any installation instruction that is causing trouble to you, then feel free to comment on this post. I will surely try to answer them when I get some time :)&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8251419411096497985-1434399456661604287?l=abhishek-bit.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhishek-bit.blogspot.com/feeds/1434399456661604287/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8251419411096497985&amp;postID=1434399456661604287&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8251419411096497985/posts/default/1434399456661604287'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8251419411096497985/posts/default/1434399456661604287'/><link rel='alternate' type='text/html' href='http://abhishek-bit.blogspot.com/2010/04/mapbender-installation-instructions-fo.html' title='Mapbender Installation Instructions fo Ubuntu 9.10(Karmic Koala)'/><author><name>Abhishek</name><uri>http://www.blogger.com/profile/15235069555858259717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_Oun9BCXmll4/TPihz2D9qkI/AAAAAAAAAMg/fP2whfgbEnQ/S220/DSCN3082.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8251419411096497985.post-5330051355848597968</id><published>2010-03-13T09:43:00.001+05:30</published><updated>2010-03-13T09:43:01.107+05:30</updated><title type='text'>iptables</title><content type='html'>#icmp-type 0 echo-reply&lt;br&gt;#icmp-type 8 echo-request &lt;br&gt;&lt;br&gt;#incoming ping packets&lt;br&gt;SERVER_IP=&amp;quot;192.168.154.7&amp;quot;&lt;br&gt;iptables -A INPUT -p icmp --icmp-type 8 -s 0/0 -d $SERVER_IP -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT&lt;br&gt;iptables -A OUTPUT -p icmp --icmp-type 0 -s $SERVER_IP -d 0/0 -m state --state ESTABLISHED,RELATED -j ACCEPT&lt;br&gt;&lt;br&gt;&lt;br&gt;#outgoing ping packets&lt;br&gt;SERVER_IP=&amp;quot;192.168.154.4&amp;quot;&lt;br&gt;iptables -A OUTPUT -p icmp --icmp-type 8 -s $SERVER_IP -d 0/0 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT&lt;br&gt;iptables -A INPUT -p icmp --icmp-type 0 -s 0/0 -d $SERVER_IP -m state --state ESTABLISHED,RELATED -j ACCEPT&lt;br&gt;&lt;br&gt;&lt;br&gt;#disable outgoing ICMP request&lt;br&gt;HOST_TO_BLOCK=&amp;quot;192.168.154.4&amp;quot;&lt;br&gt;iptables -A OUTPUT -p icmp --icmp-type 8 -s 0/0 -d $HOST_TO_BLOCK -j DROP&lt;br&gt;&lt;br&gt;#disable incoming ICMP request&lt;br&gt;HOST_TO_BLOCK=&amp;quot;192.168.154.7&amp;quot;&lt;br&gt;iptables -A OUTPUT -p icmp --icmp-type 8 -s$HOST_TO_BLOCK&amp;nbsp; -d 0/0 -j DROP&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8251419411096497985-5330051355848597968?l=abhishek-bit.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhishek-bit.blogspot.com/feeds/5330051355848597968/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8251419411096497985&amp;postID=5330051355848597968&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8251419411096497985/posts/default/5330051355848597968'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8251419411096497985/posts/default/5330051355848597968'/><link rel='alternate' type='text/html' href='http://abhishek-bit.blogspot.com/2010/03/iptables.html' title='iptables'/><author><name>Abhishek</name><uri>http://www.blogger.com/profile/15235069555858259717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_Oun9BCXmll4/TPihz2D9qkI/AAAAAAAAAMg/fP2whfgbEnQ/S220/DSCN3082.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8251419411096497985.post-2985308515834365505</id><published>2010-03-13T09:40:00.001+05:30</published><updated>2010-03-13T09:40:04.234+05:30</updated><title type='text'>SQL HARDENING</title><content type='html'>&lt;font size="2"&gt;&lt;font face="verdana"&gt;#start installation by creating a unique, regular group and user account on the operating system, which will be dedicated to the MySQL database: &lt;/font&gt;&lt;/font&gt;&lt;p class="text" style="font-family:Verdana"&gt;&lt;font size="2"&gt;groupadd mysql&lt;br&gt;useradd mysql -c &amp;quot;MySQL Server&amp;quot; -d /dev/null -g mysql -s /sbin/nologin&lt;/font&gt;&lt;/p&gt;&lt;p class="text" style="font-family:Verdana"&gt;&lt;br&gt;&lt;/p&gt;&lt;p class="text" style="font-family:Verdana"&gt;&lt;font face="verdana"&gt;#compiling and installing MySQL in the &lt;/font&gt;&lt;i style="font-family:Verdana"&gt;/usr/local/mysql&lt;/i&gt; directory: &lt;/p&gt;&lt;p class="text" style="font-family:Verdana"&gt;&lt;font size="2"&gt;./configure --prefix=/usr/local/mysql --with-mysqld-user=mysql --with-unix-socket-path=/tmp/mysql.sock --with-mysqld-ldflags=-all-static&lt;br&gt; make&lt;br&gt; su&lt;br&gt; make install&lt;br&gt; strip /usr/local/mysql/libexec/mysqld&lt;br&gt; scripts/mysql_install_db&lt;br&gt; chown -R root /usr/local/mysql&lt;br&gt; chown -R mysql /usr/local/mysql/var&lt;br&gt; chgrp -R mysql /usr/local/mysql&lt;br&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="text" style="font-family:Verdana"&gt;&lt;font size="2"&gt; &lt;i&gt;#--with-mysqld-ldflags=-all-static&lt;/i&gt; parameter causes the MySQL server to be linked statically which wil simplify the process of chrooting the server&lt;br&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="text" style="font-family:Verdana"&gt;&lt;font size="2"&gt;#for installing the software in the &lt;i&gt;/usr/local/mysql&lt;/i&gt; directory, run the MySQL daemon with the privileges of the &lt;i&gt;mysql&lt;/i&gt; account, and create the &lt;i&gt;mysql.sock&lt;/i&gt; socket in the &lt;i&gt;/tmp&lt;/i&gt; directory. &lt;/font&gt;&lt;/p&gt;&lt;br&gt;#&lt;font size="2"&gt;&lt;font face="verdana"&gt;size of the database =medium &lt;/font&gt;&lt;/font&gt;&lt;p class="text" style="font-family:Verdana"&gt;&lt;font size="2"&gt; cp support-files/my-medium.cnf /etc/my.cnf&lt;br&gt; chown root:sys /etc/my.cnf&lt;br&gt; chmod 644 /etc/my.cnf&lt;/font&gt;&lt;/p&gt;&lt;p class="text" style="font-family:Verdana"&gt;&lt;br&gt;&lt;/p&gt;&lt;p class="text" style="font-family:Verdana"&gt;&lt;/p&gt;&lt;p class="text" style="font-family:Verdana"&gt;&lt;font size="2"&gt;#&lt;/font&gt;start the MySQL server&amp;nbsp;&lt;/p&gt;&lt;p class="text" style="font-family:Verdana"&gt;&lt;font size="2"&gt; /usr/local/mysql/bin/mysqld_safe &amp;amp;&lt;br&gt;&lt;/font&gt;&lt;/p&gt;&lt;br&gt;&lt;font size="2"&gt;&lt;font face="verdana"&gt; #establishing a connection with the database &lt;/font&gt;&lt;/font&gt;&lt;p class="text" style="font-family:Verdana"&gt;&lt;/p&gt;&lt;font face="verdana" size="2"&gt;/usr/local/mysql/bin/mysql -u root mysql&lt;br&gt;&lt;br&gt;&lt;/font&gt;&lt;p class="text" style="font-family:Verdana"&gt;&lt;font size="2"&gt;#Once the connection is successfully established, we can shutdown the database &lt;/font&gt;&lt;/p&gt;&lt;p class="text" style="font-family:Verdana"&gt;&lt;font size="2"&gt; /usr/local/mysql/bin/mysqladmin -u root shutdown&lt;br&gt;&lt;/font&gt;&lt;/p&gt;&lt;font size="2"&gt;&lt;font face="verdana"&gt;&lt;br&gt;#securing MySQL is to prepare the chrooted environment, in which the MySQL server will run&amp;nbsp;&lt;/font&gt;&lt;/font&gt;&lt;br&gt;&lt;br&gt;&lt;font size="2"&gt;&lt;font face="verdana"&gt;#preparing the chrooted environment &lt;/font&gt;&lt;/font&gt;&lt;p class="text" style="font-family:Verdana"&gt;&lt;font size="2"&gt; mkdir -p /chroot/mysql/dev&lt;br&gt; mkdir -p /chroot/mysql/etc&lt;br&gt; mkdir -p /chroot/mysql/tmp&lt;br&gt; mkdir -p /chroot/mysql/var/tmp&lt;br&gt; mkdir -p /chroot/mysql/usr/local/mysql/libexec&lt;br&gt; mkdir -p /chroot/mysql/usr/local/mysql/share/mysql/english&lt;br&gt;&lt;/font&gt;&lt;/p&gt;&lt;br&gt;&lt;font size="2"&gt;&lt;font face="verdana"&gt;#access rights to the above directories&amp;nbsp; &lt;/font&gt;&lt;/font&gt;&lt;p class="text" style="font-family:Verdana"&gt;&lt;font size="2"&gt; chown -R root:sys /chroot/mysql&lt;br&gt; chmod -R 755 /chroot/mysql&lt;br&gt; chmod 1777 /chroot/mysql/tmp&lt;br&gt;&lt;/font&gt;&lt;/p&gt;&lt;font size="2"&gt;&lt;font face="verdana"&gt;&lt;br&gt;#Next, the following files have to be copied into the new directory structure: &lt;/font&gt;&lt;/font&gt;&lt;p class="text" style="font-family:Verdana"&gt;&lt;font size="2"&gt; cp /usr/local/mysql/libexec/mysqld /chroot/mysql/usr/local/mysql/libexec/&lt;br&gt; cp /usr/local/mysql/share/mysql/english/errmsg.sys /chroot/mysql/usr/local/mysql/share/mysql/english/&lt;br&gt; cp /etc/hosts /chroot/mysql/etc/&lt;br&gt; cp /etc/host.conf /chroot/mysql/etc/&lt;br&gt; cp /etc/resolv.conf /chroot/mysql/etc/&lt;br&gt; cp /etc/group /chroot/mysql/etc/&lt;br&gt; cp /etc/master.passwd /chroot/mysql/etc/passwords&lt;br&gt; cp /etc/my.cnf /chroot/mysql/etc/&lt;br&gt;&lt;/font&gt;&lt;/p&gt;&lt;br&gt;&lt;font size="2"&gt;&lt;font face="verdana"&gt; #From the files: &lt;/font&gt;&lt;i style="font-family:Verdana"&gt;/chroot/mysql/etc/passwords&lt;/i&gt;&lt;font face="verdana"&gt; and &lt;/font&gt;&lt;i style="font-family:Verdana"&gt;/chroot/mysql/etc/group&lt;/i&gt;&lt;font face="verdana"&gt; we must remove all the lines except the mysql account and group&lt;br&gt;#Next, we have to build the password database as follows&amp;nbsp;&lt;/font&gt;&lt;/font&gt;&lt;p class="text" style="font-family:Verdana"&gt;&lt;font size="2"&gt; cd /chroot/mysql/etc&lt;br&gt; pwd_mkdb -d /chroot/mysql/etc passwords&lt;br&gt; rm -rf /chroot/mysql/etc/master.passwd&lt;/font&gt;&lt;br&gt;&lt;/p&gt;&lt;p class="text" style="font-family:Verdana"&gt;&lt;br&gt;&lt;/p&gt;&lt;p class="text" style="font-family:Verdana"&gt;&lt;font face="verdana"&gt;#creating a special device file &lt;/font&gt;&lt;i style="font-family:Verdana"&gt;/dev/null&lt;/i&gt;: &lt;/p&gt;&lt;p class="text" style="font-family:Verdana"&gt;&lt;/p&gt;&lt;font face="verdana" size="2"&gt;ls -al /dev/null&lt;br&gt;&lt;br&gt;mknod /chroot/mysql/dev/null c 2 2&lt;br&gt;chown root:sys /chroot/mysql/dev/null&lt;br&gt;chmod 666 /chroot/mysql/dev/null&lt;br&gt;&lt;/font&gt;&lt;p class="text" style="font-family:Verdana"&gt;&lt;br&gt;&lt;/p&gt;&lt;p class="text" style="font-family:Verdana"&gt;&lt;font size="2"&gt;We must also copy the &lt;i&gt;mysql&lt;/i&gt; database, which contains grant tables created during MySQL installation: &lt;/font&gt;&lt;/p&gt;&lt;p class="text" style="font-family:Verdana"&gt;&lt;font size="2"&gt; cp -R /usr/local/mysql/var/ /chroot/mysql/usr/local/mysql/var&lt;br&gt; chown -R mysql:mysql /chroot/mysql/usr/local/mysql/var&lt;br&gt;&lt;/font&gt;&lt;/p&gt;&lt;font size="2"&gt;&lt;br&gt;&lt;/font&gt;&lt;br&gt;&lt;font size="2"&gt;&lt;font face="verdana"&gt;#test if it runs correctly by executing the following command &lt;/font&gt;&lt;/font&gt;&lt;p class="text" style="font-family:Verdana"&gt;&lt;font size="2"&gt; chrootuid /chroot/mysql mysql /usr/local/mysql/libexec/mysqld &amp;amp;&lt;br&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="text" style="font-family:Verdana"&gt;&lt;/p&gt;&lt;br&gt;&lt;font size="2"&gt; &lt;i&gt;#/chroot/mysql/etc/my.cn&lt;/i&gt;f for &lt;font size="2"&gt;MySQL server&lt;/font&gt; and &lt;i&gt;/etc/my.cnf&lt;/i&gt; for &lt;font size="2"&gt;MySQL tools (&lt;i&gt;mysqladmin, mysql, mysqldump&lt;/i&gt;)&lt;/font&gt;&lt;/font&gt;&lt;br&gt;&lt;font size="2"&gt;&lt;br&gt;&lt;font face="verdana"&gt;#To disable listening on the 3306/tcp port, the following parameter should be added to the &lt;/font&gt;&lt;i style="font-family:Verdana"&gt;[mysqld]&lt;/i&gt;&lt;font face="verdana"&gt; section of &lt;/font&gt;&lt;i style="font-family:Verdana"&gt;/chroot/mysql/etc/my.cn&lt;/i&gt;&lt;font face="verdana"&gt;f: &lt;/font&gt;&lt;/font&gt;&lt;p class="text" style="font-family:Verdana"&gt;&lt;font size="2"&gt;skip-networking&lt;br&gt;&lt;/font&gt;&lt;/p&gt;&lt;font size="2"&gt;&lt;font face="verdana"&gt;&lt;br&gt;#disable the use of &lt;/font&gt;&lt;i style="font-family:Verdana"&gt;LOAD DATA LOCAL INFILE&lt;/i&gt;&lt;font face="verdana"&gt; command&amp;nbsp; &lt;/font&gt;&lt;/font&gt;&lt;p class="text" style="font-family:Verdana"&gt;&lt;font size="2"&gt; #For &lt;font size="2"&gt;&lt;font face="verdana"&gt;SQL Injection vulnerabilities in PHP applications&lt;/font&gt;&lt;/font&gt;, the following parameter should be added in the &lt;i&gt;[mysqld]&lt;/i&gt; section in &lt;i&gt;/chroot/mysql/etc/my.cnf&lt;/i&gt;: &lt;/font&gt;&lt;/p&gt;&lt;p class="text" style="font-family:Verdana"&gt;&lt;font size="2"&gt;set-variable=local-infile=0&lt;br&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="text" style="font-family:Verdana"&gt;&lt;font size="2"&gt;#in the &lt;i&gt;[client]&lt;/i&gt; section of &lt;i&gt;/etc/my.cnf&lt;/i&gt; &lt;/font&gt;&lt;/p&gt;&lt;p class="text" style="font-family:Verdana"&gt;&lt;font size="2"&gt;socket = /chroot/mysql/tmp/mysql.sock&lt;br&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="text" style="font-family:Verdana"&gt;&lt;/p&gt;&lt;font size="2"&gt;&lt;font face="verdana"&gt;&lt;br&gt;#changing the database administrator&amp;#39;s password&lt;/font&gt;&lt;/font&gt;&lt;p class="text" style="font-family:Verdana"&gt;&lt;font size="2"&gt;chrootuid /chroot/mysql mysql /usr/local/mysql/libexec/mysqld &amp;amp;&lt;br&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="text" style="font-family:Verdana"&gt;&lt;font size="2"&gt; #and change the administrator&amp;#39;s password as follows: &lt;/font&gt;&lt;/p&gt;&lt;p class="text" style="font-family:Verdana"&gt;&lt;font size="2"&gt; /usr/local/mysql/bin/mysql -u root &lt;br&gt; mysql&amp;gt; SET PASSWORD FOR root@localhost=PASSWORD(&amp;#39;new_password&amp;#39;);&lt;/font&gt;&lt;/p&gt;&lt;p class="text" style="font-family:Verdana"&gt;&lt;font size="2"&gt;&lt;br&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="text" style="font-family:Verdana"&gt;&lt;/p&gt;&lt;p style="font-family:verdana"&gt;&lt;font size="2"&gt;#Remove default users/db ,sample database (test) and all accounts except the local root account &lt;/font&gt;&lt;/p&gt;&lt;p class="text" style="font-family:Verdana"&gt;&lt;/p&gt;&lt;font face="verdana" size="2"&gt; mysql&amp;gt; drop database test;&lt;br&gt; mysql&amp;gt; use mysql;&lt;br&gt; mysql&amp;gt; delete from db;&lt;br&gt; mysql&amp;gt; delete from user where not (host=&amp;quot;localhost&amp;quot; and user=&amp;quot;root&amp;quot;);&lt;br&gt; mysql&amp;gt; flush privileges;&lt;br&gt;&lt;/font&gt;&lt;p class="text" style="font-family:Verdana"&gt;&lt;br&gt;&lt;/p&gt;&lt;font size="2"&gt;&lt;font face="verdana"&gt;#change the default name of administrator&amp;#39;s account (&lt;/font&gt;&lt;i style="font-family:Verdana"&gt;root&lt;/i&gt;&lt;font face="verdana"&gt;), to a different one.so it will be difficult to perform brute-force and dictionary attacks on the administrator&amp;#39;s password. &lt;/font&gt;&lt;/font&gt;&lt;p class="text" style="font-family:Verdana"&gt;&lt;font size="2"&gt; mysql&amp;gt; update user set user=&amp;quot;mydbadmin&amp;quot; where user=&amp;quot;root&amp;quot;;&lt;br&gt; mysql&amp;gt; flush privileges;&lt;br&gt;&lt;/font&gt;&lt;/p&gt;&lt;br&gt;&lt;font size="2"&gt;&lt;font face="verdana"&gt; #remove the content of the MySQL history file (&lt;/font&gt;&lt;i style="font-family:Verdana"&gt;~/.mysql_history&lt;/i&gt;&lt;font face="verdana"&gt;)&lt;/font&gt;&lt;/font&gt;&lt;p class="text" style="font-family:Verdana"&gt;&lt;font size="2"&gt;cat /dev/null &amp;gt; ~/.mysql_history&lt;/font&gt;&lt;/p&gt;&lt;p class="text" style="font-family:Verdana"&gt;&lt;br&gt;&lt;/p&gt;&lt;font size="2"&gt;&lt;font face="verdana"&gt;#create all databases and accounts which will be used by specific PHP applications. &lt;br&gt;#should be emphasized that these accounts should have access rights only to the databases which are used by the PHP applications&lt;br&gt;#should not have any access rights to the &lt;/font&gt;&lt;i style="font-family:Verdana"&gt;mysql&lt;/i&gt;&lt;font face="verdana"&gt; database administrative privileges (FILE, GRANT, ALTER, SHOW DATABASE, RELOAD, SHUTDOWN, PROCESS, SUPER)&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;br&gt;&lt;/font&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8251419411096497985-2985308515834365505?l=abhishek-bit.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhishek-bit.blogspot.com/feeds/2985308515834365505/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8251419411096497985&amp;postID=2985308515834365505&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8251419411096497985/posts/default/2985308515834365505'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8251419411096497985/posts/default/2985308515834365505'/><link rel='alternate' type='text/html' href='http://abhishek-bit.blogspot.com/2010/03/sql-hardening.html' title='SQL HARDENING'/><author><name>Abhishek</name><uri>http://www.blogger.com/profile/15235069555858259717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_Oun9BCXmll4/TPihz2D9qkI/AAAAAAAAAMg/fP2whfgbEnQ/S220/DSCN3082.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8251419411096497985.post-9195032285534435019</id><published>2010-02-16T08:14:00.002+05:30</published><updated>2011-01-31T04:57:07.740+05:30</updated><title type='text'>TCP and UDP Client Server Programs In JAVA</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS'; line-height: 12px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;h4 style="float: left; line-height: 16px; margin-bottom: 0.3em; margin-left: 0em; margin-right: 0em; margin-top: 1em; padding-bottom: 0em; padding-left: 0em; padding-right: 0em; padding-top: 0em; text-align: left; width: 545px;"&gt;A Simple Server and Client Examples&lt;/h4&gt;&lt;div style="float: left; font-size: 12px; font-weight: normal; line-height: 18px; margin-bottom: 1em; margin-left: 0em; margin-right: 0em; margin-top: 0em; padding-bottom: 0em; padding-left: 0em; padding-right: 0em; padding-top: 0em; text-align: left; width: 523px;"&gt;A simple client and the server programs are explained for all the types of techniques. A code samples for the connection-oriented, next for the connectionless and then for broadcasting are as follows.&lt;/div&gt;&lt;h4 style="float: left; font-weight: bold; line-height: 16px; margin-bottom: 0.3em; margin-left: 0em; margin-right: 0em; margin-top: 1em; padding-bottom: 0em; padding-left: 0em; padding-right: 0em; padding-top: 0em; text-align: left; width: 545px;"&gt;Connection-oriented Client and Server : ( TCP )&lt;/h4&gt;&lt;div style="float: left; font-size: 12px; font-weight: normal; line-height: 18px; margin-bottom: 1em; margin-left: 0em; margin-right: 0em; margin-top: 0em; padding-bottom: 0em; padding-left: 0em; padding-right: 0em; padding-top: 0em; text-align: left; width: 523px;"&gt;The client sends the message&amp;nbsp;&lt;i&gt;" Hi from client "&lt;/i&gt;&amp;nbsp;and the server response will be&amp;nbsp;&lt;i&gt;" Hello from Server ".&lt;/i&gt;&lt;/div&gt;&lt;h4 style="float: left; font-weight: bold; line-height: 16px; margin-bottom: 0.3em; margin-left: 0em; margin-right: 0em; margin-top: 1em; padding-bottom: 0em; padding-left: 0em; padding-right: 0em; padding-top: 0em; text-align: left; width: 545px;"&gt;Server Program&lt;/h4&gt;&lt;pre style="background-attachment: initial; background-clip: initial; background-color: #f6f6f4; background-image: initial; background-origin: initial; border-bottom-color: rgb(0, 0, 0); border-bottom-style: solid; border-bottom-width: 0px; border-left-color: rgb(0, 0, 0); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(0, 0, 0); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(0, 0, 0); border-top-style: solid; border-top-width: 0px; float: left; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; width: 545px;"&gt;&lt;span class="Apple-style-span" style="color: #20124d;"&gt;import java.net.*;&lt;br /&gt;import java.lang.*;&lt;br /&gt;import java.io.*;&lt;br /&gt;&lt;br /&gt;public class Server{&lt;br /&gt;&lt;br /&gt;//port number should be more than 1024&lt;br /&gt;&lt;br /&gt;public static final int PORT = 1025;&lt;br /&gt;         &lt;br /&gt;public static void main( String args[])&lt;br /&gt;{&lt;/span&gt;&lt;/pre&gt;&lt;pre style="background-attachment: initial; background-clip: initial; background-color: #f6f6f4; background-image: initial; background-origin: initial; border-bottom-color: rgb(0, 0, 0); border-bottom-style: solid; border-bottom-width: 0px; border-left-color: rgb(0, 0, 0); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(0, 0, 0); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(0, 0, 0); border-top-style: solid; border-top-width: 0px; float: left; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; width: 545px;"&gt;&lt;span class="Apple-style-span" style="color: #20124d;"&gt; ServerSocket sersock = null;&lt;br /&gt; Socket sock = null;&lt;br /&gt; System.out.println(" Wait !! ");&lt;br /&gt;&lt;br /&gt; try&lt;br /&gt; {&lt;br /&gt;  //  Initialising the ServerSocket&lt;br /&gt;  sersock =  new ServerSocket(PORT);&lt;br /&gt;                &lt;br /&gt;  // Gives the Server Details Machine name, &lt;br /&gt;  Port number&lt;br /&gt;&lt;br /&gt;  System.out.println("Server Started  :"+sersock);&lt;br /&gt;&lt;br /&gt;  try&lt;br /&gt;  {&lt;br /&gt;                        &lt;br /&gt;   // makes a socket connection to particular &lt;br /&gt;   client after &lt;br /&gt;   // which two way communication take place&lt;br /&gt;&lt;br /&gt;   sock = sersock.accept();&lt;br /&gt;&lt;br /&gt;   System.out.println("Client Connected  :"+ sock);&lt;br /&gt;&lt;br /&gt;   // Receive message from client i.e Request &lt;br /&gt;   from client&lt;br /&gt;&lt;br /&gt;   DataInputStream ins = new                 &lt;br /&gt;   DataInputStream(sock.getInputStream());&lt;br /&gt;   // Send message to the client i.e Response&lt;br /&gt;&lt;br /&gt;   PrintStream ios = new   &lt;br /&gt;   sPrintStream(sock.getOutputStream());&lt;br /&gt;   ios.println("Hello from server");&lt;br /&gt;   ios.close();&lt;br /&gt;&lt;br /&gt;   // Close the Socket connection &lt;br /&gt;        &lt;br /&gt;    sock.close();&lt;br /&gt;&lt;br /&gt;    }&lt;br /&gt; catch(SocketException se)&lt;br /&gt; {&lt;br /&gt;    System.out.println("Server Socket&lt;br /&gt;  problem  "+se.getMessage());&lt;br /&gt;    }&lt;br /&gt; catch(Exception e)&lt;br /&gt; {&lt;br /&gt;    System.out.println("Couldn't start " &lt;br /&gt;                  + e.getMessage()) ;     &lt;br /&gt;    }               &lt;br /&gt;                        &lt;br /&gt; // Usage of some methods in Socket class&lt;br /&gt;&lt;br /&gt;  System.out.println(" Connection from :  " + &lt;br /&gt;  sock.getInetAddress());&lt;br /&gt;                &lt;br /&gt; } // main &lt;br /&gt;        &lt;br /&gt;}  // Server class&lt;br /&gt;&lt;/span&gt; &lt;/pre&gt;&lt;h4 style="float: left; font-weight: bold; line-height: 16px; margin-bottom: 0.3em; margin-left: 0em; margin-right: 0em; margin-top: 1em; padding-bottom: 0em; padding-left: 0em; padding-right: 0em; padding-top: 0em; text-align: left; width: 545px;"&gt;Client Program&lt;/h4&gt;&lt;pre style="background-attachment: initial; background-clip: initial; background-color: #f6f6f4; background-image: initial; background-origin: initial; border-bottom-color: rgb(0, 0, 0); border-bottom-style: solid; border-bottom-width: 0px; border-left-color: rgb(0, 0, 0); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(0, 0, 0); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(0, 0, 0); border-top-style: solid; border-top-width: 0px; float: left; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; width: 545px;"&gt;&lt;span class="Apple-style-span" style="color: #20124d;"&gt;import java.lang.*;&lt;br /&gt;import java.io.*;&lt;br /&gt;import java.net.*;&lt;br /&gt;import java.net.InetAddress;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;class client&lt;br /&gt;{&lt;br /&gt; Public static void main(String args[])&lt;br /&gt; {&lt;br /&gt; Socket sock=null;&lt;br /&gt; DataInputStream dis=null;&lt;br /&gt; PrintStream ps=null;&lt;br /&gt; System.out.println(" Trying to connect");&lt;br /&gt;                                   &lt;br /&gt; try &lt;br /&gt; {&lt;br /&gt; // to get the ip address of the &lt;br /&gt; server by the name&lt;br /&gt;              &lt;br /&gt; InetAddress ip =InetAddress.getByName&lt;br /&gt; ("Hari.calsoftlabs.com");&lt;br /&gt;&lt;br /&gt; // Connecting to the port 1025 declared &lt;br /&gt; in the Serverclass&lt;br /&gt; // Creates a socket with the server&lt;br /&gt;  bind to it.&lt;br /&gt;&lt;br /&gt;  sock= new Socket(ip,Server.PORT);&lt;br /&gt;  ps= new PrintStream(sock.getOutputStream());&lt;br /&gt;  ps.println(" Hi from client");&lt;br /&gt;  DataInputStream is = new &lt;br /&gt;  DataInputStream(sock.getInputStream());&lt;br /&gt;  System.out.println(is.readLine());&lt;br /&gt;&lt;br /&gt; }&lt;br /&gt; 0catch(SocketException e)&lt;br /&gt; {&lt;br /&gt;  System.out.println("SocketException " + e);&lt;br /&gt; }&lt;br /&gt; catch(IOException e)&lt;br /&gt; {&lt;br /&gt;  System.out.println("IOException " + e);&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt;  // Finally closing the socket from &lt;br /&gt;  the client side&lt;br /&gt;&lt;br /&gt; finally&lt;br /&gt; {&lt;br /&gt; try&lt;br /&gt;  {&lt;br /&gt;   sock.close();&lt;br /&gt;  }&lt;br /&gt;  catch(IOException ie)&lt;br /&gt;  {&lt;br /&gt;   System.out.println(" Close Error   :" + &lt;br /&gt;   ie.getMessage());&lt;br /&gt;  }               &lt;br /&gt; }  // finally &lt;br /&gt;                        &lt;br /&gt;} // main &lt;br /&gt;}   // Class Client &lt;br /&gt; &lt;/span&gt;&lt;/pre&gt;&lt;h4 style="float: left; font-weight: bold; line-height: 16px; margin-bottom: 0.3em; margin-left: 0em; margin-right: 0em; margin-top: 1em; padding-bottom: 0em; padding-left: 0em; padding-right: 0em; padding-top: 0em; text-align: left; width: 545px;"&gt;Running the Server and Client&lt;/h4&gt;&lt;div style="float: left; font-size: 12px; font-weight: normal; line-height: 18px; margin-bottom: 1em; margin-left: 0em; margin-right: 0em; margin-top: 0em; padding-bottom: 0em; padding-left: 0em; padding-right: 0em; padding-top: 0em; text-align: left; width: 523px;"&gt;After you've successfully compiled the server and the client programs, you run them. You have to run the server program first. Just use the Java interpreter and specify the Server class name. Once the server has started, you can run the client program. After the client sends a request and receives a response from the server, you should see output similar to this :&lt;/div&gt;&lt;pre style="background-attachment: initial; background-clip: initial; background-color: #f6f6f4; background-image: initial; background-origin: initial; border-bottom-color: rgb(0, 0, 0); border-bottom-style: solid; border-bottom-width: 0px; border-left-color: rgb(0, 0, 0); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(0, 0, 0); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(0, 0, 0); border-top-style: solid; border-top-width: 0px; float: left; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; width: 545px;"&gt;On client side:&lt;br /&gt;   &lt;span class="Apple-style-span" style="color: #20124d;"&gt;Hello from Server&lt;br /&gt;&lt;/span&gt;On Server side:&lt;br /&gt;   &lt;span class="Apple-style-span" style="color: #20124d;"&gt;Hi from client&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;h4 style="float: left; font-weight: bold; line-height: 16px; margin-bottom: 0.3em; margin-left: 0em; margin-right: 0em; margin-top: 1em; padding-bottom: 0em; padding-left: 0em; padding-right: 0em; padding-top: 0em; text-align: left; width: 545px;"&gt;Connectionless Client and Server : (UDP)&lt;/h4&gt;&lt;div style="float: left; font-size: 12px; font-weight: normal; line-height: 18px; margin-bottom: 1em; margin-left: 0em; margin-right: 0em; margin-top: 0em; padding-bottom: 0em; padding-left: 0em; padding-right: 0em; padding-top: 0em; text-align: left; width: 523px;"&gt;A datagram is an independent, self-contained message sent over the network whose arrival, arrival time, and content are not guaranteed.&lt;/div&gt;&lt;div style="float: left; font-size: 12px; font-weight: normal; line-height: 18px; margin-bottom: 1em; margin-left: 0em; margin-right: 0em; margin-top: 0em; padding-bottom: 0em; padding-left: 0em; padding-right: 0em; padding-top: 0em; text-align: left; width: 523px;"&gt;The java.net package contains two classes to help you write Java programs that use datagrams to send and receive packets over the network: DatagramSocket, DatagramPacket, and MulticastSocket An application can send and receive DatagramPackets through a DatagramSocket. In addition, DatagramPackets can be broadcast to multiple recipients all listening to a MulticastSocket.&lt;/div&gt;&lt;div style="float: left; font-size: 12px; font-weight: normal; line-height: 18px; margin-bottom: 1em; margin-left: 0em; margin-right: 0em; margin-top: 0em; padding-bottom: 0em; padding-left: 0em; padding-right: 0em; padding-top: 0em; text-align: left; width: 523px;"&gt;The following source code demonstrates a slightly more complex server that uses datagrams instead of sockets. After a connection is made, It echoes back whatever is sent by the client instead of simply hanging up the connection. It is Called as echo Server.&lt;/div&gt;&lt;h4 style="float: left; font-weight: bold; line-height: 16px; margin-bottom: 0.3em; margin-left: 0em; margin-right: 0em; margin-top: 1em; padding-bottom: 0em; padding-left: 0em; padding-right: 0em; padding-top: 0em; text-align: left; width: 545px;"&gt;Server Program&lt;/h4&gt;&lt;pre style="background-attachment: initial; background-clip: initial; background-color: #f6f6f4; background-image: initial; background-origin: initial; border-bottom-color: rgb(0, 0, 0); border-bottom-style: solid; border-bottom-width: 0px; border-left-color: rgb(0, 0, 0); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(0, 0, 0); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(0, 0, 0); border-top-style: solid; border-top-width: 0px; float: left; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; width: 545px;"&gt;&lt;span class="Apple-style-span" style="color: #20124d;"&gt;import java.net.*;&lt;br /&gt;import java.io.*;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;public class EchoServer&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;//Initialize Port number and Packet Size&lt;br /&gt;  &lt;br /&gt; static final int serverPort = 1026;&lt;br /&gt; static final int packetSize = 1024;&lt;br /&gt;&lt;br /&gt; public static void main(String args[]) &lt;br /&gt; throws SocketException{&lt;br /&gt;&lt;br /&gt; DatagramPacket packet;&lt;br /&gt; DatagramSocket socket;&lt;br /&gt; byte[] data;    // For data to be &lt;br /&gt; Sent in packets&lt;br /&gt; int clientPort;&lt;br /&gt; InetAddress address;&lt;br /&gt; String str;&lt;br /&gt;&lt;br /&gt; socket = new DatagramSocket(serverPort);&lt;br /&gt;&lt;br /&gt; for(;;){&lt;br /&gt; data = new byte[packetSize];&lt;br /&gt;&lt;br /&gt; // Create packets to receive the message&lt;br /&gt;&lt;br /&gt; packet = new DatagramPacket(data,packetSize); &lt;br /&gt; System.out.println("Waiting to receive &lt;br /&gt; the packets");&lt;br /&gt;&lt;br /&gt; try{&lt;br /&gt;&lt;br /&gt; // wait infinetely for arrive of the packet&lt;br /&gt;&lt;br /&gt; socket.receive(packet);&lt;br /&gt;&lt;br /&gt; }catch(IOException ie)&lt;br /&gt; {&lt;br /&gt; System.out.println(" Could not Receive&lt;br /&gt; :"+ie.getMessage());&lt;br /&gt; System.exit(0);&lt;br /&gt; }&lt;br /&gt;  &lt;br /&gt; // get data about client in order to &lt;br /&gt; echo data back&lt;br /&gt;  &lt;br /&gt; address = packet.getAddress();&lt;br /&gt; clientPort = packet.getPort();&lt;br /&gt;  &lt;br /&gt; // print string that was received &lt;br /&gt; on server's console&lt;br /&gt; str = new String(data,0,0,packet.getLength());&lt;br /&gt; System.out.println("Message  :"+ str.trim());&lt;br /&gt; System.out.println("From   :"+address);&lt;br /&gt;  &lt;br /&gt; // echo data back to the client &lt;br /&gt; // Create packets to send to the client&lt;br /&gt;  &lt;br /&gt; packet = new DatagramPacket(data,packetSize,&lt;br /&gt; address,clientPort);&lt;br /&gt;  &lt;br /&gt; try&lt;br /&gt; {&lt;br /&gt; // sends packet   &lt;br /&gt;&lt;br /&gt; socket.send(packet);&lt;br /&gt;&lt;br /&gt; }&lt;br /&gt; catch(IOException ex)&lt;br /&gt; {&lt;br /&gt;  System.out.println("Could not Send &lt;br /&gt;  "+ex.getMessage());&lt;br /&gt;  System.exit(0);&lt;br /&gt;  }&lt;br /&gt;  &lt;br /&gt; } // for loop&lt;br /&gt;&lt;br /&gt; } // main&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;} // class EchoServer&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;h4 style="float: left; font-weight: bold; line-height: 16px; margin-bottom: 0.3em; margin-left: 0em; margin-right: 0em; margin-top: 1em; padding-bottom: 0em; padding-left: 0em; padding-right: 0em; padding-top: 0em; text-align: left; width: 545px;"&gt;&lt;span class="Apple-style-span" style="font-size: x-small;"&gt;Client Program&lt;/span&gt;&lt;/h4&gt;&lt;pre style="background-attachment: initial; background-clip: initial; background-color: #f6f6f4; background-image: initial; background-origin: initial; border-bottom-color: rgb(0, 0, 0); border-bottom-style: solid; border-bottom-width: 0px; border-left-color: rgb(0, 0, 0); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(0, 0, 0); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(0, 0, 0); border-top-style: solid; border-top-width: 0px; float: left; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; width: 545px;"&gt;&lt;span class="Apple-style-span" style="color: #20124d;"&gt;import java.net.*;&lt;br /&gt;import java.io.*;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;public class EchoClient{&lt;br /&gt;   &lt;br /&gt; static final int serverPort = 1026;&lt;br /&gt; static final int packetSize = 1024;&lt;br /&gt;   &lt;br /&gt; public static void main(String args[]) throws&lt;br /&gt; UnknownHostException, SocketException{&lt;br /&gt; DatagramSocket socket; //How we send packets&lt;br /&gt; DatagramPacket packet; //what we send it in&lt;br /&gt; InetAddress address; //Where to send&lt;br /&gt; String messageSend; //Message to be send&lt;br /&gt; String messageReturn; //What we get back &lt;br /&gt; from the Server&lt;br /&gt; byte[] data;&lt;br /&gt;       &lt;br /&gt; //Checks for the arguments that sent to &lt;br /&gt; the java interpreter&lt;br /&gt; // Make sure command line parameters correctr&lt;br /&gt;       &lt;br /&gt; if(args.length != 2)&lt;br /&gt; {&lt;br /&gt; System.out.println("Usage Error :&lt;br /&gt; Java EchoClient &amp;lt; Server name&amp;gt; &amp;lt; Message&amp;gt;");&lt;br /&gt; System.exit(0);&lt;br /&gt; }   &lt;br /&gt;       &lt;br /&gt; // Gets the IP address of the Server&lt;br /&gt; address = InetAddress.getByName(args[0]);&lt;br /&gt; socket = new DatagramSocket();&lt;br /&gt;               &lt;br /&gt; data = new byte[packetSize];&lt;br /&gt; messageSend = new String(args[1]);&lt;br /&gt; messageSend.getBytes&lt;br /&gt; (0,messageSend.length(),data,0);&lt;br /&gt;               &lt;br /&gt; // remember datagrams hold bytes&lt;br /&gt; packet = new&lt;br /&gt; DatagramPacket(data,data.length,address,serverPort);&lt;br /&gt; System.out.println(" Trying to Send the packet ");&lt;br /&gt;               &lt;br /&gt; try&lt;br /&gt; {&lt;br /&gt;  // sends the packet&lt;br /&gt;               &lt;br /&gt;  socket.send(packet);&lt;br /&gt;           &lt;br /&gt;  }&lt;br /&gt;  catch(IOException ie)&lt;br /&gt;  {&lt;br /&gt;  System.out.println("Could not Send :"+ie.getMessage());&lt;br /&gt;  System.exit(0);&lt;br /&gt;  }            &lt;br /&gt;       &lt;br /&gt;  packet is reinitialized to use it for recieving&lt;br /&gt;       &lt;br /&gt;  packet = new DatagramPacket(data,data.length);&lt;br /&gt;               &lt;br /&gt;  try&lt;br /&gt;  {&lt;br /&gt;  // Receives the packet from the server&lt;br /&gt;                   &lt;br /&gt;  socket.receive(packet);   &lt;br /&gt;               &lt;br /&gt;  }&lt;br /&gt;  catch(IOException iee)&lt;br /&gt;  {&lt;br /&gt;  System.out.println("Could not receive :&lt;br /&gt;  "+iee.getMessage() );&lt;br /&gt;  System.exit(0);&lt;br /&gt;  }       &lt;br /&gt;       &lt;br /&gt;  // display message received&lt;br /&gt;       &lt;br /&gt;  messageReturn = new String (packet.getData(),0);&lt;br /&gt;  System.out.println("Message Returned : "+&lt;br /&gt;  messageReturn.trim());&lt;br /&gt;  }    // main&lt;br /&gt;   &lt;br /&gt;   &lt;br /&gt; } // Class EchoClient&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;h4 style="float: left; font-weight: bold; line-height: 16px; margin-bottom: 0.3em; margin-left: 0em; margin-right: 0em; margin-top: 1em; padding-bottom: 0em; padding-left: 0em; padding-right: 0em; padding-top: 0em; text-align: left; width: 545px;"&gt;Running the Server and Client&lt;/h4&gt;&lt;div style="float: left; font-size: 12px; font-weight: normal; line-height: 18px; margin-bottom: 1em; margin-left: 0em; margin-right: 0em; margin-top: 0em; padding-bottom: 0em; padding-left: 0em; padding-right: 0em; padding-top: 0em; text-align: left; width: 523px;"&gt;The client side and the server side networking code looks actually very similar.This is true with many applications that use datagrams because the java.net.DatagramSocket class is used to both send and receive DatagramPackets.&lt;/div&gt;&lt;div style="float: left; font-size: 12px; font-weight: normal; line-height: 18px; margin-bottom: 1em; margin-left: 0em; margin-right: 0em; margin-top: 0em; padding-bottom: 0em; padding-left: 0em; padding-right: 0em; padding-top: 0em; text-align: left; width: 523px;"&gt;Suppose server running on the machine named Hari.calsoftlabs.com, whereas the client running on the xxxx.info.com. As you can see at the end of the example the server is running waiting for the another connection, while the execution of the client has halted.&lt;/div&gt;&lt;div style="float: left; font-size: 12px; font-weight: normal; line-height: 18px; margin-bottom: 1em; margin-left: 0em; margin-right: 0em; margin-top: 0em; padding-bottom: 0em; padding-left: 0em; padding-right: 0em; padding-top: 0em; text-align: left; width: 523px;"&gt;Server Side :&lt;/div&gt;&lt;div style="float: left; font-size: 12px; font-weight: normal; line-height: 18px; margin-bottom: 1em; margin-left: 0em; margin-right: 0em; margin-top: 0em; padding-bottom: 0em; padding-left: 0em; padding-right: 0em; padding-top: 0em; text-align: left; width: 523px;"&gt;To start the server :&lt;/div&gt;&lt;pre style="background-attachment: initial; background-clip: initial; background-color: #f6f6f4; background-image: initial; background-origin: initial; border-bottom-color: rgb(0, 0, 0); border-bottom-style: solid; border-bottom-width: 0px; border-left-color: rgb(0, 0, 0); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(0, 0, 0); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(0, 0, 0); border-top-style: solid; border-top-width: 0px; float: left; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; width: 545px;"&gt;&lt;span class="Apple-style-span" style="color: #20124d;"&gt;Java EchoServer&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div style="float: left; font-size: 12px; font-weight: normal; line-height: 18px; margin-bottom: 1em; margin-left: 0em; margin-right: 0em; margin-top: 0em; padding-bottom: 0em; padding-left: 0em; padding-right: 0em; padding-top: 0em; text-align: left; width: 523px;"&gt;Output:&lt;/div&gt;&lt;pre style="background-attachment: initial; background-clip: initial; background-color: #f6f6f4; background-image: initial; background-origin: initial; border-bottom-color: rgb(0, 0, 0); border-bottom-style: solid; border-bottom-width: 0px; border-left-color: rgb(0, 0, 0); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(0, 0, 0); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(0, 0, 0); border-top-style: solid; border-top-width: 0px; float: left; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; width: 545px;"&gt;&lt;span class="Apple-style-span" style="color: #20124d;"&gt;Message:Hello&lt;br /&gt;From   :xxxx.info.com&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div style="float: left; font-size: 12px; font-weight: normal; line-height: 18px; margin-bottom: 1em; margin-left: 0em; margin-right: 0em; margin-top: 0em; padding-bottom: 0em; padding-left: 0em; padding-right: 0em; padding-top: 0em; text-align: left; width: 523px;"&gt;Client Side :&lt;/div&gt;&lt;pre style="background-attachment: initial; background-clip: initial; background-color: #f6f6f4; background-image: initial; background-origin: initial; border-bottom-color: rgb(0, 0, 0); border-bottom-style: solid; border-bottom-width: 0px; border-left-color: rgb(0, 0, 0); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(0, 0, 0); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(0, 0, 0); border-top-style: solid; border-top-width: 0px; float: left; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; width: 545px;"&gt;&lt;span class="Apple-style-span" style="color: #20124d;"&gt;Java EchoClient abhishek-bit.blogspot.com Hello&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div style="float: left; font-size: 12px; font-weight: normal; line-height: 18px; margin-bottom: 1em; margin-left: 0em; margin-right: 0em; margin-top: 0em; padding-bottom: 0em; padding-left: 0em; padding-right: 0em; padding-top: 0em; text-align: left; width: 523px;"&gt;Output:&lt;/div&gt;&lt;pre style="background-attachment: initial; background-clip: initial; background-color: #f6f6f4; background-image: initial; background-origin: initial; border-bottom-color: rgb(0, 0, 0); border-bottom-style: solid; border-bottom-width: 0px; border-left-color: rgb(0, 0, 0); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(0, 0, 0); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(0, 0, 0); border-top-style: solid; border-top-width: 0px; float: left; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; width: 545px;"&gt;&lt;span class="Apple-style-span" style="color: #20124d;"&gt;Message Returned : Hello&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8251419411096497985-9195032285534435019?l=abhishek-bit.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhishek-bit.blogspot.com/feeds/9195032285534435019/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8251419411096497985&amp;postID=9195032285534435019&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8251419411096497985/posts/default/9195032285534435019'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8251419411096497985/posts/default/9195032285534435019'/><link rel='alternate' type='text/html' href='http://abhishek-bit.blogspot.com/2010/02/program-to-implement-multi-chat-client.html' title='TCP and UDP Client Server Programs In JAVA'/><author><name>Abhishek</name><uri>http://www.blogger.com/profile/15235069555858259717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_Oun9BCXmll4/TPihz2D9qkI/AAAAAAAAAMg/fP2whfgbEnQ/S220/DSCN3082.JPG'/></author><thr:total>0</thr:total></entry></feed>
