Begin at the Beginning Here is what you need to do or download.
If you stoop to using 'Doze.... (Like most of you unwashed yahoos out there....) you will need the following. Keep these files in a handy place, as you will make plenty of use of them.
- Obtain PuTTY, a terminal emulator that will allow you to access remote UNIX machines for which you have credentials. This is a simple executable requiring no installation. You may copy it onto all machines you use regularly. If you have a USB memory key, put a copy on that too.
- Download WinSCP, an SFTP client that will allow you to transfer files from your box to our UNIX server in a simple, intuitive interface.
If you use a Mac....
Go into your Applications/Utilities directory and place the Terminal Tool in your application dock.
You will use this to log onto our UNIX server via ssh
. You can also use it for file
transfer with the aid of sftp
.
If you use LINUX.... Whoopee! You are set! Your default browser
should be Firefox or Chrome. If you are thinking of using LINUX, we recommend the Ubuntu
distro for your lappy. If you haven't bought your lappy yet, consider getting
one factory installed with Ubuntu.
The CS TAs can help you config your box for Ubuntu. I will assume you know how to open
a terminal session. File transfer can be done via sftp
and you can
log in using ssh
.
1.1 Browser Directions for All Platforms..... Follow these instructions for getting Firefox properly configged. It is also handy to have Google Chrome or Chromium.
- If you don't already have it, download and install Firefox for your box. It is available for all platforms. We will be using this browser and its capabilities during this class.
- Install the Firebug and Web Developer addons. You will want Firebug if you want to fool around with JavaScript on your website and to explore your document tree. You will use WebDeveloper for verifying web pages. Both Firebug and WebDeveloper are Firefox addons. All Firefox addons can be obtained at the firefox addon site. Use the search facility there to locate the latest version of these.
If you install the addons properly, you will see an extra toolbar with menus such as Disable, Cookies and CSS; to see it you will need to restart Firefox subsequent to these installs. In the lower right-hand corner of your browser, you will see a little beetle. Do this in the first week of class so we do not have to worry about it later. These resources will be helpful when you start working on your website.
2. Getting Your LINUX Account Set up and Getting Logged In Instructions follow for all platforms.
Doze Just follow these simple instructions carefully sil vous plait!
- Launch the PuTTY application from your local machine.
- A window will appear. You will specify
cs.ncssm.edu
as your hostname. - Specify SSH as protocol. Our server requires you to use a secure shell to stymie packet sniffers.
- In Saved Sessions, enter
cs
. - Hit the Save button. This will save your settings for using
cs.ncssm.edu
. Next time you use PuTTY, you can double-click on thecs
name to connect. - Hit the Open button; it will open a connection to
cs
. - Enter your login name and password when prompted to do so.
- You can customize your settings to make the font larger or to give a white background. This will be covered in class.
You may open as many instances of PuTTY as you wish and connect to
cs.ncssm.edu
via all of them. When you program, you will often maintain two or
three windows. When you come to class, you should get in the habit of opening
sessions up right away.
LINUX Type
ssh yourUsername@cs.ncssm.edu
at the LINUX command line. If your username on your box is the same as
your cs.ncssm.edu
username, you can simply type
ssh cs.ncssm.edu
Then you can enter your login name and password when prompted to do so. You can open several terminal sessions at once, and you will frequently have occasion to do so. If you are using Ubuntu, there are tabbed terminals which are a handy way to save desktop space.
Mac You are using a UNIX machine! Open the terminal tool and follow the instructions laid out above for LINUX. This tool lives in the Utilities folder of your Applications directory. If you followed these instructions, it's in your application dock.
2.1 Now You are in! If you log in successfully using any of the means just described, you will see a greeting message like this:
Last login: Wed Jun 3 13:02:38 2015 from 172.31.248.169 [morrison@cs ~]$
Your login name will appear instead of morrison
.
This is called the UNIX prompt. It tells you that LINUX is waiting for you to enter a command. On these pages, we will use a simple cash sign ($) for a UNIX prompt.
2.2 Password Security IMPORTANT!! Before we change passwords, here are simple rule for creating good passwords. I have recommended this policy to Richard Alston. If your general NCSSM password does not meet this standard, you should change it to do so and you can use the same password for both your CS account and your NCSSM access.
- Do not use any dictionary words or names. Do not use them spelled backwards.
- Use at least 3 of the following four elements:
- lower-case letters
- caps
- punctuation marks (Do not use single or double quotes, or a period ( . or ' or "))
- numerals, 0-9
Here are examples of BAD passwords.
budlite abrahamlincoln 54321 2580852
Here are some good examples
$#foo45 &Hellow; q#v#a#c#k
Our server will reject passwords it deems too simplistic. If the server rejects your password, you should pick something better and you should change your mail password to agree with it. Good password practice prevents our boxes from getting hacked and protects your valuable data. Be a good citizen!
2.3 Changing your Password And now back to the main event. To change your password, type
$ passwd
at the UNIX prompt. Then follow the instructions. You may change your password as often as you like. Server policy may require you to change it a couple of times a year.
2.4 Password Sharing Don't. It is a clear violation of Acceptable Use Policy. If you have difficulty with your account, see a system administrator (Me, Q). We do not need to know your password to enter your account and fix your problem.
Now it is time to learn about UNIX Commands.
Back to the index page