Monday, July 11, 2011

How to Install Linux


Many Windows users never install an operating system. Typically, Windows is already installed on the system the average user buys. In addition, upgrading to a newer version of Windows can also require that you also upgrade your hardware, including your RAM, hard drive, and possibly even the CPU.

Yet, installing Linux can be almost preternaturally simple, especially when compared to wrestling with a Windows upgrade on an old system.
Choose A PC For Linux

Before you install Linux, you must choose a PC to install the distribution on. Depending on your inventory of PCs and your financial situation, you have several options, including:

Recycle an older PC. If Windows 98 can run on that old machine, chances are a modern, graphical Linux distort will, too.


Install Linux alongside Windows to create a dual-boot system. If you only have one PC, Linux coexists nicely with Windows, as long as you have enough space on your hard drive to create your Linux partitions (a portion of the hard drive that functions as a separate entity). In this dual-boot configuration, you choose at boot-up if you want to boot into Windows or into Linux.

Prepare The System

Before you install a Linux distribution, there are numerous things you'll want to do first, including the following:
  • Back up your data. This is just a good habit to get into, but it's especially important to do before you undertake a major project, such as this one.
  • Record your network configuration information. This will come in handy when configuring your Linux system. You'll want to record such data as the host name, IP address (Internet Protocol address; the address of a computer that's operating on a TCP/IP [Transmission Configuration Protocol]/IP protocol network. An example IP address is 119.183.115.11), gateway router, and DNS (domain name server; a central machine that other machines in the same domain are linked to) servers, unless your system auto-configures with DHCP (dynamic host configuration protocol; a method of automatically assigning an IP address to the systems connected to a network). You should be able to get some or all of this information from your Windows Control Panel or from your ISP's technical support.
  • Check the cables. Make sure that the system's power, monitor, mouse, keyboard, network, and printer cables are properly connected.
  • Gather up the manuals. Have the instruction manuals for your monitor, graphics card, and other hardware available if possible. This isn't mandatory, but having them handy may provide you information you might need during the installation. For example, you may need to know your monitor or video card specifications if your installer fails to recognize your hardware. If the manuals aren't available, many hardware vendors post documentation on their Web sites.
  • Make sure your PC can boot from a CD. You may need to enter the BIOS (Basic Input/Output System; software built into the system that controls certain routines and functions of the computer) menu when the system powers up. Watch the screen for the key combination to enter the BIOS configuration menu. This is typically something simple, such as pressing DELETE, F10, or ESC. You can then explore the menus for the option that enables booting from your CD drive.
Start the Installation


The following are typical steps for installing a Linux distro. For this article, we'll install SUSE LINUX 9.1.
  1. Turn on your PC, and insert the distribution's first installation CD or DVD, depending on the distribution, into the CD/DVD-ROM drive. You'll see a boot menu, as shown in Figure 1, with various options, depending on what's already installed on your system. Choose the option to install Linux on the system.
  2. When the installation CD boots, you have about 10 to 20 seconds to select the Installation option before the default option, Boot from Hard Disk, is automatically selected. This prevents "accidental" installations, especially in the event the installation CD is left in the PC after an installation has already been done.
  3. The opening installation screen lets you choose a language for the installation, after which the installer probes your system for information about what hardware is installed and what hard drive partitions exist. SUSE 9.1 displays defaults it calculates for your system and lets you choose to accept those defaults (click OK) or modify those selections to customize your installation.
Installation Choices

The defaults that the SUSE installation provides will usually work, so you could click Accept to start copying software to your hard drive. However, for the best results you'll want to modify at least some of the installation options. The following are ones to consider:
  1. System. This will display system data about the CPU, drives, network, video and sound cards, and other peripherals. You can view or write the data to a file.
  2. Installation mode. When an OS is already installed on a system, this option will let you do a new installation over an existing Linux OS, update or repair an existing Linux installation, or boot the PC from the existing OS.
  3. Keyboard layout. If you want to fine-tune the keyboard defaults, choose this option and use the Expert Settings option at the bottom of the keyboard setup screen. This lets you disable the CAPS LOCK key, turn the CAPS LOCK/NUM LOCK keys on or off at boot-up, and more.
  4. Mouse. The installer will probably detect and configure your mouse properly, but you may want to choose your mouse with this option and test it to make sure.
  5. Partitioning. This option lets you determine how your hard drive space is allocated and used (more on this option later).
  6. Software. The option lets you determine which software you want to install (more on this later).
  7. Booting. This lets you determine how your system will boot, with such options available as booting to Windows or another OS when the system starts up.
  8. Time zone. This option lets you select the appropriate time zone for your situation. The default is Pacific Time.
  9. Language. The default language for this distribution is English, American, but you can change it to a language that's appropriate for your situation.
  10. Default run level. Run level specifies how Linux will operate. Options include running the system as a single- or multi user machine, as a networked machine, and using a GUI (graphical user interface) Windows manager or not. The default is 5, which sets the system to run as a networked multiuser system with a graphical login.

Partitioning

Partitioning a hard drive is like dividing up a large drawer with dividers; instead of having one big space, you have two or more smaller spaces within that same area. Figure 3 shows an example of what a partition table looks like. Linux requires at least two partitions. A swap partition, which is double the amount in size of the system's RAM, is used for overflow (such as when programs that are running under Linux require more space for data storage than is available from RAM), and a root partition, which is used to store system files.

The SUSE installer will detect the amount of available drive space and make a Best Guess partition table. This creates a swap partition and allocates any unallocated drive space into a single Linux partition. Existing partitions, such as those used for Windows, are left alone as long as there is enough for Linux.

If your entire hard drive is already partitioned for Windows, don't worry; the installer can automatically resize existing partitions to make room for Linux, as shown in Figure 4. The default partition scheme is usually just fine, but we prefer to keep our partitions between 10 and 20GB and save the rest of the hard drive for future expansion.

To modify the default partition scheme, click the Partition link. You'll see a list of proposed partitions with three choices: accept the partition table as is, modify the proposed partition table, or create a custom partition table from scratch. Proceed carefully and follow the directions listed to the left of the partitioning window. This is where it pays to back up your data beforehand and/or have a spare hard drive because partitioning has the potential to permanently erase data from your drive.

Choose Software

With hundreds of applications and utilities to choose from, selecting software packages becomes an important part of any Linux installation. To make things simple, or in cases where your hard drive space is limited, choose the default system, which includes KDE, the K Desktop Environment , a program that provides the GUI environment under which you can start and use applications.

You can also select software by a group. For example, you could choose Multimedia, GNOME, or Office applications to get all the software packages in those categories rather than the subset of packages installed by default. In addition, you could choose packages from the Package Groups option for a more fine-grained selection process. Click Productivity and you'll see a list of hundreds of packages. Clicking Office will give you a short list of office applications. Clicking Spreadsheets gives you a short list of spreadsheets, as shown in Figure 5. You can also search for a package by name.

With your first installation, you may not care about choosing packages. It's probable you won't recognize or know what most of them do. Eventually, however, you will want to review the packages or search for ones you've heard about. Most open-source software is easy to download and install.
Configure

Once your installation options are set, click Continue and the installer starts copying your selections to your drive. SUSE 9.1 includes five CDs, though you may only use two or three, depending on what software you've chosen to install. With the DVD installation, there's no switching between discs. This step may take an hour or more, as you're installing the Linux OS plus applications. After software from the first CD is copied, the system will reboot. You'll have to swap out that first CD and put in the next one, but the system will prompt you to do the right thing.

After the software is copied, the installer will proceed to the system-configuration steps, which include the following:
  1. Enter a root password. You'll enter a root password here twice. Don't forget what it is, either. Write it down if necessary. If you forget your root password you may have to reinstall your system from scratch to make any changes to it. You can change the password later, but only if you remember it.
  2. Configure the network. The installer will most likely figure out what your network configuration is. You can edit this, however. For example, you may choose another option than the default of a DHCP configuration.
  3. Test the Internet connection. At this point check the option to test your Internet connection. The installer will then initialize your Internet connection, connect to the SUSE server, and check if there are any updates or patches available for the SUSE version you've just installed. If there are, you can choose to download and install them now (your best bet) or later.
  4. Determine a user authentication method. Is your system a standalone PC or is it connected to a network? If it's a standalone, check Stand-Alone Machine. If you're installing Linux on a network client PC, you may want to touch base with your network administrator. This is relevant only if you're using network authentication for your PC on a LAN (local-area network).
  5. Add a new local user. You have to add at least one user to the configuration, which will likely be yourself. Don't log in as root, however. Instead, enter your name, username, and a password twice. If you're the main user, check the option To Receive System Mail. You can do many clever and useful things here in terms of user management if you need to.
  6. Read the release notes. Skim the release notes for the particular distribution you're using if you like, but otherwise you're almost finished.
  7. Configure the hardware. If you like, you can modify configurations for a graphics or sound card, monitor, printer, and more. You can also simply accept the defaults, which should work fine.
  8. The installation is now complete. Go ahead and reboot the system, but don't forget to remove the last install CD.
Enjoy Your Linux System

You'll find the GUI of your new system familiar, though you may be surprised by the number and variety of available programs. Set aside some time to explore the Start menu items, as well as to experiment with configuring your desktop and application launch panel. Before you know it, you'll wonder how you managed with Windows.



Helpful Links
 =============================================
 =============================================


“Related Topics”

==================================================

What do You Need with a Wireless Router?

Why Does My Router lose My Laptop?

How to Extend a Wireless Repeater

How to Extend a Laptop’s Wireless Pickup Distance?

My Wireless Adapter keeps Disabling

Why Do I keep Losing My Connection on a Wireless Adapter?

How to Determine the Location of a Wireless Client

How to Network two Computers Via Wireless Router

What Kind of Wireless Router Do I need for Desktop Computers?

How to Make Windows XP Download Files Faster

How to Reconfigure Windows XP to Download Faster

How to Delete Your Browser’s History

How to Increase Download Speed

How to Choose a Laptop or Notebook Computer

How to Calculate Laptop Depreciation

How long should a Laptop Last?

How to Preserve Notebook Battery Life

How Long should Laptop Computer Batteries Last

How to Recover Laptop Battery Life

How to Increase a Laptop Battery’s Life Span

How to Set up a Belkin Wireless G MIMO Router

Why Do I Need a Router & Adapter for Wireless

How to Connect a Desktop Computer to a Wireless System

How to Connect a Desktop to Wireless Internet

How to Connect a PC Via Wireless to the Internet

How to Convert Desktop to Accept Wireless Internet

How to Get Wireless Internet for Desktop PC

How to Boost the Download Speed for Windows XP

How to Clean Notebook Battery Contacts

How to Clean Print Cartridge Contacts

How to Clean Electronic PC Board Contacts

How to Keep My PC Clean

How to Take Care your Computer

How to Remove Potting Material from a PC Board

How to Clean a Circuits Board

How to Clean PC Boards

Computer Crime

Computer Crime Cases

Types of Computer Crimes

History of Computer

What is a Computer

Where to Buy Cheapest Modem

Where to Buy Cheapest Internet Connection

Where to Find Internet Signal

How to Install Internet in Desktop

What is the Best Brand of Keyboard

What is the Best Brand of Mouse

What is the Best Brand of Laptop

How to Install Cable Internet

How to Install Network Interface Card in Desktop Computer

What is Computer Hardware

Which is Better Wireless or Wired Internet

Wide Area Network Software

WAN Versus LAN

How to Network Computer in Home

How to Install Internet in Desktop

Where to Find Internet Signal

How to Install Wireless Internet on a Desktop

How to Surf the Web on Your TV

Which is Better Yahoo Messenger or MSN Messenger

What is the Best Brand of RJ-45

How to Surf the Internet Using Cellphone

What Do I need to Connect Wireless Internet?

How to Install Microsoft Office

How to Install Microsoft Word

How to Install Windows 95

How to Install Windows Vista

How to Uninstall Windows XP

Which is Better Laptop or Desktop

Best Laptop Brand

How to Surf the Internet Using Broadband

How to Install Internet in Laptop

What is the Best Brand of Modem

Wide Area Network Installation

How to Remove Undeleted Files

How to use RJ-45

How to Surf the Internet Worldwide

How to Uninstall Internet Explorer

How to Install Anti-Virus

How to Install Internet Explorer

How to Surf the Internet

How to Install Windows XP

How to Select Best Computers

The Best Brand of Computer

How to Install Firefox

Which is Good Operating System

How To Install Windows ME

How to Reformat Hard disk

How to Install Windows 98

How to Install Linux

How to Format a Computer


==================================================



No comments:

Post a Comment