Franske ITC-2480 Lab 2: Difference between revisions

From ITCwiki
Jump to navigation Jump to search
(Created page with "=Introduction= In this lab you will install the "links" web browser, download a compressed file, create a directory, copy and move files, extract a .tar.tz "tarball" file, rem...")
 
No edit summary
Line 14: Line 14:
## Run the links program using the "links" command and try browsing to a website such as www.google.com or www.debian.org
## Run the links program using the "links" command and try browsing to a website such as www.google.com or www.debian.org
## Quit the links program
## Quit the links program
## Use the "exit" command to leave root user mode and return to your standard login
# Practice basic file management and directory navigation commands
# Practice basic file management and directory navigation commands
## Use the links web browser to download the complete works of Shakespeare in .tar.gz format from [http://lost.co.nz/library/shakespeare.html]
## Exit the links browser and verify the file has downloaded into your current directory with the "ls -al" command
## Create a new directory called "sample-files" using the "mkdir sample-files" command
## Copy the shakespeare.tar.gz file from the current directory into the sample-files directory using "cp shakespeare.tar.gz"
## Change your current directory to the sample-files directory using the "cd sample-files" command and verify your directory change using the "pwd" print working directory command
## Verify the file has been copied by using the "ls -al" command in the sample-files directory
## Delete (remove) the file from the current directory by using the "rm shakespeare.tar.gz" command
# Install the apache2 package and it's dependencies


=Remote vmWare=
=Remote vmWare=

Revision as of 21:43, 21 January 2014

Introduction

In this lab you will install the "links" web browser, download a compressed file, create a directory, copy and move files, extract a .tar.tz "tarball" file, remove files and directories, and install the Apache webserver.

Local VirtualBox

These instructions apply if you are completing this lab using the VirtualBox virtual machine software on campus or at home. If you are completing this on campus remember to switch your network connection to the SafeConnect-free ITCnet.

  1. Open an SSH console to your Linux system using the PuTTY software, login with your standard user account
  2. Install the links web browser package
    1. Enter root (administrative) mode using the "su" command and your root password
    2. Update your package lists using the "apt-get update" command
    3. Install the aptitude package management utility if it's not already installed using the "apt-get install aptitude" command
    4. Update your aptitude sources using the "aptitude update" command
    5. Search for a description of the "links" package using the aptitude command "aptitude search links"
    6. Install the "links" web browser package using the aptitude command "aptitude install links"
    7. Run the links program using the "links" command and try browsing to a website such as www.google.com or www.debian.org
    8. Quit the links program
    9. Use the "exit" command to leave root user mode and return to your standard login
  3. Practice basic file management and directory navigation commands
    1. Use the links web browser to download the complete works of Shakespeare in .tar.gz format from [1]
    2. Exit the links browser and verify the file has downloaded into your current directory with the "ls -al" command
    3. Create a new directory called "sample-files" using the "mkdir sample-files" command
    4. Copy the shakespeare.tar.gz file from the current directory into the sample-files directory using "cp shakespeare.tar.gz"
    5. Change your current directory to the sample-files directory using the "cd sample-files" command and verify your directory change using the "pwd" print working directory command
    6. Verify the file has been copied by using the "ls -al" command in the sample-files directory
    7. Delete (remove) the file from the current directory by using the "rm shakespeare.tar.gz" command
  1. Install the apache2 package and it's dependencies

Remote vmWare

Coming soon!

New Commands

  • su
  • exit
  • shutdown -r now
  • shutdown -h now
  • ping
  • pwd
  • ls -al