Skip to content
Search

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.

$ sudo apt-get install gcc bzip2 build-essential

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.

$ sudo apt-get install ssh

You need to add SSH users to the /etc/ssh/sshd_config file.

AllowUsers yourname, admin, root

Install packages

$ sudo apt-get update
$ sudo apt-get install exfat-utils exfat-fuse

Keeping the laptop running with the lid (LID) closed

See Systemd#Adjusting laptop screen-off.

See also

author Zer0 sitemap