User Tools

Site Tools


vm:changelog

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
vm:changelog [2019/01/06 10:00] borjavm:changelog [2022/05/12 08:56] (current) borja
Line 1: Line 1:
 ===== VM Changelog ===== ===== VM Changelog =====
 +
 +==== 202122.3 ====
 +
 +**Date**: May 12, 2022
 +
 +Fixed APT sources (did not include the focal-updates sources):
 +
 +    deb http://us.archive.ubuntu.com/ubuntu/ focal main universe restricted multiverse
 +    deb http://security.ubuntu.com/ubuntu/ focal-security main restricted multiverse universe
 +    deb http://us.archive.ubuntu.com/ubuntu/ focal-updates main restricted multiverse universe
 +    deb http://us.archive.ubuntu.com/ubuntu/ focal-backports main restricted multiverse universe
 +
 +Updated software:
 +
 +  sudo apt update
 +  sudo apt upgrade
 +  sudo apt autoremove
 +
 +Installed latest VirtualBox Guest Additions (VirtualBox "Devices" menu → Insert Guest Additions CD image)
 +
 +
 +==== 202122.2 ====
 +
 +**Date**: January 29, 2022
 +
 +Updated existing software:
 +
 +  sudo apt update
 +  sudo apt upgrade
 +  sudo apt autoremove
 +
 +Installed mininet:
 +
 +  cd /tmp
 +  wget https://github.com/mininet/mininet/archive/refs/tags/2.3.0.tar.gz
 +  tar xvzf 2.3.0.tar.gz
 +  mv mininet-2.3.0/ mininet
 +  sudo PYTHON=python3 mininet/util/install.sh -nfv
 +
 +Installed Ryu:
 +
 +  sudo apt install libssl-dev libxml2-dev libxslt1-dev
 +  cd /opt
 +  sudo git clone https://github.com/faucetsdn/ryu.git
 +  cd ryu
 +  sudo pip3 install .
 +
 +==== 202122.1 ====
 +
 +**Date**: January 7, 2022
 +
 +This is a new Ubuntu 20.04 image built from scratch. The initial image was created following [[https://ubuntu.com/tutorials/how-to-run-ubuntu-desktop-on-a-virtual-machine-using-virtualbox|this Ubuntu tutorial]]. After that, we performed the setup described below.
 +
 +Updated sources and packages:
 +
 +  sudo apt update
 +  sudo apt upgrade
 +
 +Disable unattended upgrades:
 +
 +  sudo apt-get remove unattended-upgrades
 +
 +Additionally, manually disabled automatic check for upgrades (prevents Ubuntu from asking students if they want to upgrade any software)
 +
 +Installed VirtualBox Guest Additions (VirtualBox "Devices" menu → Insert Guest Additions CD image)
 +
 +Installed most of the software that was present in the 16.04 version of the VM image:
 +
 +  sudo apt install -y git mc openssh-server texinfo qemu texlive graphviz libgraphviz-dev libffi7 libffi-dev traceroute cmake libyaml-0-2 libyaml-dev libtool libncurses5-dev libncursesw5-dev clang clang-format protobuf-compiler protobuf-c-compiler libprotoc-dev libprotobuf-c-dev python3-pip python3-dev 
 +  sudo -H pip3 install pytest-json pytest-html pandas numpy scipy matplotlib jupyter ipython emoji tabulate twitter cairocffi pygraphviz networkx pydot_ng pydot sklearn pylint setuptools pip click pyyaml pycryptodome 
 +
 +Installed Visual Studio Code:
 +
 +  sudo snap install code --classic
 +
 +The Criterion test framework doesn't have an 20.04 package, but the 18.04 one appears to work fine:
 +
 +  wget http://ppa.launchpad.net/snaipewastaken/ppa/ubuntu/pool/main/c/criterion/criterion_2.3.2-6-ubuntu1~bionic1_amd64.deb
 +  wget http://ppa.launchpad.net/snaipewastaken/ppa/ubuntu/pool/main/c/criterion/criterion-dev_2.3.2-6-ubuntu1~bionic1_amd64.deb
 +  sudo dpkg -i criterion_2.3.2-6-ubuntu1~bionic1_amd64.deb
 +  sudo dpkg -i criterion-dev_2.3.2-6-ubuntu1~bionic1_amd64.deb
 +
 +Added the [[vm:clean-vm.sh|clean-vm.sh]] script.
 +
 +==== 201920.3 ====
 +
 +**Date**: April 16, 2020
 +
 +Updated existing software:
 +
 +  sudo apt update
 +  sudo apt dist-upgrade -u
 +  sudo apt autoremove
 +  sudo snap refresh
 +  update-cs-software
 +
 +Installed Visual Studio Code:
 +
 +  sudo snap install code --classic
 +
 +Installed latest version of CMake:
 +
 +  wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | sudo apt-key add -
 +  sudo apt-add-repository 'deb https://apt.kitware.com/ubuntu/ xenial main'
 +  sudo apt-get update
 +  sudo apt-get install -y cmake
 +
 +Installed missing libraries needed by CMSC 22000:
 +
 +  sudo apt-get install -y libyaml-0-2 libyaml-dev libncurses5-dev libncursesw5-dev
 +
 +Updated VM cleaning script (the latest version of this file can now be found [[vm:clean-vm.sh|on the wiki]])
 +
 +==== 201920.2 ====
 +
 +**Date**: September 24, 2019
 +
 +Updated pyyaml and installed pycryptodome:
 +
 +  sudo -H pip3 install pyyaml pycryptodome --upgrade
 +
 +Removed leftover ''hello.py'' file in the ''student'' home directory.
 +
 +==== 201920.1 ====
 +
 +**Date**: September 24, 2019
 +
 +Updated click and the CS setup script:
 +
 +  sudo -H pip3 install click uchicago_cs_setup_script --upgrade
 +
 +==== 201920.1-rc1 ====
 +
 +**Date**: September 23, 2019
 +
 +Updated existing software:
 +
 +  sudo apt update
 +  sudo apt dist-upgrade -u
 +  sudo apt autoremove
 +
 +Updated VirtualBox Guest Additions to version 5.2.18 (VirtualBox "Devices" menu -> Insert Guest Additions CD image)
 +
 +Updated ''pip'' and ''setuptools'':
 +
 +  sudo -H pip3 install setuptools pip --upgrade
 +
 +Updated chisubmit:
 +
 +  sudo -H pip3 install chisubmit --upgrade
 +
 +Updated software used in CMSC 12100:
 +
 +  sudo -H pip3 install --upgrade pandas numpy scipy matplotlib jupyter ipython emoji tabulate twitter cairocffi pygraphviz networkx pydot_ng pydot sklearn pylint
 +
  
 ==== 201819.2 ==== ==== 201819.2 ====
/var/lib/dokuwiki/data/attic/vm/changelog.1546790446.txt.gz · Last modified: 2019/01/06 10:00 by borja

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki