I enjoy using the powerful NetBeans IDE for all my PHP web development work, and believe it or not, installing it in Ubuntu is actually pretty simple to achieve.
First, download the necessary .sh install file from http://netbeans.org/downloads/. Ensure the platform is set to Linux (x86/x64) and click on the link of the associated PHP installer download (31 MB).
Once the download has completed, run the following command to initiate the install:
sudo bash ~/Downloads/netbeans-6.9.1-ml-php-linux.sh
Follow the onscreen instructions and Bob’s you uncle. That easy to get a fantastic PHP IDE setup on your Ubuntu machine in just about no time at all! :)
Note: You’ll find the program shortcut under the Programming menu entry under your main system’s Applications menu.
(Ubuntu 10.10 Maverick Meerkat)
Assuming your Apache webserver, MySQL and PHP are all already installed and up and running, open a new terminal, enter:
sudo apt-get install phpmyadmin
Follow the onscreen prompts and the installation should be complete in no time at all.
The next step is crucial if you installed the phpmyadmin to its default folder in Ubuntu – which unfortunately is not the same as the web folder! One way to fix this is to simply create a symlink like so:
sudo ln -s /usr/share/phpmyadmin/ /var/www/phpmyadmin
This basically corrects the server into serving up the phpmyadmin pages when hitting the default URL http://localhost/phpmyadmin.
And that’s that, simple as pie!
(Ubuntu 10.10 Maverick Meerkat)
Just like its commercial big brother, Windows, Ubuntu sometimes manages to miss deleting certain keys or associated data when you uninstall programs or packages. Needless to say, this affects your GConf Database which could in turn become unstable and might even go so far as causing some problems further down the line.
So how to remedy this and perhaps improve performance all in one go?
Well GConf Cleaner is a handy little tool that scans your GConf Database and removes keys not associated with any schema. First off, you will need to install GConf Cleaner via the Ubuntu Software Center. Once installed, you’ll locate the launcher icon under the System Tools menu option on the system menu bar.
From there, follow the on-screen instructions, make a back up of the registry when prompted and watch GConf Cleaner work its magic.
If you are a web developer, then installing the Apache, MySQL and PHP stack is of paramount importance, something that becomes apparent when you look around and see how many customised LAMP and WAMP installers there are out and about at the moment.
Ubuntu comes with its own tool to make installing these three as simple as a snap of the fingers, this time in the form of its uber useful Tasksel tool, which itself is actually in integral part of the Debian installer. Basically Tasksel groups software packages by tasks and offers an easy way to install all packages needed for that particular task. In other words, basically it does the same as a conventional meta-package.
Unfortunately, since 10.04 Tasksel has been dropped from the default Ubuntu install, meaning that if you want to make use of it, you’ll first need to install it with the following command:
sudo apt-get install tasksel
Once installed, you can run the application like so:
From there it is a matter of scrolling through the menu to locate the LAMP server option, press space to select it (an asterisk will appear next to the menu option) and then a final click on OK to begin the installation process. Answer the prompts accordingly and once done, you should have a nice and shiny new installation of Apache, MySQL and PHP at your fingertips, verified by the standard “It Works!” message returned when hitting http://localhost
So the latest codename for next year’s first planned Ubuntu release has been revealed as being Natty Narwhal, not perhaps the most awe-inspiring of codenames but one I guess which will work.
Still, I kind of like the fact that the next one coming up is nicknamed “Maverick Meerkat” – just the word Meerkat makes me feel all proudly South African for some strange reason.
Anyway, the point of this quickfire post is to explain the version numbering which Canonical employs for its Ubuntu releases.
As we all know by now, Ubuntu is released on a time-based six-month release cycle. So that’s two versions a year, which typically arrive in April and October respectively.
The codename for each new release is based on an advancing alphabetically ordered sequence, and consists of an animal name preceded by an adjective that starts with the same letter. This then explains why we’ve had things like Intrepid Ibis, Jaunty Jackalope, Karmic Koala and Lucid Lynx, and getting things like Maverick Meerkat and Natty Narwhal. An entertaining system for sure, but one which will have to be adjusted once they hit Z I’m sure! :)
The actual version number is based on the year and approximate month of the planned release date. Hence Ubuntu 10.04 refers to the April 2010 release.
And that’s pretty much that. Sure, sometimes they go and throw on little extra like LTS after the version number, but all that this means is that the OS release qualifies for Long Term Support, which basic means Canonical will support it for at least three years.
Simple, and if you didn’t before, now you know! ;)