User Information

From CSWiki

Jump to: navigation, search

Contents

Hosts available for users

Users may use ssh to remotely login via the SunFire remote access servers. For users that need a physical workstation, Ultra20 machines are available in the graduate carrels.
Users that need a SPARC architecture machine may use the Sun Blade workstations remotely, via SSH (physical access is not available).
Details on each type of machine are below.

SunFire x2100 remote access servers
  • Hostnames - css01.cs.wmich.edu, css02.cs.wmich.edu, ... , css10.cs.wmich.edu
  • AMD Opteron processors (2.2GHz Dual-Core, 2GB RAM, AMD x64 chipset, x86-compatible)
  • Gigabit Ethernet interface
  • Solaris 10 OS
  • SSH remote access, sFTP via SSH for file transfers
  • Location: Server Room
  • Languages Available: Perl, Python, GCC, G++, Java, tcsh, bash
Sun Ultra 20 Workstations
  • Hostnames - csu01.cs.wmich.edu, csu02.cs.wmich.edu, ... , csu20.cs.wmich.edu
  • AMD processors (AMD x64 chipset, x86-compatible)
  • Gigabit Ethernet interface
  • Solaris 10 OS
  • nVidia Quadro FX440 graphics cards
  • Location: A-214 Graduate Carrels, B-125 Graduate Carrels
  • Languages Available: Perl, Python, GCC, G++, Java, tcsh, bash
Sun Blade Workstations
  • Hostnames - csa01.cs.wmich.edu, csa02.cs.wmich.edu, csa03.cs.wmich.edu, csa04.cs.wmich.edu
  • Sun SPARC Processors (500MHz, 512MB RAM, Sun SPARC Architecture)
  • 100MBit Ethernet interface
  • Solaris 10 OS
  • Location: Server Room
  • Languages Available: SQLPlus (Oracle), Perl, Python, GCC, G++, Java, tcsh, bash

Installed Compiler Suites

Sun Studio 12
cc SUN C
CC SUN C++
f77 f90 f95 Sun Fortran Compilers
Sun Studio GUI
Sun Compiler Utilities
GNU Compiler Collection
gcc GNU C
g++ GNU g++
g77 GNU fortran
gcj GNU java

Miscellaneous Languages

Scheme
drscheme GUI requires an X windows session
mzscheme command line version
Lisp
lisp CMU Common lisp
clisp GNU Common lisp
sbcl Steel Bank Common lisp
Perl
Python
Haskell 98
hugs Haskell Compiler

How To Access Login Servers

The remote login servers can be accessed through a Secure Shell (SSH). SFTP is available for encrypted file transfers on port 22. FTP is disabled on the login servers for security reasons.

If you are trying to SSH over windows, putty is a very popular and powerful tool available here. When you run putty, under the Category section, select Session if it isn't already by default. Click the SSH button, enter the hostname css"XX".cs.wmich.edu("XX" is 01-10 whichever login server you'd like to go to) and ensure that it is connecting on port 22. You can enter a name for the host below and click 'save' so that it's easier to access the next time you connect. Click 'open' to initiate the session to the login server. Accept the Server host key, then enter your username and password when it is prompted in the terminal window. If you have never worked on a unix terminal in the past, this is a good guide to get you started with all of the basic commands.

Typing 'ls' will give you a listing of all the files and folders in your home directory. A 'www' directory can be created in your home directory(mkdir www) if you wish to create a student web page, it is accessible via www.cs.wmich.edu/~username

If you are trying to access the servers from a Linux distribution, SSH is most likely already installed on your system. Open a terminal window and type "ssh username@css"XX".cs.wmich.edu", type 'yes' to accept the server key, and enter your password when it prompts you.

If you have forgotten your username or password, we can reset it for you in C-218 (On the left side of the room). Please bring your Bronco Card or Driver's License so that we can assure that we change the password for the correct username.

Note: If one of our hosts is not accepting your SSH connection, it is possible that it is down. We appreciate if you can send us an email at sysadmin@cs.wmich.edu to inform us about it before trying another login server, this helps us serve your needs more efficiently. Our server status page can be accessed here.

Accessing Login Servers on a Windows Machine

Image:APuTTY1.jpg

Double Click on the Putty Executable

Image:APuTTY2.jpg

Type in 'cssXX.cs.wmich.edu into the Hostname box. (Note that XX can be replaced with 01-10, one for each login server

Image:APuTTY3.jpg

Allow the security alert

Image:APuTTY4.jpg

Authenticate yourself to your shell account with your CS Username and password

Image:APuTTY5.jpg

Changing Your Password

Log in, as described above.
From the command prompt, run the 'kpasswd' command (without the quotes).
You will be prompted for your current password, and then your new password twice.
Password changes are effective immediately. You will need to update any stored passwords in Putty, SFTP clients, or other software.

Accessing Oracle

Oracle can only be accessed from machines csa01 - csa04
Use the sqlplus command to login
sqlplus
You will be prompted for your oracle pasword

SCP/SFTP (File Transfer)

SCP is a secure and fast way to transfer files between the department server and your home computer.
To put a file onto your home directory, from your desktop, type "scp /path/to/file.ext username@css02.cs.wmich.edu:~/file.ext". When prompted, enter your password, and the file you defined is now on your home directory.
If you want to retrieve a file using scp, you use the same syntax, but reversed. So for the same file, but going in the other direction, the syntax would be "scp username@css02.cs.wmich.edu:~/file.ext /path/where/you/want/the/file.ext"
Two popular clients for SFTP are WinSCP and Filezilla If you are running linux, scp is most-likely already built into your operating system, and is easy to use while not requiring that you depend on a GUI.

Email Access

CS Students no longer receive a separate CS email account. All email communications will be sent to your Bronco email (buster.bronco@wmich.edu, for example).
Any users with previously existing CS email addresses will receive all inbound email in their Bronco email account. Mail stored on the CS mail server will be available for several months over the channels listed below. A procedure for moving mail to your Bronco email account from the CS mail server will be available soon.
POP3 can be accessed via mail.cs.wmich.edu on port 995 over SSL
IMAP can be accessed via imap.cs.wmich.edu on port 993 over SSL.
SMTP is provided by OIT via smtp.wmich.edu on port 25 over SSL (use your Bronco NetID and password)
If you are connected to an SSH session, pine is installed on our CSS login servers. Simply type 'pine' into your terminal to access the text-based mail client.
Caution: Do not access mail server using both IMAP and POP3 or your inbox will potentially be corrupted.

Shell Config Files

Both Tcsh and Bash shells are available for use on our machines. Just type 'tcsh' or 'bash' to switch between shells.


Tcsh Config File .cshrc
Bash Config File .bash_profile

Directory Permissions

UNIX permissions can be broken down into 3 seperate parts, and are kept track of with a base8 numbering system. (Hope you paid attention in ECE250 and CS2300!)
There are three different permissions, spread among three different classifications of users. The first three characters refer to the rights the owner has to the file, the second three characters refer to the rights that users in the file's group have to the file, and lastly the third three characters refer to the rights that all other users on the system have to it.ur
A file permission of 715 would look like: rwx--xr-x. As you can see, the three sections are counted individually with base8 in order to come up with our final decimal permission of 715. This perticular permission would give the owner of the file full access, anyone in the file's group would be able to execute the file, while any other user is able to read and execute the file.
Permissions are represented as follows:
Read - 4
Write - 2
Execute - 1


Recommended permissions on your CS files are as follows:
Home directory rwx-----x (chmod 701)
www directory rwx---r-x (chmod 705)

Personal Web Pages

Create a directory called www ("mkdir ~/www") in your home directory. All files in that directory with global read permissions will be displayed on http://www.cs.wmich.edu/~youruserID (e.g. http://www.cs.wmich.edu/~sysadmin)

Secure Web access

Place a .htaccess file in the www directory

Microsoft MSDNAA ELMS

Students can log in to the MSDNAA ELMS website at http://msdn02.e-academy.com/wmich_cs
Your ID is your ENTIRE Bronco email address (buster.bronco@wmich.edu)
Your ELMS password will have been emailed to your Bronco email upon account creation
A list of the software available to you can be found on the scst website, here.


After logging in for the first time, users should immediately change their password
Click the My Profile link at the top left of the page
Click the Change Password option in the list presented


To view software available on the system:
Click the Software button at the top of the page on the left side
Click on or search for the title you are interested in
You will have two possible delivery options:
Download
Allows for direct download of the software to your computer. Select radio button and add to cart
During checkout process, follow directions to use the download client software.
NOTE: If the download app does not have a recognized file type, change it's file extension to .exe
CD Creation
Student Computer Support Team (SCST) team member will burn CDs for you. Select and add to cart
NOTE: You will need to bring blank CDs for use in burning the software. We DO NOT provide CDs unless specifically stated otherwise (Vista, Windows7BETA,WinServ2008 require DVD).

Server Certificates

The CS Deptartment uses CACert.org certificates. You will need to import their root certificate from CACert.org.
Windows users should download the PEM file (Right-click, Save As...), and then Right-click on the downloaded file, and select Install Certificate.
CS Department Root CA Certificate CS Cert
Follow the same procedure as above to install this certificate on your machine.

Samba Share Access

Faculty and Staff with Samba accounts may access their home directories via a mapped network drive in windows using the samba server.
The server's address is samba.cs.wmich.edu\username (where username is your CS account username)
To map a network drive from windows, do the following:
Either right-click on My Computer, or select the Tools menu from within the My Computer window
Select Map Network Drive...
In the Drive field, select the local drive letter you would like the network drive mapped to
In the Folder field, enter \\samba.cs.wmich.edu\username (where username is your CS account username)
The checkbox for Reconnect at Login will determine if this drive will be re-mapped after a reboot
Click the Finish button
Windows will pause for a moment while it connects to the samba server
You will be prompted for your username and password. Use your CS username, and the samba password you have set. Your CS password and samba passwords are not synchronized, and may be different! Please use the password you provided when setting up your samba account.
Windows will now finish mapping the drive. You now have access to your home directory.

Samba Share Access on a Windows Machine

Image:ASamba1.jpg

Double Click on My Computers

Image:ASamba2.jpg

In the Tools menu at the top of the window, click 'Map Network Drive'

Image:ASamba3.jpg

Select the drive letter you wish to mount the drive to

In the folder box, type \\samba.cs.wmich.edu\"Your username here"

Image:ASamba4.jpg

Enter your username and password to authenticate to your folder.


How to get an SVN Repository

To get svn access send an email to cs-sysadmin with the following information
Your CS username
CS usernames of anyone else who will need access
Project Name (No spaces in name)
After the repository is created each user will receive an email with their password for the repository.
You can change you svn password by going to the following page
https://www.cs.wmich.edu/submin

Accessing SVN

SVN can be access via a web interfaces at:

https://www.cs.wmich.edu/svn/YourProjectName
https://www.cs.wmich.edu/websvn
You will be prompted for your username and password

SVN command line access

To Check out files
svn co --username CSusername https://www.cs.wmich.edu/svn/YourProjectName
(The username only needs to be specified the first time you check out the Project. SVN saves the encrypted username and password to disk)
To check out files to a different directory
svn co CSusername https://www.cs.wmich.edu/svn/YourProjectName DirectoryName
To commit files
svn commit -m "reason for commit"
(should be done from the project directory)

Further Information

Online SVN Book

SVN Software

Windows

http://tortoisesvn.net/downloads

Linux

Debian/Ubuntu

apt-get install subversion

Fedora

yum install subversion

OS X

SVN is shipped with OSX 10.5 Leopard

Further Assistance

Man Pages are a great place to start if you need help with something. If you are stuck on something, you can visit C-208 between the hours of 9AM and 5PM. The staff in C-208 should be able to help you with most things, including MSDN access, linux and programming help, and CS account support. If they aren't able to help, you are more than welcome to visit the sysadmin office, on the left side of C-218.

Main Page

Personal tools