Configuring SSH on Ubuntu 8.10

How to, Linux, OpenSource, Resources, Tips and Tricks, Tutorials, Ubuntu
The first issue that I had after installing Ubuntu 8.10 was that I could not connect to SSH on it because SSH server is not installed on Ubuntu 8.10 and it never asked me if I wanted to make a selection of what software packages I need to have installed. I guess thats why they are making a less then 25 min install promise. Here's how you can enable / configure / install SSH on your Ubuntu 8.10 Open a terminal window by selecting the Applications menu and selecting Terminal from the Accessories menu. In the terminal window enter the following command and press enter to execute it [code lang="plain"]sudo apt-get install openssh-server[/code] It will automatically download and install the SSH serve and configure it to run on port 22…
Read More

Ubuntu 8.10, Perfect Linux distro for PHP development

Linux, OpenSource, Resources, Reviews, Thoughts, Ubuntu
I recently felt the urge to have a development testing environment on Linux (LAMP). I tried CentOS first since it is one of the leading industry standard Linux server. I was disappointed to see that CentOS does not have a 5.2.x series of PHP that I could install via "yum" (am not a very advance user so does not wanted to build it by typing long queries in SSH just to find out that I left some core thing in the first place). I did a bit of research and found out that Ubuntu could be a better choice. Luckily I had the latest version of Ubuntu already shipped via Postal Mail (aka Snail Mail) and this time the CDs DID get through the customs. For those new to Ubuntu,…
Read More

CakePHP – link / include JavaScript files in layouts

JavaScript Libraries, OpenSource, PHP, Resources, Tips and Tricks, Tutorials
Create (or modify the) file [code lang="plain"]app/app_controller.php[/code] add this code [php] class AppController extends Controller { var $helpers = array('Html', 'Form', 'Javascript'); } [/php] CakePHP 1.2 allows you to define a reference to a Javascript file which is then added to the head section of the generated code. For this purpose the variable $scripts_for_layout has to be added to the layout: [php] <head> < ?php echo $scripts_for_layout; ?> </head> [/php] In the view you can now link to the Javascript file with: [php] $javascript->link('script.js', false); // OR you can simply use $javascript->link('script.js'); [/php]
Read More

Git cheat sheet

Flickr
Just saw that Zack Rusin has posted a Git cheat sheet on his blog. This came in really handy since I am moving from SVN to Git. I am sure, some of you will like/love it too :) Download Instructions and More information at Author's Blog here.
Read More

Fashion Your Firefox

News, Resources, Reviews, Tips and Tricks, Tutorials
As the website says: You spend more time online than on the road, but you probably think more about avoiding traffic than enjoying the best of the Web. So, why not customize your Firefox for the things you really love to do? Take your browser from simple to spectacular. Firefox add-ons are little extras that allow you to add a personal touch to your browser. Select your favorites from the categories below to accessorize your Web! So why not Fashion Your Firefox? Note: Image copyright, Mozilla and their respective owners
Read More

Nice Article: Mobile Phone Buyers Guide

Resources, Reviews, Tutorials
Found a really great article Mobile Phone Buyers Guide - Things to Consider for Buying a Phone, it says Buying a mobile phone is not an easy task. Sometimes you make mistakes that you regret later on, as you try to get a mobile phone but fail to judge if it’s worth buying. By the way, just buying what is popular is not always a good idea. I have made this guide for you guys, so you can consider these things and buy the best phone in market. This will surely help you to buy a mobile that you will never regret later on. Read the full story here
Read More