Monday, July 6, 2009

Tree RPM FIND

Getting the tree command to work on the Live CDs. You will need to download the rpm for tree command since you are using a 32 bit version of linux for your live CDs then you need to download a i386-i686.

Downloading RPMS: rpmfind.net
http://www.rpmfind.net/

download tree and save it to your thumb drive. Then you can double click the rpm to install it to the system. Now you will have access to the tree command.

Monday, April 13, 2009

Creating Shell Scripts

When you are creating a shell script you can use a file to do all of the commands you would do at the terminal prompt. $

At the top of the file you need to put where to execute the script language. We are using bash for the class.

#!/bin/bash

# lets you do comments that are not read by the shell.
# no put all of the commands you want to run on the lines below.
# for instance
mkdir dogs
cd dogs
touch rover
touch fido
touch spot


After you are done writing your shell script save the file with the extension .sh
now you can run your shell script at the terminal prompt.

[root@local]$ sh yourshellscriptname.sh

Monday, April 6, 2009

Friday, March 20, 2009

Linux

Linux Lessons and Command Line starts on page 1090 in your book. Read through page 1121 in your book. The do labs 1-16 this quarter. 3 Labs a night is required. Linux Project Labs start on page 1126 and go to page 1148 in your book.

Booting Linux from a Live CD:
You can boot Linux from a Live CD or DVD. You must first have the CD\DVD in the drive before the boot loader comes up. If you do not have CD/DVD drive set first in the boot loader before the hard drive then your Live CD/DVD will be ignored. You can hit F10 or F12 depending on the computer to bring up the boot loader. Still on some other computers this may be F6 or yet another hotkey. From the boot menu with your Live CD/DVD in the drive select CD/DVD from the menu to run the Linux Live CD/DVD. Now select the option to run the Live CD/DVD without installing to the hard drive.

Thursday, January 22, 2009

Linux Operating Systems

Linux Distros:
Ubuntu
If you have an extra hard drive that you can put in your computer than this is a great distro of linux to learn on for the desktop. It is super easy to use and update.

Mandriva
Mandriva One for the linux that runs off of the CD that I am using in class.

Burning OS Images to a Disk on Windows for Free:
ImgBurn

Cheap Linux Distrobutions

If you can not get your linux disk to boot from your computer when it is in the CD/DVD drive after you have restarted the computer then you will need to go into your BIOS and setup the boot sequence to where the CD/DVD drive is before the hard drive in the boot sequence order.

1. CD/DVD
2. Hard Drive

Then save your BIOS configuration and exit the BIOS setup screen. Then restart your computer and your computer will boot off of the CD/DVD that has linux on it.

Good Books

Linux+ Certification Study Guide

NIS and NFS

Apache

Sendmail

Postfix

Firewalls

Samba

Ubuntu Server

Ubuntu Hacking

Overall Good Linux Administration Book


You might have to find a new Firewalls book as that one may be out of print. Its a really good firewalls book and most of the books on this subject are pretty weak. I have never read the Ubuntu books I just saw them and thought they looked pretty good. I have all of the other books including the firewalls book. These are my recommended books and I suggest you get the Linux+ Study Guide book and then take that certification and pass it.