Tuesday 27 January 2009

A Few Things To Do Post-installation

Okay so if you followed the last guide you should now have a fresh installation of Ubuntu 8.10 Intrepid Ibex (or 8.04 Hardy Heron LTS – this guide will work for both).

Before you go about using your new OS there's a few things that should be done;
  • Install important security updates
  • Install support for restricted codecs (to enable support for playback of DVD and MP3 etc), Java and Flash
  • Make a list of your hardware (you never know when you'll need it)
  • Install an archive manager (better support for .zip .7z .rar files etc)

Installing Important Security Updates

This one should be done first – preferably immediately after installation. Linux is a far more secure OS than Windows et al but only if you're a responsible user – this means staying on top of security updates. Whenever Ubuntu detects available system and program updates, you will see a little red downwards-pointing arrow on the taskbar in the top-right hand corner of your desktop (see below image). All you need to do is single-click on this arrow. This will bring up the update manager. The list of updates will be rather large after a fresh install and, depending on your connection speed, may take a long time to download. Simply click on the Install Updates button and enter your password when prompted (this is the password you used to log in). The update manager will do the rest. You may need to restart your system after the updates – but you will be prompted to do this.


Installing Support For Restricted Codecs, Java and Flash Etc


By default Ubuntu doesn't ship with native support for playback of proprietary formats such as DVD Video, MP3, WAV, DivX etc etc. Neither does it support Java or Flash. This is due to licensing issues – in some countries it may be illegal to freely distribute these Codecs/Programs. However, Ubuntu makes it easy to install support for these.

There are two ways you can go about it – the graphical way (long-winded!), or the Command Line way (easy!). Here's how to do it the easy way;

Open a Terminal by going to Applications > Accessories > Terminal and simply copy and paste the following code;


sudo wget http://www.medibuntu.org/sources.list.d/intrepid.list -O /etc/apt/sources.list.d/medibuntu.list && wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add - && sudo apt-get update && sudo apt-get install -y ubuntu-restricted-extras non-free-codecs w32codecs totem-mozilla libdvdcss2


Enter your password when prompted and Ubuntu will start to pull in support for all the restricted Codecs and Java and Flash etc. Depending on your computer's specs and connection speed this may take a long time but you'll only have to do it the once. About half way through you'll be presented with a a rather ugly looking EULA (End User License Agreement) screen. Just use the Tab key to highlight [OK] and hit the Enter key and installation will continue. Once complete you will have support for all your favourite formats :)

Make A List of Your Hardware

This step is not essential and many of you could get by just fine without it. However, it only takes a moment and may come in handy if you ever need to provide a spec sheet for your computer, or if you're just curious about what's inside your box.

Open up a Terminal and type (or copy and paste) the following;


sudo lshw -html > pcspecs.html


This will create a nice little HTML document with details of all your installed hardware and deposit it in your /home folder.

For those who'd prefer a graphical application to show them their system specs, a little program called Sysinfo is available from the Ubuntu repositories. To get it type the following into a Terminal;


sudo apt-get install sysinfo


Once installed you'll find it under Applications > System Tools.

Install An Archive Manager (to provide support for compressed files such as .zip .7z .rar etc)

Open up a Terminal (you should be getting good at this bit by now!!) and type the following;


sudo apt-get install p7zip-full


That's it! You should have the basic necessities now. Go start enjoying the benefits only an Open Source OS such as Ubuntu can bring :)

Next we'll be looking at adding some eye candy to your Ubuntu experience with tutorials on basic and advanced desktop effects. Keep checking back as they should be up within the next few days.

Saturday 24 January 2009

Installing Ubuntu Linux

To install Ubuntu Linux on your system you'll first need to get it. Go over to the Ubuntu Download Page and download the .iso image. I'll be using the latest version of Ubuntu for this tutorial – 8.10 (Intrepid Ibex) but the steps for installing 8.04 (Hardy Heron) LTS are the same.

You'll need to burn the .iso to a disk as an image file - not as a data disk. How you do this will depend on what burning software you are using. However, you should be looking for an option along the lines of burn image to disk or burn file to disk as image or similar.

Once you have your shiny new Ubuntu disk ready you'll need to set your computer's BIOS (Basic Input/Output System) to boot from CD-ROM. Once again how you do this will depend on what BIOS you have. Usually you can enter your BIOS by hitting either the F2 or DEL key when you first power up your computer. Different BIOS manufacturers may use different keys. If you're unsure of how to access your BIOS have a look here. Once in the BIOS set your computer to boot from CD-ROM, save and exit the BIOS and pop your Ubuntu CD into your CD-ROM drive.

Your computer will begin to read the disk and after a short amount of time you should see the following screen (you may be asked to choose your language first);


Use the arrow keys and the Enter key to make your selection. We're going to select the first option: Try Ubuntu without any change to your computer. Ubuntu will now boot from the CD and after some time you will be presented with the default Gnome Desktop (see image below). Please note that Ubuntu may appear to be a bit slow and unresponsive – this is because it is running directly off the CD – the CD-ROM's data throughput is a bottleneck to performance. After installation to the Hard Drive it will run much, much faster.


Have a play round on the Ubuntu desktop and make sure everything works properly and that your hardware has been detected and set up properly. If you like Ubuntu and want to 'take the plunge' then read on.

Double-click the Install icon on the desktop and answer the questions about your location and keyboard layout. You will then be presented with the Partition Manager (see below image). If, like me, you are installing to a blank Hard Drive, you'll want to select the Guided – use entire disk option. This will set up the necessary partitions and allocate the whole drive to Ubuntu.


If you already have another Operating System installed (e.g. Windows) then the Ubuntu installer will detect this and you will have an extra option: Guided – resize partition #1 (sda) and use freed space. Select this option and the Ubuntu installer will resize your existing Windows partition to make space for Ubuntu (NOTE:.this is a non-destructive process and you will still be able to use Windows and access your data afterwards... however there is always a very small risk that something will go wrong, so make and test a backup of your important data before you install Ubuntu... just in case!).

After you're done partitioning you will be asked to enter a username and password. This will be what you use to log in and to perform administrative tasks (such as adding and removing software) so make sure your password is memorable but strong. Once you're done with that the installer will ask you to review your options and confirm you wish to install Ubuntu to disk. Use the Back button if you want to make any changes and when you're done click Install. Sit back and wait while Ubuntu installs itself. It will typically take around 20-30 minutes on a modern machine. Once it's done you will be presented with the following screen;


Click Restart now and when prompted remove the CD from the drive. Close the drive, hit the Enter key and et voilĂ  – your computer will restart. If you installed alongside another OS you will be presented with a menu to choose which OS you want to boot into. If not your computer should boot straight to the Ubuntu login screen. Log in with the username and password you specified during installation and start using your brand new OS.

I'll be upping another tutorial within the next few days that details what to do post-installation and the basics of installing extra software.

Have fun!

Wednesday 21 January 2009

Welcome

Welcome to Save The Girhogs - your source for Linux DIY.

Over time I will be adding tips and tutorials covering everything from the basics of getting up and running with a Linux based OS to customising your desktop, installing programs from source code, streaming media to your Xbox 360 and PS3, managing your MP3 player and even *gasp* writing your own code.

I'll be basing my tutorials on Ubuntu Linux. This is simply because Ubuntu is currently the most popular Linux distribution, and therefore this blog will be of help to the largest amount of people. It shouldn't be hard to port the instructions over to any Debian based distribution however, and I'll provide notes on any differences or potential problems where possible.

The first tutorial should be up within the next week, and they will be coming thick and fast after that. So set those bookmarks and tell your friends!!