Setting up Ubuntu in VirtualBox 7+ Follow the steps here for unattended install. Setup proxy as shown here : sudo touch /etc/apt/apt.conf.d/proxy.conf sudo vi /etc/apt/apt.conf.d/proxy.conf Acquire::http::Proxy "http://user:password@proxy.server:port/" ; Acquire::http::Proxy "http://user:password@proxy.server:port/" ; Acquire::https::Proxy "http://user:password@proxy.server:port/" ; Add user to sudoers file as shown here # add user to sudo group # Run as root usermod -aG sudo <username> # To ensure user has sudo privileges, if command returns root, user has sudo privileges sudo whoami # Otherwise add user to sudoers file visudo # At the end of file add the following. Replace <username> with the actual username <username> ALL=(ALL) NOPASSWD:/bin/mkdir,/bin/rmdir Run the following: sudo apt update && sudo apt upgrade -y For wget setup: For all users of the system via the /etc/wgetrc or for the user...