http:\/\/www.ubuntu.com\/download\/help\/create-a-usb-stick-on-windows<\/a>
\n<\/code><\/p>\n…I used the ‘Ubuntu 12.04 LTS – Desktop’ version. To boot from the USB, you need to have set the boot order in the BIOS so that it checks the USB drive before the Solid State Drive or the Hard Disc. Providing you set the BIOS to check the USB drive first, the system will boot up using the Ubuntu containined on the Ubuntu USB installer. Booting up from the pen-drive frees up access to the other discs (i.e. the SSD and HD) that you are going to install Ubuntu onto.<\/p>\n
Make sure you have an internet connection (either wired or WiFi) and make any network proxy settings that you need in the ‘Network’ section of the ‘System Settings’ (i.e. the big spanner icon on the left of the Ubuntu desktop). The Ubuntu installation does not require an internet connection, but if available it will use it to make any updates at the end of the installation process.<\/p>\n
3. Start the GParted application (i.e. the Gnome Partition Editor) to set up the drive partitions<\/p>\n
The next step was a bit tricky, you basically need to re-partition the Solid State Drive and Hard Disc so that they can take Ubuntu. I used the GParted application that comes with the Ubuntu installer. To start this I just clicked on the ‘Dash Home’ button on the Ubuntu desktop (top-left) and then typed ‘gpar’, the system then finds matching files as you type. To open the GParted application just double click on it when it appears in the Dash Home area. <\/p>\n
I then created a new partition table (using the default MS-DOS format) on both drives (\/dev\/sda is the 30GB SSD and \/dev\/sdb is the 500GB HD). Creating new partition tables effectively deletes the content of drives (in my case Windows 7 Home). After that I added the following partitions to each drive using GParted…<\/p>\n
sda
\n2048 MiB (primary partition EXT4 - for \/boot)
\n20480 MiB (primary partition EXT4 - for \/)<\/p>\nsdb
\n2048 MiB (primary partition EXT4 - for swap)
\n51200 MiB (primary partition EXT4 - for \/tmp)
\n204800 MiB (primary partition EXT4 - for \/home)
\n<\/code><\/p>\n
4. Install Ubunutu by clicking on the big ‘Install Ubuntu’ button on the desktop<\/p>\n
Double clicking on the ‘Install Ubuntu’ desktop shortcut will start the installation process. The installer should recognise both drives and list them along with the unallocated space on both drives. You now need to go in and set the mount point for each partition (right click on each partition get a list of options). The previous partitioning stage will give each partition a number so they should be easy to identify. <\/p>\n
I used the following mount points…<\/p>\n
sda1 (2GB) = \/boot
\nsda2 (20GB) = \/<\/p>\nsdb1 (2GB) = swap
\nsdb2 (50GB) = \/tmp
\nsdb3 (200GB) = \/home
\n<\/code><\/p>\n
Note: You also need to change the file format of the swap partition (i.e. sdb1) from EXT4 to swap.<\/p>\n
The purpose of this partition scheme is to put any areas that get written to frequently onto the hard drive. This is to prolong the lifespan of the SSD by avoiding frequent re-writes. Once your happy with the partitions then hit the install button and the USB installer should do the rest.<\/p>\n
5. Update the system to make sure everything is up to date<\/p>\n
After intalling Ubuntu, restart the laptop and remove the USB pen-drive containing the Ubuntu installer (otherwise you’ll boot the Ubuntu on the USB installer). Your newly installed Ubuntu should now start and it will probably ask you to sign in using the username and password you created during the installation process. <\/p>\n
Once started you can then check for any further system updates. In a terminal window (press ctrl+alt+t to open a terminal window) use the apt-get command to update and then upgrade the Ubuntu system (this is necessary if you have a slightly dated USB installer)…<\/p>\n
sudo apt-get update
\nsudo apt-get upgrade
\n<\/code><\/p>\n6. Install the web server software<\/p>\n
The specifics of the web server installation may change with future versions of the software, but I followed the directions on this site and everything worked as directed…<\/p>\n
http:\/\/www.howtoforge.com\/installing-apache2-with-php5-and-mysql-support-on-ubuntu-12.04-lts-lamp<\/a>
\n<\/code>\n<\/ol>\nThat’s it – I now have a laptop using the Ubunutu Linux operating system that automtically starts Apache and MySQL. So, all I need to do to start the server is switch on the laptop (big power button – top left above the keyboard) and sign in (using my username and password).<\/p>\n","protected":false},"excerpt":{"rendered":"
Today I set up a Lenovo U310 laptop with Ubuntu and installed the web server software (i.e. Apache, PHP5 and MySQL). The process was not too painful and so far the standard Ubuntu 12.04 LTS Desktop installation seems to be running really well on the laptop. Here’s the process I followed… 1. Switch the Lenovo […]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[2],"_links":{"self":[{"href":"http:\/\/weblab.open.ac.uk\/blog\/wp-json\/wp\/v2\/posts\/152"}],"collection":[{"href":"http:\/\/weblab.open.ac.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/weblab.open.ac.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/weblab.open.ac.uk\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/weblab.open.ac.uk\/blog\/wp-json\/wp\/v2\/comments?post=152"}],"version-history":[{"count":20,"href":"http:\/\/weblab.open.ac.uk\/blog\/wp-json\/wp\/v2\/posts\/152\/revisions"}],"predecessor-version":[{"id":173,"href":"http:\/\/weblab.open.ac.uk\/blog\/wp-json\/wp\/v2\/posts\/152\/revisions\/173"}],"wp:attachment":[{"href":"http:\/\/weblab.open.ac.uk\/blog\/wp-json\/wp\/v2\/media?parent=152"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/weblab.open.ac.uk\/blog\/wp-json\/wp\/v2\/categories?post=152"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/weblab.open.ac.uk\/blog\/wp-json\/wp\/v2\/tags?post=152"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}