Professional Documents
Culture Documents
University of Virginia
Research Computing Support
Group
April 17, 2002
Kathy Gerber
http://www.itc.virginia.edu/researchers/
Linux – An Operating System
• A kernel
• Surrounded by utilities and applications
• Internet Download
• CDROM
• CDROM in a Book
• Pre-Installed
• Installfest
Which distribution?
• http://www.itc.virginia.edu/desktop/linux/support.html
• Our vendors’ software is standardized on
RedHat Linux, so RedHat is the best choice if
you anticipate making use of our resources.
• Otherwise, there are many choices.
Installation
• http://www.itc.virginia.edu/desktop/linux/linux
_admin.html
• Installfest – April 21, 2002 – CHUUG
• RedHat's Installation Page
• Dual Booting
• You’ll need to know your hardware – e.g., under
Win2K, Control Panel -> System-> Device
Manager. You can check against the RedHat
Compatibility List
RPMs, RHN, up2date
• http://www.rpm.org/
• http://rpmfind.net/
• rhn_register - Red Hat Network is an Internet
solution for managing one or more Red Hat Linux
systems. All Security Alerts, Bug Fix Alerts, and
Enhancement Alerts (collectively known as Errata
Alerts) can be retrieved directly from Red Hat.
• up2date - Agent to download the lastest software
packages for your system with optional package
installation
A Sample Partition Scheme
6GB Notebook - Rob Valliere
Device Partition Size (MB) Comments /dev/hda1
• /boot 40
• /dev/hda5 /home 1,000 User data
• /dev/hda6 /usr/local 1,000 Programs and data
• /dev/hda7 /usr 2,400 Programs and data
• /dev/hda8 /opt 400 Star Office installation
• /dev/hda9 / 300
• /dev/hda10 /var 400 Web/ SQL server data
• /dev/hda11 [swap] 200
• /dev/hda12 /tmp 100
(Partial) RedHat Directory Tree
/
/b o o t /u s r /h o m e /d e v /b in /e tc /s b in /v a r /t m p /r o o t /p r o c
/b in /u s e r1 /r c .d /lo c k
/in c lu d e /u s e r2 /lo g
.... / in i t .d
/lib / x in e t .d /m a il
/lo c a l /w w w
/s b in
/s h a r e
/X 1 1 R 6
Shells
Boot Manager
Kernel
Initialization Scripts
Login
Shell
Window Managers
Desktop
Applications
Security
• http://www.itc.virginia.edu/unixsys/sec/
• Linux Security at UVA
1. Turn off or uninstall any and all unnecessary services.
2. Make sure that any services that are installed are updated
and patched to the current, safe version -- and then stay that
way. Every server application has potential exploits. Some
have just not been found yet.
3. Limit connections to your machine from outside sources by
implementing a firewall and/or other restrictive policies. The
goal is to allow only the minimum traffic necessary for
whatever your individual situation may be.
Window Managers & Desktop
Environments
• Window Manager – controls appearance of
windows and the means to interact with
them
• Desktop Environment - more complete
interface to the operating system, and
supply their own range of integrated utilities
and applications.
• There are many choices for each.
KDE
emacs vi pico
• http://www.itc.virginia.edu/research/latex.html
• TeX - TeX is a typesetting program designed for
high-quality composition of material that contains a
lot of mathematical and technical expressions. It has
been adopted by many authors and publishers who
generate technical books and papers.
Emulators
Maple 7
Matlab 6.1
IDL 5.5
SAS 8.2 Screenshots
S-PLUS 6
Stata
LabVIEW
IDL
• http://www.itc.virginia.edu/research/idl.html
• software for data analysis, visualization, and cross-platform
application development
• On-grounds in /common/rsi
• IDL users at the University can also run IDL from home
computers using the floating network licenses by first
establishing an internet connection through an Internet
Service Provider (ISP) so that the local IDL installation can
communicate with the license manager on ITC's Unix server.
LabVIEW
• http://www.itc.virginia.edu/research/labview.html
• http://www.itc.virginia.edu
/research/maple.html
• technical software system for symbolic and
numeric computation
• Faculty and staff (including graduate
students employed as teaching or research
assistants) can obtain Maple for Linux.
Matlab
• http://www.itc.virginia.edu/research/matlab
.html
• Integrated technical computing environment
• The University has 70 floating network
licenses for Matlab 6.1 on the following
platforms: Sun Solaris, SGI IRIX, IBM
AIX, Linux, and Windows
(95/98/2000/NT). In order to use these
licenses, the computer must be connected to
the University network to enable it to
communicate with the network license
manager.
Mathematica
• http://www.itc.virginia.edu/research/mathematica.html
MySQL
PostgreSQL
Oracle
Configuring
SecureCRT
MySQL-Front Port Forwarding (2)
R
• Zope
• Enhydra
• Tiny servers
Jakarta Tomcat
• Tomcat is the servlet container that is used in the
official Reference Implementation for the
Java Servlet and JavaServer Pages technologies.
• Examples:
http://nike.itc.virginia.edu:8180/index.html
http://nike.itc.virginia.edu:8180/examples/samp.jsp
http://nike.itc.virginia.edu:8180/examples/samp.txt
Jakarta Tomcat (continued)
• Requires JavaTM 2 SDK
• From http://jakarta.apache.org/get and install
the latest (4-4.0.4) stable rpms. I used:
servletapi4-4.0.2-1.noarch.rpm
regexp-1.2-1.noarch.rpm
xerces-j-1.4.4-2.noarch.rpm
tomcat4-4.0.2-3.noarch.rpm
tomcat4-webapps-4.0.2-3.noarch.rpm
• setup vars in /etc/tomcat4/conf/tomcat4.conf
• Run /sbin/chkconfig --add tomcat4
• Run /etc/rc.d/init.d/tomcat4 start
Jakarta Tomcat (continued)
http://www.uk.research.att.com/vnc/