Difference between revisions of "Update Ubuntu from 14.04 LTS to 16.04 LTS without Internet Access"
IVSWikiBlue (talk | contribs) (Created page with "=Ubuntu Repository= ==USB Drive== # Contact IVS Support and request a USB Drive for use in an offline upgrade. #: ''There will be a charge for the USB Drive.'' # Plug the USB...") |
IVSWikiBlue (talk | contribs) m (→TAR.GZ) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 44: | Line 44: | ||
# Type '''sudo apt-get update''' | # Type '''sudo apt-get update''' | ||
# Type '''sudo apt-get dist-upgrade''' | # Type '''sudo apt-get dist-upgrade''' | ||
+ | # Reboot the server | ||
+ | #: ''Note: You may need to remount the USB drive'' | ||
+ | # Download the UbuntuUpdate scripts from https://ivs.box.com/shared/static/asg7bbzz2iq2bjqd78h632vgw6pq42tl.gz and transfer the package to the server. | ||
+ | # Type '''tar -xvf UbuntuUpgrade.tar.gz''' and press enter. | ||
+ | # Type '''cd UbuntuUpgrade''' and press enter. | ||
+ | # Type '''sudo ./PostUpgrade''' and press enter. |
Latest revision as of 14:59, 24 July 2020
Ubuntu Repository
USB Drive
- Contact IVS Support and request a USB Drive for use in an offline upgrade.
- There will be a charge for the USB Drive.
- Plug the USB drive into the Valt appliance
- Connect to the Valt appliance via SSH
- Type sudo lsblk and press enter.
- Identify the USB drive from the list of devices.
- Type sudo mkdir /media/usb and press enter.
- Type sudo mount /dev/sdc1 /media/usb and press enter.
- Type sudo nano /etc/apt/sources.list and press enter.
- Comment out the existing repositories.
- Add the following lines to the bottom of the file:
- deb [ arch=amd64 ] file:///media/usb xenial main restricted universe multiverse
- deb-src [ arch=amd64 ] file:///media/usb xenial main restricted universe multiverse
- deb [ arch=amd64 ] file:///media/usb xenial-security main restricted universe multiverse
- deb-src [ arch=amd64 ] file:///media/usb xenial-security main restricted universe multiverse
- deb [ arch=amd64 ] file:///media/usb xenial-updates main restricted universe multiverse
- deb-src [ arch=amd64 ] file:///media/usb xenial-updates main restricted universe multiverse
- Press ctrl + x
- Enter Y to save changes.
- Leave the file name the same and press enter.
TAR.GZ
- Download the ubunturepo.tar.gz
- Transfer the file to the valt server
- Type tar -xvf ubunturepo.tar.gz
- Type sudo nano /etc/apt/sources.list and press enter.
- Comment out the existing repositories.
- Add the following lines to the bottom of the file:
- deb [ arch=amd64 ] file:///home/ivsadmin/ubuntu xenial main restricted universe multiverse
- deb-src [ arch=amd64 ] file:///home/ivsadmin/ubuntu xenial main restricted universe multiverse
- deb [ arch=amd64 ] file:///home/ivsadmin/ubuntu xenial-security main restricted universe multiverse
- deb-src [ arch=amd64 ] file:///home/ivsadmin/ubuntu xenial-security main restricted universe multiverse
- deb [ arch=amd64 ] file:///home/ivsadmin/ubuntu xenial-updates main restricted universe multiverse
- deb-src [ arch=amd64 ] file:///home/ivsadmin/ubuntu xenial-updates main restricted universe multiverse
- Note: The path in the above lines may need to be changed to reflect where the repository was extracted.
- Press ctrl + x
- Enter Y to save changes.
- Leave the file name the same and press enter.
Install Upgrade
- Connect to the valt appliance via SSH
- Type sudo apt-get update
- Type sudo apt-get dist-upgrade
- Reboot the server
- Note: You may need to remount the USB drive
- Download the UbuntuUpdate scripts from https://ivs.box.com/shared/static/asg7bbzz2iq2bjqd78h632vgw6pq42tl.gz and transfer the package to the server.
- Type tar -xvf UbuntuUpgrade.tar.gz and press enter.
- Type cd UbuntuUpgrade and press enter.
- Type sudo ./PostUpgrade and press enter.