Update Ubuntu from 14.04 LTS to 16.04 LTS

From IVS Wiki
Revision as of 14:17, 3 October 2018 by IVSWikiBlue (talk | contribs)
Jump to: navigation, search

You must have internet access on the Valt appliance to perform this upgrade. The steps below may vary slight based on each individual installation.

WARNING: If problems occur during the update, the system may become inaccessible. It is strongly advised that you have a large maintenance window to perform this update and that you or someone else can access the console in the event of a failure.

  1. Connect to the Valt appliance via ssh.
  2. Type sudo apt-get install update-manager-core -y and press enter.
    Ubuntu1.png
  3. Type do-release-upgrade and press enter.
    Ubuntu2.png
  4. When prompted, enter Y to continue.
    Ubuntu3.png
  5. When prompted, press enter to continue.
    Ubuntu4.png
  6. If you encounter an error similar to the picture below, please see the following article:Unable to Upgrade Ubuntu
    Ubuntu5.png
  7. When prompted, enter Y to continue.
    Ubuntu6.png
  8. When prompted, enter 127.0.0.1 for the host running the MySQL server.
    Ubuntu7.png
  9. When prompted, select No to perform the update on phpmyadmin.
    Ubuntu8.png
  10. Select Keep the local version currently installed
    Ubuntu19.png
  11. When prompted, enter Y to continue.
    Ubuntu20.png
  12. When prompted, enter Y to reboot.
    Ubuntu21.png
  13. After the system has rebooted, connect to the appliance again via SSH
  14. Type sudo apt-get remove phpmyadmin -y and press enter.
  15. Type sudo apt-get install software-properties-common -y and press enter.
  16. Type sudo add-apt-repository ppa:certbot/certbot -y and press enter.
  17. Type sudo apt-get update and press enter.
  18. Type sudo apt-get upgrade -y and press enter.
  19. Type sudo apt-get install php nano wget default-jdk lshw iptables iptables-persistent htop ifenslave vlan ntp parted slapd ldap-utils phpmyadmin php-ldap php-curl php-intl php7.0-zip dialog python-certbot-apache -y and press enter.
  20. Type sudo apt-get autoremove -y and press enter.
  21. Type sudo rm /etc/init.d/valtcontrols and press enter.
  22. Type sudo cp -r /home/ivsadmin/ValtInstall/etc/systemd /etc and press enter.
  23. Type sudo systemctl enable valtcontrols.service and press enter.
  24. Type sudo cp /home/ivsadmin/ValtInstall/etc/php5/apache2/php.ini /etc/php/7.0/apache2/php.ini and press enter.
  25. Type sudo reboot and press enter.