Showing posts with label Fedora. Show all posts
Showing posts with label Fedora. Show all posts

March 13, 2013

Set up a High-Quality Development Box for Under $1000 (Part 2)

Being a college student, money is always short. I'm going to walk you through setting up a high-quality development box with Fedora 18. If you don't mind getting super-involved, you could use Arch Linux, however Fedora is really easy to set up and will get you up and running quickly! This is part 2, which covers the installation of Fedora. Part 1, which is about choosing hardware can be found here.

***NOTE*** For this installation, I'm assuming that you have a wired connection.

First: Acquire the installation media
The link to Fedora's installation .iso can be found here. Choose the .iso that looks nicest to you. I'm choosing GNOME for this tutorial.

***NOTE*** For Reference:
GNOME looks a little bit like OSX in terms of layout, while KDE is laid out more like Windows.
Don't let this influence your decision too much though!
Although I am more experienced with Windows than OSX, I tend to prefer GNOME to KDE.


Second: Burn .iso to USB or CD
I'm using the LinuxLive USB Creator to burn the .iso to USB, however this is for Windows only.

Instructions for Linux and Mac can be found here.

Third: Boot the installation media
While your computer is off, insert your USB drive into a USB port. Press the power button, and look for a prompt at the bottom of your screen saying Hit [Some Key] for boot options, or something similar. Common keys are F2, F9, F11, F12, Delete, or Escape. If you're having trouble finding which key it is, google "[your computer model] boot option key" or something to that affect (Or it is effect...? I can never remember...). And select your USB drive.

Fourth: Base install
Once the media has booted, you are presented with a login screen. Just select Live System User (it should be the only option). Once logged in, if you want to play around with Fedora for a little before committing, click on "Try Fedora". Otherwise, choose "Install to Hard Drive".

First you are asked for the language you would like to use during the install, choose whichever language suits you (the default is English (US)). Click continue.
Under storage, click on "Installation Destination" and configure your hard disk. I suggest sticking with automatic partitioning, but you may have to make some changes if dual-booting or choosing to have a separate data partition. When returned to the screen that reads "Localization" and "Storage," click on Begin Installation.
On this screen, all you need to do is set a root password by clicking on the key icon and entering a password twice and clicking done.

***NOTE*** This should be a secure password! It allows root access to your system and can be used to do naughty things by naughty people (get your mind out of the gutter)!

...now we wait for Fedora to finish installing.

Once done, reboot and remove the installation media. When the system comes back up, you are greeted with a welcome screen. Just follow the prompts and choose the default options and you'll be fine!

Fifth: Do a system upgrade.
To perform a system upgrade, we will use yum, Fedora's package manager. Run

sudo yum upgrade

to upgrade all of your packages. It will take a long time, but is highly suggested (This isn't strictly necessary, but it keeps you up-to-date.).

***NOTE*** This step is not necessary for everyone!
Next, we will get wireless working with a Broadcom wireless card. To find out if you have a wireless card, do

lspci -nn | grep 14e4 (14e4 is Broadcom's vendor ID)

If nothing comes up, you can skip to installing development tools! Otherwise, add the rpmfusion repository following the instructions here. Add both free and nonfree.

Then, install broadcom-wl like so

sudo yum install broadcom-wl

...and reboot when done. On reboot, wireless should come up.

Install any development tools you need (Java, Python 2.x or 3.x). You know your needs best, but common tools are an IDE (I suggest Eclipse if you don't have an IDE in mind), and a good text editor like Sublime.

To install Eclipse, do

sudo yum install eclipse

By default, Python 2 is already installed on your system (Version 2.7.3), however you can install Python 3.3.0 simply by running

sudo yum install python3

to run a Python 2 module, run

python [path to module].py

... likewise, to run a Python 3 module, do

python3 [path to module.py]

Congratulations on your new development environment! If there's anything I missed or you want me to cover, please put it in the comments and I'll add it in!

March 11, 2013

Set up a High-Quality Development Box for Under $1000 (Part 1)

Being a college student, money is always short. I'm going to walk you through setting up a high-quality development box with Fedora 18.
***NOTE*** This will be a 2-part tutorial, with the first part about choosing the hardware and the second part about installing Fedora.

Picking your hardware:
Computer hardware is an extremely hard choice to make - doubly so when looking for a machine to run Linux, because nobody offers linux as a default OS option. (Okay, Dell does. Kind of. But I'll cover that later.)

Time to look at specs:
Processor: Anything from an Intel Core 2 Duo to an Intel Core i5 (or if you feel like overkill, go for an i7), you could also go for the ever ambiguous AMD Dual-Core or an AMD Athalon II. I would stay away from the AMD A-Series (for now) though. Although the A series is great for Windows systems, from what I've read there are still issues with Linux systems.

GPU/Graphics:
Unless you're doing something crazy or gaming, integrated graphics will do just fine. In fact, it may be preferable because the Intel integrated graphics are well supported for Linux, whilst NVidia is more or less unsupported. In fact, NVidia was called out by Linus Torvalds for being spectacularly bad about open-source drivers. AMD does have open-source drivers available, but I really don't know anything about them.

RAM:
A decent dev machine should have at least 4GiB of RAM, but feel free to go with anything up to 8GiB. I also suggest getting DDR3 (which is the current standard - chances are that anything you choose will be DDR3).

From there, hard drive space, screen size and cd/dvd drive is up to you. In terms of the original OS, I suggest staying away from Windows 8. Windows 8 introduced something called Secure Boot, which is akin to a locked bootloader and makes it harder to install Linux.

For reference: My Current Linux Machine (Currently runs Arch)

My current machine tackles anything I need to do without thinking about it, although it is a bit old.

In terms of brand, it's really up to you. I tend to avoid Dell because I've had nothing but bad experiences with their hardware. I favor HP and Lenovo.

The cheapest option ($270): The HP 6910p
My suggestion ($501): The Lenovo ThinkPad Edge
The over-the-top option: The Samsung NP700Z7

These are by no means the only machines you can use (Linux will run on just about everything), so feel free to look around on your own!