Running PHP etc on your PC or laptop
It is possible to install a webserver with PHP, Mysql, (and Perl) on your PC/laptop.
There are packages available, which are very easy to install and run (just
a single file to download).
This page provides an overview of such packages. One example is
WAMP. Because I don't use PCs,
I have not tested any of these packages and cannot guarantee that they will be
save to use.
If you happen to own a Linux or Mac OS X computer, you don't need to install
anything because these tools should be preinstalled. You just need to start
Some hints for working in a SSH window
Editor: jpico (or pico or vi or nano).
Use the arrow keys to repeat a previous command.
Use the tab key to complete a filename.
If the arrow keys or the tab key do not work, type
"setenv TERM vt100" or "setenv TERM xterm".
(You would have to do this once during every session.)
In Pico, you can use Ctrl-K to delete/cut a line and Ctrl-U to
get it back (paste). You can cut/uncut several adjacent lines in one go.
Connecting from a home computer to a remote webserver
A secure shell (SSH) client is needed. On Linux and Mac OS X, such a client
is usually preinstalled (type "ssh" at the command-line). For PCs there are several
clients freely available for download, such as
note that using and installing PuTTY on your home computer is at your own risk.
Please, further note that
encryption software such as PuTTY may be illegal is some countries (but PuTTY
seems to be legally ok in the UK at the moment).
Some general Unix commands
|Change to mydirectory||cd mydirectory
|Create newdirectory||mkdir newdirectory
|Remove (delete) olddir||rmdir olddir
|Move (rename) olddir to newdir||mv -i olddir newdir
|Show name of current dir.||pwd
|Allow others to read and execute files
in current directory|| chmod go+rx .
|List files in current dir.||ls
|List all (incl. hidden)files, with details||ls -la
|Show contents of myfile|| more myfile
|Move (rename) oldfile to newfile||mv -i oldfile newfile
|Copy origfile to
duplicatefile||cp -i origfile duplicatefile
|Remove (delete) oldfile|| rm -i oldfile
|Allow others to
read/change sharedfile||chmod go+rw sharedfile
|Show the first few lines of largefile|| head largefile
|Show the last few lines of largefile||tail largefile
|Edit a text file||pico or emacs or vi or nano
|Find commands related to keyword||man -k keyword
|Read manual for command|| man command
|Find true name of cmd||which cmd
|Show environment variables||printenv
|Change environvariable||setenv environvariable value