User:Ggeller
From Wsms
ggeller
I am George Geller, the founder of this wiki. I took Joe McGerald's WSMS class in 2006-07. lamp-quickstart-howto
Class Project Ideas
RemoteViewer, RemoteViewerProject a variant of VNC for classroom use.
RemoteBackup
WebPolisher
PAM Extra
TODO
Set up mckinley as a replacement for grant running Fedora Core 6. This should fix the problem with FancyIndexing at http://wsmw.wikiplanet.com/books/ and the included directories.
Set up phpgedcomview php for Grandpa.
Experiment with VPN.
Check out virtual labs at msdn.microsoft.com
read network programming intro at http://beej.us/guide/bgnet/output/htmlsingle/bgnet.html
Redo http://209.129.16.203/students/georgeg/downloads/default.htm so that the links point to the files on the windows system.
LINKS
Educational (and other software)
http://www.simteach.com - Second Life for education
http://www.simteach.com/SLCC06/slcc2006-proceedings.pdf or
http://secondlife.com/businesseducation/education/slcc2006-proceedings.pdf contains cool stuff including:
- Putting a Second Life “Metaverse” skin on Learning Management Systems
- Building an Interactive Science Museum in Second Life
VNC and friends
RemoteViewerProject
RegisterServers
MISC
http://209.129.16.203/students/georgeg/downloads/
ForSale
PAM
http://inconnu.isu.edu/~ink/perl_cgi/
ElevatorSpeech
http://www-128.ibm.com/developerworks/linux/library/l-linuxboot/?ca=dgr-lnxw07LinuxBoot
http://www.kernel-panic.org/pipermail/kplug-list/2007-February/090022.html
http://www.informit.com/articles/printerfriendly.asp?p=29744&rl=1 Set up a command prompt for each windows folder.
http://www.pauldotcom.com/ A site about security.
GeorgesGoodieDisk
http://saftey.live.com Microsoft's virus scanner
http://s3sync.net/wiki s3sync web service
http://perltraining.com.au/notes/perldbi.pdf
Onomatopoeia
A place to host projects http://assembla.com/ Assembla
EZHomeServer
Universal name servers
208.67.222.222
208.67.220.220
How to
set emacs key bindings in gnome and firefox
see: http://kb.mozillazine.org/Emacs_Keybindings_(Firefox)
[root@localhost ~]# yum install gconf-editor
run "gconf-editor", and directly change the key /desktop/gnome/interface/gtk_key_theme from "Default" to "Emacs". Then if you restart Firefox, all is good in the world again.
get info about emacs
$ info emacs
tell emacs to use the cperl mode for all .pl files
Add this to your ~/.emacs file:
(setq auto-mode-alist (cons '("\\.pl\\'" . cperl-mode) auto-mode-alist))
tell emacs to use the cperl mode for a single file
In emacs, type Esc-x cperl-mode
do a regular expression search and replace
Alt-x, the query-replace-regex
An example of a regex that would be a ./ at the beginning of a line like you will get if you do
[ggeller@arthur burn]$ find . -name "*" -print > find.out
would be ^\./
Escape the fullscreen mode in vncviewer
Hit the F8 key. See http://www.realvnc.com/products/free/3.3.7/man/vncviewer.html
How to do CGI on the class server
Use rdesktop
rdesktop is the Linux client for Microsoft rdp. It uses port 3389 on the MS hosts. A command line to open a session might look like this:
[ggeller@ws05 ~]$ rdesktop -g 800x600 -u George -p P@ssw0rd 192.168.2.95
Another useful option is -f for fullscreen.
Backup MBR and Volume Boot Records
See: http://www.owlriver.com/tips/pxe-install/sysdesign-mbr-discussion.txt
To save the MBR to a file (this contains the partition table too):
dd if=/dev/hda of=hda-mbr-full bs=512 count=1
To save the MBR, without the partition table, to a file:
dd if=/dev/hda of=hda-mbr-nopart bs=446 count=1
To save a boot sector (e.g. partition 3) to a file:
dd if=/dev/hda3 of=hda3-bootsect bs=512 count=1
Computers
Compaq Deskpro EN
Windows 2000 COA.
Given to me by Fred, February 2007.
Pentium III 866 Mhz
256 MB RAM
CD-RW, salvaged from hayes
10G HD, salvaged from another computer. It looks like Damn Small Linux may be installed on hda1.
Boots Knoppix 4.0.2 CD. Sound works. Networking works.
Passes Memtest
It has a lot of fan noise.
Gateway
Windows 98 Second Edition COA
Given to me by Fred, March 3, 2007
Athlon 850 MHz
DVD and CD-RW
60G HD
Salvaged network card
Boots Knoppix 4.0.2 CD in the DVD drive.
Puppy 2.13
Boots Puppy 2.13 CD in the DVD drive.
Audio works.
Does not play DVDs in upper drive.
It gives read errors in /var/log/messages.
CDs didn't work in the DVD Drive either.
CDs do work in the CD Drive.
Computer races
Cleveland, the server I rent from vpslink.com only takes 14 seconds to run aide --check. Arthur, my Athlon 64 3500 takes 558 seconds. That's a ratio of 42! Arthur does have more files, but still.
Linux Graphics Programs
http://www.kernel-panic.org/wiki/GimpProgNotes
http://www.kernel-panic.org/wiki/LinuxGraphicsApps
http://www.kernel-panic.org/wiki/GraphicsViewerNotes
http://www.kernel-panic.org/wiki/ImagemagickProgNotes
http://www.kernel-panic.org/wiki/XvProgNotes
Also google favicon gimp howto tutorial
Ideas for class projects
I want server software that facilitates learning at temporal and spacial distances. Remote viewer. See http://www.linuxjournal.com/node/5499/print and http://gnomejournal.org/article/29/remote-desktop-administration-using-vino and http://fedoranews.org/contributors/rick_stout/freenx/ and http://www.linuxjournal.com/node/4840/print
Remote backup and rescue aka DON'T PANIC. Run from a bootable Linux CD. Maybe store an image of the Windows partition on a Linux partition locally. Maybe sell backup services usable with broadband internet connection? Some French guys already made progress on something that looks like this and posted a Virtual Machine on VMWare.com. It is called Linbox Rescue. See http://lrs.linbox.org/pub/lrs/demo/vmware/README.txt
Read to me gutenburg.
Easy classroom server.
Q+A
Q. How do you get a directory listing in perl?
A. see: http://vergil.chemistry.gatech.edu/resources/programming/perl-tutorial/filedir.html Basically you use glob or something like </home/*>
Q. In perl, how to you get the basename of a full path. That is, convert something like /home/georgeg to georgeg.
A. Use's perl basename function.
SERVER-05
puppy
apt-get and yum command equivalents
Linux versions derived from Redhat, including Fedora use rpm, the Redhat Package Manage and, usually, yum, the Yellow Dow Updater, Modified. Linux versions derived form Debian, incluing Ubuntu and Knoppix use apt-get and dpkg. Here are some command equivalent with the two systems.
rpm -ivh <rpm-file-name> # Install a package
rpm -ql <package-name> # list file installed from <package> on your system
dpkg -L <package-name>
using gnucash
gnucash is a financial program for Linux.
http://www.gnucash.org/ the gnucash home page.
http://www.linuxjournal.com/node/4567/print a somewhat dated article about gnucash.
http://www.linuxjournal.com/node/5669/print another dated article that compares gnucash with three other opensource money-management programs.
http://www.linuxjournal.com/node/6543/print shows how to use gnucash and other Linux based applications to run a small business.
Book Reviews
MySQL Tutorial
MySQL_by_Paul_DuBois
Internet Phone Services Simplified
CGI Programming with Perl, 2nd Edition
Network Programming with Perl by Lincoln D. Stein
Windows Vista Administrator's Pocket Consultant
LPI Linux Certification in a Nutshell, Second Edition
Misc
http://freshmeat.net/projects/cpuid/
http://freshmeat.net/projects/phplanparty/
Windows Applications
Tip: To create a copy in Windows crtl-left-click and drag the icon of whatever you want to copy to the location where you want to the new copy.
PowerShell
Linux Commands, Applicaions and add-ons
http://adblock.mozdev.org/ adblock plugin for firefox.
emacs text editor
cpio a backup utility
GIMP a graphics editor
Flasm is a command-line utility for working with swf files.
Mondoarchive is a bare metal backup and restore solution.
Windows internals
Windows bootstrap and volume boot record
Windows configuration
Windows/Printer/SharingHowto share a Printer in Windows XP.
Windows Network Trouble-Shooting Guide
Major Topics
Screen resolutions
These are the available resolutions for the Dell/Ubuntu laptop:
XGA 1024×768
WXGA+ 1440×900
SXGA 1280×1024 pixels
SXGA+ 1400×1050 pixels
WSXGA 1680×1050
1080P 1920x1080
http://en.wikipedia.org/wiki/Image:Video_Standards.svg is pretty informative
ess ess.math.ethz.ch
patterson - a page to practice editing
