Felitaur Enterprises Linux System
Administration |
Felitaur Enterprises Homepage
Instructions for Installing CentOS 6
using vmware and a USB drive (10-12Gb or larger)
Download free VMware player
- First make sure your USB HD is showing up under "My Computer", and if not, you may have to initialize/partition/format it.
(And if it is a NTFS formatted drive, hopefully you remembered to give "All" permissions to "Everyone" in windows.
- Download and unzip the Updated VMWare Image for CentOS (RHEL with 12Gb)
- Put your DVD into drive.
- Start the vmware player
- click "open" and guide it to the .vmx file on your USB HD (probably e:)
- You may have to click "Take ownership"
- A colored menu screen shows up, just make sure the top choice is selected and hit [enter]
(NOTE: You have to click inside the VMware window and then hit enter)
- Test CD Install Media (Skip this by [tab]ing to skip and hit enter)
- Welcome to CentOS
Just click on [next]
- Language selection
Just click on [next]
- Keyboard Selection
Just click on [next]
- What type of storage devices? Leave it on "Basic Storage Devices" and hit [enter]
- Just click "yes to discard existing data"
- Please Name the computer, make sure to click the [configure network] button and follow instructions in class,
Mainly
- Choose System Eth0 and click [edit]
- check the "[] Connect Automatically" box
- Choose the "wired" tab and delete the "Device MAC address" field"
- Set the root password (try NOT to forget this)
- What type of installation would you like?
check "Create Custom Layout" and click [next]
- Please Select a device
This screen should list your virtual drive as /dev/sda with just "Free 10000" or something similar below.
- Choose "sda" under hard drives, click on [create] and leave "standard partition" checked and just click on that [create] button.
- On the new menu that pops up, set Mount point to "/home" (there is a pull down menu to use)
- Filesystem Type: Leave at "ext4"
- Size (MB) 1500Mb (minimum, can give it more if you want)
- Leave at "Fixed Size"
- Hit ok.
- Choose "sda" again under hard drives, click on [create] and leave "standard partition" checked and just click on that [create] button.
- On the new menu that pops up, leave the "Mount point" blank
- Filesystem Type: Change to "Swap"
- Size (MB) 3-400Mb
- Leave at "Fixed Size"
- Hit ok.
- Choose "sda" again under hard drives, click on [create] and leave "standard partition" checked and just click on that [create] button.
- On the new menu that pops up, set Mount point to "/" (there is a pull down menu to use)
- Filesystem Type: Leave at "ext4"
- Check "Fill to Maximum Allowable Size"
- Hit ok.
- If all is well, click [next], agree to format, then again click on "write changes to disk"
- The Grub Boot loader will be installed [next]
- It now asks you for the Type of Install you want
We will choose "Basic Server" and click Customize Now!!!!! at the bottom, and
then click "next".
Default Installation of CentOS
DO NOT UNCHECK ANYTHING unless I tell you to!
- NOTE: There are three things to consider:
The Category you are presently altering in the LEFT window
The Package Group you are altering in the RIGHT window
and the "Optional Packages Button" at the bottom
So pay attention.
- Base System (check the following Boxes)
- Servers (Check the following Boxes)
- Email Server
- FTP Server
- Print Server
- System Administration tools (Packages: conman, mc, rdist, tree, vlock)
- Web Services (Check the following Boxes)
- PHP Support (Packages php-mysql)
- Web Server
- Databases (check the following boxes)
- MySQL Database Client
- MySQL Database Server (for 226AL/276DA choose both "optional" packages
- System Management (skip past this)
- Virtualization (Skip past this)
- Desktops (check the following boxes)
- Desktop
- General Purpose Desktop (Package: vim-X11, Optional packages: gnome-games)
- Graphical Administration Tools
- KDE Desktop
- XWindow System
- Applications (Check the following boxes)
- Graphics Creation tools (add inkscape, xfig)
- Internet Browser
- We are skipping office suite and productivity, this is not an oversight
- Development (check the following boxes)
- Skip the rest and click [next]
- Unresolved Dependencies- IF this shows, Just click [next]
- About to Install
Just Click [Next] and lean back and relax, expect about 25-50 minutes depending on your drive
- When done with the install
- Remove the Install DVD
- Click "Reboot"
- Hit (enter) when the "boot:" prompt shows
- Cross your fingers ;)
- It will now boot up into a configuration screen
- I'm not sure about the order of this, so watch ;)
- Welcome Screen [Forward]
- License Agreement (yes) [Forward]
- Create User (a general user account, you will almost always log into this FIRST)
- Date and time (Check Synchronize date and time over the netwokr) [Forward]
- Error about Kdump, ignore
- When done, it will take you to a login screen, click on the name of the user you created
and when prompted, the "password" to log in.
- Network does not appear to be configured by default FIX THIS
- Fire up Firefox by clicking on the firefox logo (next to
the word "System" in the upper left of the screen)
- Type in http://www.felitaur.com/linuxsa/ and bookmark it ;)
- Click on the "Applications" menu bar in the upper left
- Slide down to "System Tools" and over to "Terminal"
- Right click on "terminal" and select "Add application to task
bar"
- Now click on the terminal button in the upper task bar
- Type "su" [enter] and then type the root password [enter]
- edit /etc/inittab and change the runlevel from 5 to 3
- updatedb [enter] and go to another window or mozilla while
this runs, it's necessary for locate to work. Not sure about locate, try
man locate ;)
- To shutdown, as root in a terminal window, type "shutdown -h now", in the future,
log out of the desktop BEFORE you type the shutdown command.
Shutting Down for the Day
- Once you have set the runlevel to "3" and you have rebooted, you will do the following each day:
- Click "Actions" in the upper left corner of the screen
- Click on "logout" and say "Yes"
- After Xwindows shuts down, type su [enter] at the prompt, and your
root password
- At the prompt type "/sbin/shutdown -h now"
- Then shut down VMware (sometimes takes a minute)
- Left Click on the USB icon and click "stop usb device"
- Remove your Drive from the USB
Felitaur Enterprises Linux System
Administration |
Felitaur Enterprises Homepage