2/3/2011
Created index.html for system admin log using vi.

2/4/2011
Set up mailing list- create .mailrc file, format: mail listname emailaddre

2/16/2011
Added a disk and mounted it. I used vmware's disk utilities to add a disk to my Fedore vm.
Creating a partition, made a file system, and mounted to device to a mount point-
Fdisk is used to create a paritition of the disk (fdisk /dev/sdb). I made 1 partition (sdb1)
mkfs -t ext3 /dev/sdb1
mkdir /data
mount -t ext3 /dev/sdb1 /data

2/16/2011 vim /etc/fstab - edit to add new disk mount # dd if=/dev/zero of=swapfile bs=1024 count=65536 mkswap /home/swapfile swapon /home/swapfile swapoff /home/swapfile

mkswap /dev/sdb2 - make swap

Installed sqlite manager ( a firefox add-on). Gui based db program. Created table (login, fname, lname). Made comma deliminated file with class list. and used import feature to import data to table.

Midtern Notes - 3/6/11 - 2 Files sytems - ext 3 and swap:
cfdisk
mkfs.ext3 /dev/sdb1
create a folder for mount point.
mkdir /mnt/data
mkswap /dev/sdb2 in mount-midterm1 mount -t ext3 /dev/sdb1 /mnt/data
swapon /dev/sdb2 in umount-midterm1 umount /dev/sdb1 swapoff /dev/sdb2 chmod a+x umount_midterm1 chomod a+x mount_midterm1 install kde (basic destop / kdm):
apt-get install kde-core kdm

install lamp:
apt-get install apache2 php5 libapache2-mod-php5
reboot
apt-get install mysql-server mysql-client php5-mysql
mysql config file is /etc/mysql/my.conf
and apache confi file is /etc/apache2/apache2.conf
and apache config file is /etc/apache2/apacche2.conf

Install ssh type apt-get install ssh

3/24/11 - MYIP Script- Create file MYIP in /bin. enter ifconfig -a | head -2 | tail -l |cut -":" - f2 | cut -d" " -f1 iChange permissions to execute: chmod u+x /bin/MYIP Edit .bash_profile add PATH = $HOME/BIN MYIP = $HOME/bin/MYIP

Final Notes I wrote some scripts to copy freeshell webste to csrh1, and then to sync the csrh1 website to the vm:
Script to transfer files from freeshell to csrh1:
sftphtml:
sftp ejam@freeshell.org:html/* ~/public_html

Script to rsync csrh1iwebsite to vm /home/stu1/bin/webrsync: rsync -arvx -e ssh jam@csrh1.yosemite.edu /var/www Also made a script tr show us last 20 lines of dmesg output and and set up a crontab to display to web
dmesg20 in /hom/stu1/bin/dmesg20:
dmesg | tail -20
Crontab:
*/15 * * * * /home/stu1/dmesg20 1>/var/www/dmesg20.log 2>/vwar/www/dmesg20.err

Configure includes in wamp / apache: change: Options Indexes FollowSymLinks to: Options Includes Indexes FollowSymLInks Uncomment: AddType text/html .shtml AddOutputFiler INCLUDES .shtml