Installing the required software on your own computer

Note: You are allowed to use your laptop for the coursework demonstration. You don't need all of the tools below for the coursework. Some are just for the exercises in the practicals.

I have not tested all of the software below. In particular I have NOT tested it on PCs. Thus I cannot guarantee that the software will run smoothly and will be save to use. Please, use your usual precautions when installing software. Let me know if anything were to go wrong badly.

Using your i-drive/DCS

  • You can edit the files on the I:-drive using Notepad or WordPad because the I:-drive provides access to the same files as the telnet window. If you do not have an I:-drive, you need to map it: Go to All Programs -> School of Computing -> Unix -> Map Unix drives.
  • You can save your files to a floppy or to another drive via the I:-drive.

    Some hints for working in the SSH window

  • Editor: jpico or pico or jmacs or vi.
  • Arrow keys etc: Use the arrow keys to repeat a previous command. Use the tab key to complete a filename.
  • In jpico/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

    A secure shell (SSH) client is needed. On Linux and Mac OS X, such a client is usually pre-installed (type "ssh" at the command-line). For PCs there are several clients freely available for download, such as
    PuTTY or a GUI ftp client such as WinSCP. Please, 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 in some countries (but PuTTY seems to be legally ok in the UK at the moment). The address for the server is socweb8.napier.ac.uk.

    Current URLs/host

  • Student server: http://www.student.soc.napier.ac.uk
  • ssh: telnet.dcs.napier.ac.uk or socweb8.napier.ac.uk (may change to ssh.soc.napier.ac.uk in the future)
  • Mysql: mysqlhost3.napier.ac.uk or mysqlhost

    Socweb8 documentation

    Some general Unix commands

    Change to mydirectorycd mydirectory
    Create newdirectorymkdir newdirectory
    Remove (delete) olddirrmdir olddir
    Move (rename) olddir to newdirmv -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 detailsls -la
    Show contents of myfile more myfile
    Move (rename) oldfile to newfilemv -i oldfile newfile
    Copy origfile to duplicatefilecp -i origfile duplicatefile
    Remove (delete) oldfile rm -i oldfile
    Allow others to read/change sharedfilechmod go+rw sharedfile
    Show the first few lines of largefile head largefile
    Show the last few lines of largefiletail largefile
    Edit a text filenano or emacs or vi or pico
    Find commands related to keywordman -k keyword
    Read manual for command man command
    Find true name of cmdwhich cmd
    Show environment variablesprintenv
    Change environvariablesetenv environvariable value