Linux Account
For this classes, you will need access to the Linux Environment remotely to complete most programming assignments. Please follow these steps:
- Make sure you activate your CDM account. Login with your CampusConnect username/password. This page will provide you with your CDM username/password.
- Connect via an ssh client (such as Putty, see below) to: cdmlinux.cdm.depaul.edu
- Enter your CDM username/password. Do not put CSTCIS before your username when logging into Linux via an ssh client.
- For any additional questions or problems with logins, please contact: linuxsupport@cdm.depaul.edu.
How to login to cdmlinux machines from a Mac (or your own Linux):
Open a terminal window and at the prompt ($ in this example), type the following, replacing 'jsmith' with your CDM login username:
$ ssh jsmith@cdmlinux.cdm.depaul.edu
You will then be prompted for your CDM account password. Note that typing the password characters will not echo, not even *'s.
How to login to cdmlinux from Windows using Putty.
Assuming you have already downloaded Putty from the web, start Putty and you get the following dialogue screen:
You need to
- Enter the hostname (cdmlinux.cdm.depaul.edu) or its ip address (140.192.36.41, 140.192.36.42, or 140.192.36.43)
- So that you don't have to enter the hostname and preferences everytime, type some name in the Saved Sessions text box. In the example, above it is cdmlinux, but this entry could be anything (e.g., my373linux)
- You might want to set preferences such as window size,
background and foreground colors and your login name (so that
you don't have to type that either each time you connect).
- Click on Window in the left pane to be able to set the number of rows and columns
- Click on Colors (in Window section) to change the default foreground and background colors
- Click on Data in the Connection section to enter your cdm login name
- Click on Translation to change the received character set from the likely default ISO-8859 to UTF-8 will help display special characters sent from Linux such as single quotes better.
- After making the changes above, click on 'Session' in the left pane and then on the Save button.
After this initial setup, all you have to do to connect is
- open putty, click on the name of a saved session (e.g. cdmlinux)
- Then click the load button and then the open button. (Actually you can just hit 'enter' without clicking on either button.)
Putty Download link
The web site to download Putty is
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
Download the release version putty.zip or putty-0.62-installer.exe to get all the utilities (ssh client for a terminal connection and sftp client to transfer files, etc)
Downloading the installer will 'install' putty and add desktop icon for putty.
The zip file directly contain the executables. After extracting the files, to run putty, just execute the putty.exe file.
or you can just download the ssh client,
putty.exe.
(Running this exe also runs putty and requires no
further installation.)
Additional Setup for Emacs and the Shell on the CDM Linux Server
Here are some customizations that can be made to the shell and to emacs:
- Shell - Add the current directory to your PATH environment variable.
-
Emacs - Adds the following command bindings to keys:
- compile: ctrl-c,c
- Manual-entry: ctrl-c,ctrl-m
- goto-line: ctrl-x,ctrl-g
- Scroll up: ctrl-z (scroll-down is already ctrl-v)
- Make current cursor line the top line in the window: ctrl-c,u
- insert common c include statements: ctrl-c,#
To make these customizations, login to your CDM Linux account and type:
~glancast/setuplogin