Ubuntu:Desktop:FirstInstall
lastmod 2026-03-03created 2015-12-129 edits
A summary of tasks to do after the first install of Ubuntu Desktop.
Installing the NVIDIA Driver/CUDA Toolkit
Downloading the CUDA Toolkit from the NVIDIA website also gets you the driver. Use Ctrl+Alt+F4 to log in to No-Graphic mode, then install CUDA. Install the packages below beforehand.
For installation instructions, see here.
Firewall setup using ufw
UFW is disabled by default, so enable it. How to use port 22 (ssh) and port 443 (HTTPS):
$ sudo ufw enable
$ sudo ufw default deny
$ sudo ufw status verbose
$ sudo ufw allow 22/tcp
$ sudo ufw allow 443/tcp
$ sudo ufw status
SSH setup
Of course, ssh must be installed.
You need to add SSH users to the /etc/ssh/sshd_config file.
Install packages
Keeping the laptop running with the lid (LID) closed
See Systemd#Adjusting laptop screen-off.