Skip to content

Instantly share code, notes, and snippets.

@GreenRecycleBin
Created August 12, 2011 17:43
Show Gist options
  • Save GreenRecycleBin/1142544 to your computer and use it in GitHub Desktop.
Save GreenRecycleBin/1142544 to your computer and use it in GitHub Desktop.
Firefox (debug version) compilation guide
Guide to prepare your development environment for CP3108B - Mozilla Project
1. IRC setup
+ IRC is our main communication channel. It's very much similar to chatrooms in other IMs. The easiest way to start is using Mibbit (chat.mibbit.com) - an IRC web client.
- Click on "Server"
- Type in "irc.mozilla.org:+6697"
- Pick a nickname
- Type in "#nus" in "Channel" field
- Connect
+ You can come back later and create an account to save your settings. There are also other native IRC clients. For Windows user, try Pidgin. For Mac user, Adium is your friend.
2. Ubuntu installation
+ Mac user: Mac is Unix, which is similar in many ways to Ubuntu (Linux). So you don't have to install Ubuntu. However, you will need to install Homebrew. We'll get back to that later.
+ Windows user: Wubi is Ubuntu's official installer for Windows. It allows you to download Ubuntu and run it alongside your current Windows system. http://www.ubuntu.com/download/ubuntu/windows-installer.
+ If you are willing to install Ubuntu on its own partition, try one of the approaches below: (seek help on IRC before attempting this, if you don't completely understand what you're into)
- You will need to download the corresponding .iso file. If your processor supports 32-bit only, try this: http://download.nus.edu.sg/mirror/ubuntu-iso/CDs-Ubuntu/natty/ubuntu-11.04-desktop-i386.iso. If your processor supports 64-bit, try this: http://download.nus.edu.sg/mirror/ubuntu-iso/CDs-Ubuntu/natty/ubuntu-11.04-desktop-amd64.iso. If you're not sure, try the first link.
- Download UNNetbootin at http://unetbootin.sourceforge.net/.
- Format your (at least 1GB) USB as FAT32.
- Run UNetbootin. Choose the disk image radio button. Point to your download .iso file. Select the correct USB drive. Press OK, wait for everything to finish.
- Restart. Configure your computer to boot from USB (I trust that you guys all have a reasonably new computer that allows booting from USB. If not, try burn the .iso to a CD instead). Choose "Install Ubuntu".
- If you are willing to dedicate your whole hard drive to Ubuntu, choose the whole disk gudied partition at the partition step. If not, resize your other partitions, create a new partition for Ubuntu. You will also need a swap partition (if you want the hibernation feature), recommended to be at least as equal or twice as much as your computer's RAM size.
3. Known issues with Wubi
- "Permission denied" error: Download the correct 'desktop' .iso file and put it into the same folder as Wubi. Disconnect to force Wubi to use the local .iso file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment