Rob Stewart PhD Student & Research Associate Heriot Watt University EM1.40 rs46@hw.ac.uk Computer Science/IM Cookbook PRAXIS Semester 1, 2010/2011
To Cover Webspace Transferring Files Remote Login Email Access to internal web content Practical Preparation... 2
To Cover Webspace 3
Webspace $HOME/www H:/www ~/www Translates to: http://www.macs.hw.ac.uk/~<username> e.g. /u1/pg/rs46/www http://www.macs.hw.ac.uk/~rs46/ 4
Webspace 5
Webspace 6
Webspace Why... Have an academic web presence Reports; dissertation; computing/research interests Hosting Code Open source code you have written that you: Is a public space to advertise yourself.. Are proud of Think might be beneficial to someone in the world Summer internships; Graduate jobs Dropbox Public HTTP file server (more efficient than sending large files as emails) 7
Next... File Transfer 8
Transferring Files Why... It's more convenient than USB sticks USB sticks always get lost or broken. It's quick, once set up Tip: There's many ways to use the FTP protocol. You will soon all be using... 9
Transferring Files Available Service FTP The department has an FTP server Protocol: sftp / SSH2 Host: ftp.macs.hw.ac.uk Username & Password: Your Linux login Port: 22 10
Transferring Files FTP Client 11
Transferring Files FTP Client 12
Transferring Files File Browser Support 13
Transferring Files The Command Line Interface 14
Next... Remote Login 15
Remote Login Why... Service/Software/Hardware Access Convenience There are many packages installed on the CentOS 5.5 workstations and servers, including many compilers, utilities and software. Want to fix your mysql bug? Log in and do it! Module Requirements Cluster access, Oracle access etc... 16
Remote Login Available Service SSH The department has an SSH server Protocol: SSH Host: ssh.macs.hw.ac.uk Username & Password: Your Linux login Port: 22 Linux: ssh -Y rs46@ssh.macs.hw.ac.uk Windows (install Putty): plink rs46@ssh.macs.hw.ac.uk 17
Remote Login 18
Remote Login 19
Next... Email 20
Email The University uses Microsoft Exchange There exists a web interface Luckily, there are other ways to access your email: Doesn't satisfy everyone's requirements (certainly not mine) iphone OS Android (2.2+) IMAP/SMTP for email clients The existing web interface is OK, too! Browser compatibility? 21
Email iphone Support Full instructions on website Android 2.2+ Credit: Peter Methven, University I.T. dept. Exchange support is very recent Documentation on doing this would be very welcome! Contact Peter Methven, I.T. Helpdesk: P.J.Methven@hw.ac.uk 22
Email Email Client Software with IMAP/SMTP Support Examples: Linux: Evolution Mac OSX: Mail Windows: Outlook Multi-Platform: Mozilla Thunderbird On all workstations in the department, Linux and Windows. *Experimental* command line: Alpine (Linux only) 23
Email 24
Email 25
Next... Internal Web Content 26
Internal Web Content Some web pages are only accessible internally This is true for domains: www.macs.hw.ac.uk www.hw.ac.uk Services VPN for @hw.ac.uk Proxy for @macs.hw.ac.uk 27
Internal Web Content VPN Service Browse to: vpn1.hw.ac.uk 28
Internal Web Content VPN Service Browse to: vpn1.hw.ac.uk 29
Internal Web Content Proxy Service 30
Internal Web Content Proxy Service Open Proxy: Linux/Mac OSX: ssh -D 8080 <username>@ssh.macs.hw.ac.uk ssh -D 8080 rs46@ssh.macs.hw.ac.uk Windows: Download Putty, then: plink -D 8080 <username>@ssh.macs.hw.ac.uk 31
Internal Web Content Proxy Service 32
Next... Practical Preparation 33
Next... Operating Systems 34
Practical Preparation Microsoft Windows 35
Practical Preparation Linux (Gnome environment) 36
Practical Preparation Linux (KDE environment) 37
Practical Preparation Getting Linux 38
Practical Preparation Getting Linux 39
Practical Preparation Getting Linux.. why? Immune from viruses Quick, stable, & secure Millions of people develop Open Source Software Access to thousands of great software packages OpenOffice; Firefox; Chrome; Thunderbird; VLC... It's FREE!! Credit: Jonathon Corbet (LWN.net) - 2009 40
Practical Preparation Getting Linux.. why? 41
Practical Preparation Mac OSX 42
Next... Integrated Development Environments 43
Practical Preparation Netbeans 44
Practical Preparation Eclipse 45
Practical Preparation Text Editors 46
Practical Preparation Software Compatibility Windows Linux Mac OSX Firefox Chrome IE9 Opera Thunderbird Evolution M$ Office OpenOffice kdenlive 47
Practical Preparation Software Compatibility Windows Linux Mac OSX Netbeans Eclipse Visual Studio Dreamweaver VLC Amarok Call Of Duty World of Goo TweetDeck Web Apps 48
Covered Webspace Transferring Files Remote Login Email Access to internal web content Practical Preparation... 49
Rob Stewart PhD Student & Research Associate Heriot Watt University EM1.40 rs46@hw.ac.uk http://www.macs.hw.ac.uk/~rs46/cs_tutorial/ Computer Science/IM Cookbook PRAXIS Semester 1, 2010/2011
Web Tutorial 51
:wq That's all, folks! 52