|
Getting started Software File protections CVS VILLAGE Home |
Solaris is the flavor of UNIX found on Sun workstations. There are two Suns in
the West VILLAGE (RuCCS):
This page includes descriptions of particular features of these systems, and assumes you are already familiar with UNIX to a reasonable degree. If you are not, you might consider browsing the LCSR UNIX documentation, and Don Watrous' web page. And remember that you can see documentation on a particular UNIX program by typing "man program".
This page only provides suggestions; feel free to deviate from
anything here if you know what you're doing. Any if you have any
suggetions of your own, please let us know!
When you first log into these machines on console, you will find yourself using the Common Desktop Environment (CDE), which is the Solaris X window manager. Note: you may need to explicitly set the "Options/Session" to CDE at the login screen for the first two times you log in, for your login to work properly. Once the window manager starts, a help window appears. (It's fine if you dismiss any window that asks you to register for anything.) Upon reading it, you will find that this window manager works very much the same as other X windows systems. The primary difference is that a Style Manager is used to set the behavior of the window manager, as well as which programs appear when you log in.
There is quite a bit of software installed for these machines, which is described below. We have set up a script that everyone in the lab should use. To use it, simply add the follwing line to the end of your ".cshrc" file (and be sure there is a blank line after it): source /farm/village/setup Advanced note: if you are using a non-standard shell (such as sh), this script won't work. We suggest you take a look at the script for yourself. But briefly, here is what it does:
For advanced users: If you don't want to use something in the script, please undo the effect of the command after the source command, instead of making your own copy of the script. It changes fairly often. The following software packages are installed for use in the lab.
It is also worth mentioning some additional programs that are specific to Solaris:
In UNIX, access to files is determined by file permissions which are changed using the chmod command (and displayed when you type ls -l). Default protections for new files are set using the umask command. Roughly, read and write file access can be granted individually for files and directories within following three categories:
Everyone in THE VILLAGE belongs to a UNIX group called "village". To permit the sharing of files within the lab, you just need to make sure of two things:
Based on how your account and the directories in /farm/village are set up, this will probably happen automatically (based on your umask, and that most directories have their "setgid bit" set). If not, the following are uses of the chmod command that will probably come in handy:
To make a directory structure that anyone in the lab can read:
To make a directory structure that anyone in the lab can read and modify:
To make a directory private:
See the chmod man page for details. The Concurrent Versions System (cvs) is a version control system (typically for source code); it helps manage versions of files and entire software projects.
A typical model for working alone on a project is:
But with cvs, a more typical use is:
A CVS repository is already set up in /farm/village. Don't worry about knowing all of the features of this program; just start with the basics. In particular, be sure to look at how to start a project (section 3 of the comprehensive docs) once you read about the basics. Please only access the CVS repository using the cvs command (either directly on the research machines, or remotely.) Do NOT use eclipse for CVS; there have been problems in the past that aren't worth getting into.
|