INLS161-002 | Spring 2017

Session Date: Monday Jan 23, 2017

Basics: Servers


Be sure to bring your laptop to this session.

Preparation for this Session


on servers

  1. How Web Servers Work by Marshall Brain, How Stuff Works
  2. In Web Design in a Nutshell , 3rd Edition, read parts of chapter 4, "A Beginner's Guide to the Server" Unix Directory Structures, p. 46 through File Naming Conventions, p. 50


glance over

[top/reload prep panel]

Command Line

We are going to dive into real command line work this session.

You can seriously mess up your system if you get too ambitious with the command line. If you use a Mac, you can easily start up your terminal and wipe out important files  with the rm (remove) command. This is the same on the PC if you have already downloaded GitBash. If you want to practice some  before class, use this linux emulator: http://bellard.org/jslinux/ This is pretend. Nothing you create here is saved. Refresh your browser and it will disappear.

We will login to OPAL today. This is where your website files will be hosted.

Accessing Opal the SILS server

To login to OPAL with PC SSH client:

  1. Start your SSH terminal application.
  2. Select "Quick Connect", then enter opal.ils.unc.edu in the dialog box and enter your onyen.
  3. Accept and Save the host key, if requested. (This is the encryption key that lets ITS identify you).
  4. You will be prompted for your username (ONYEN) & password; provide them.
  5. Once there, you are in a shell session and thus into UNIX. The
  6. $ is the LINUX prompt.

To login to OPAL WITH Macintosh Terminal App:

  1. Hit command spacebar to launch Spotlight Search
  2. Start Typing "Terminal" hit enter when it pops into search window
  3. type ssh *onyen@opal.ils.unc.edu  then <enter>
    1. *Replace onyen and put in your onyen.
    2. Example: ssh smithj@opal.ils.unc.edu
  4. Accept and Save the host key, if requested. (This is the encryption key that lets ITS identify you).
  5. You will be prompted for your ONYEN password. Enter the password at the prompt
  6. $ is the Linux prompt

If you want to get started before this session you must follow these instructions: https://sils.unc.edu/it-services/servers/creating-webpages (We will go over this in class.)

Class Session Slideshow

Command Line Practice

We will go over all the most important basic commands,ls cd, mkdir etc.

GitHub Practice

Best GitHub Cheat Sheet: all on one page, very clear

Awesome Links

Command LineText Editing

We will take a quick look at command line editors

Text Processing

Markdown Editors

PC

Mac

Quick Links

Instructor

Lawrence Jones

Office hours by appointment.