|
Logging on to
info300.net
and making your home page, index.html.
Accessibility is the keyword for max points this semester.
LAMP environment basics:
Linux commands;
Plain
HTML;
Linux Admin Commands;
64-bit Bliss
Debugging:
Tail the logs if you're denied the joy of seeing your
website arranged as envisioned, or even if it _appears_ OK since it
may throw 'hidden errors'. Open another SSH session and
keep it visible as you debug. This command will show your
error messages from apache as it tries to serve up your htm, where
flname is replaced by your loginid at ebus202.info:
tail -f /var/log/httpd/error_log | grep flname
Tail gives the last several lines recently added
to a file. Minus-f says follow the log so newly added lines
show up real-time. When you're ready to stop following the
tail of the file, used ctrl-c to return to the command line.
Grep says only show lines that have your flname in them, which is
especially important since some students' work throws 100's or
errors, especially when time is short for deadlines. You might
like to investigate alias commands and/or bash scripting to make
this into a one-syllable incantation instead of the dozens in the
above command.
|