Manually Upgrading Systems Without Internet Access

From Userful Support
Jump to: navigation, search


Copyright © 2013 Userful Corporation. All rights reserved.
(Updated 2013.01.29)


  This page is also available in:   English, Español, Français, Português, Deutsch  



Introduction

This page contains instructions for upgrading a Userful machine that does not have Internet access. These instructions assume that you are starting from the point of having a set of known-good, tested upgrade packages all in a zip file. While it is possible for Linux savvy customers to create this zip file of update packages themselves (using Userful's software repositories), you can also engage Userful's professional services team to do this work for you.

The instructions below explain how to:

  1. Obtain the .zip file and prepare installation media; and
  2. Install the updates.

Preparing the Installation Media

The .zip file containing packages should be downloaded, from the link provided by your Userful representative, onto any Linux system. (Note: it is also possible to download, unzip and extract it's contents on a Microsoft Windows system, however instructions will not be provided).

Once the .zip file has been downloaded, the contents of the file can be transferred to either a USB flash drive or to a CD/DVD (installation media) to simplify system updates for end users.

It is easiest to prepare the installation media using the Graphical User Interface (GUI); instructions are provided below.

Preparing CD or DVD Installation Media

To prepare CD or DVD installation media using the GUI:

    Download-Save-Dialog.png
  1. Click on the download link (if in an e-mail or other electronic document) that has been provided by your Userful representative. Alternatively, copy the link and paste it into a web browser.
    • A dialog box will appear, asking if you wish to Open or Save the file.
    • Choose "Save File" to save the file to the Downloads folder.


    GUI-Extract-Here.png
  2. Open the Downloads folder and select the .zip file containing the packages to be installed/updated.
  3. Right-click on the .zip file and choose Extract Here to unpack the file.
    GUI-Mount-Blank-CD.png
  4. Insert a blank disc (CD or DVD) into the optical disc burner of the system.
  5. Mount the blank disc (and open the CD-DVD Creator) by going to Places > Blank [Disc Type] Disc.

  6. GUI-Drag-to-CD.png
  7. Select the unpacked files (they will have the suffix " .rpm and drag them into the CD-DVD Creator window.
  8. When all the files have been transferred, click Write to Disc.
  9. When the disc burn is complete, eject the disc from the machine. It is now ready to be used as installation media for system updates.


Preparing USB Flash Drive Installation Media

To prepare USB flash drive installation media (Note: These instructions are for a system without Userful MultiSeat enabled.):

  1. Click on the download link (if in an e-mail or other electronic document) that has been provided by your Userful representative. Alternatively, copy the link and paste it into a web browser.
    • A dialog box will appear, asking if you wish to Open or Save the file.
    • Choose "Save File" to save the file to the Downloads folder.


    GUI-Finding-Flash-Key.png
  2. Insert a USB flash drive with enough capacity to save the files contained within the zip archive you have downloaded.
  3. The USB drive should be mounted by the system automatically. Open the USB drive folder window by going to Places > [USB-Flash-Drive-Label]
    • If the USB flash drive does not appear in the Places menu, open Computer window, the USB drive should appear there.


    GUI-Open-With-Archive-Manager.png
  4. Open the Downloads folder and select the .zip file containing the packages to be installed/updated.
  5. Right-click on the .zip file and choose Open with Archive Manager.

  6. GUI-Extract-Files.png
  7. An Archive Manager window will open, showing the contents of the .zip file.
  8. Click Extract.

  9. GUI-Choose-Destination-Folder.png
  10. A file navigation dialog box will open. The mounted USB flash drive should appear in the Places pane on the left-hand side.
  11. Click on the USB flash drive to select it as the destination for the extracted files.
  12. Click Extract.

  13. GUI-Unmount-Flash-Drive.png
  14. Confirm that the files have been unpacked into the USB flash drive.
  15. Unmount the USB flash drive so that it can be safely removed from the system.
  16. Remove the USB flash drive from the machine. It is now ready to be used as installation media for system updates.


Installing the Updates

Updates can be installed either from a USB flash drive or from optical media (CD or DVD). Instructions for both cases are below.

Note: Installing updates manually should be done using the terminal, because it is more flexible and powerful than the graphical user interface.

Installing Updates from CD or DVD

To install updates using a CD or DVD:

  1. On the target machine, insert the CD or DVD disc into the optical drive. Do not open the disc using the GUI.
  2. Open the terminal by going to Applications > System Tools > Terminal.
  3. Become root by entering su - and providing a password.
  4. Create a mount point in the /tmp directory for the cdrom drive by entering:
  5. mkdir /tmp/cdrom
  6. Mount the cdrom drive by entering:
  7. mount -t iso9660 /dev/sr0 /tmp/cdrom
    • Note: You may get a message saying /dev/sr0 is write-protected, mounting read-only. This is normal, and does not mean there is a problem. Proceed with the installation as described below.
  8. Navigate to the CD or DVD by entering cd /tmp/cdrom
    • If you like, you may confirm the contents of the CD or DVD by entering ls. This will list the contents of the directory; it should be a list of files with the .rpm suffix.
  9. Install the packages by entering:
  10. rpm -Uvh *.rpm
  11. Note: The update packages prepared by Userful should work. In the event that the package installation fails, please copy the terminal output and send it to your Userful representative for assistance.
  12. Reboot the computer when installation is complete.


Installing Updates from USB Flash Drive

To install updates using a USB Flash Drive:

  1. Insert the USB flash drive into the target system.
  2. Mount the USB flash drive (and confirm the name of the drive) with the GUI, by going to the Userful System Tray and clicking "Open".
  3. Open a terminal by going to Applications > System Tools > Terminal.
  4. Become root by entering su - and providing a password.
  5. Navigate to the mounted USB key by entering /home/[user name with which you logged in]/.userful/media/[Name of the USB drive]cd /media/[Your-USB-Key-Name]/
    • If you like, you may confirm the contents of the CD or DVD by entering ls. This will list the contents of the directory; it should be a list of files with the .rpm suffix.
  6. Install packages by entering rpm -Uvh *.rpm
  7. Note: The update packages prepared by Userful should work. In the event that the package installation fails, please copy the terminal output and send it to your Userful representative for assistance.
  8. Reboot the computer when installation is complete.