- How do you use linux ubuntu
- How to run an Ubuntu Desktop virtual machine using VirtualBox 7
- How to boot Ubuntu Core in recovery mode
- How to install Ubuntu Desktop on Raspberry Pi 4
- How to build a highly available Kubernetes cluster with MicroK8s
- How to create an Ubuntu Server SDcard for Raspberry Pi
- The Linux command line for beginners
- Install a local Kubernetes with MicroK8s
- Install MicroK8s on macOS
- Install MicroK8s on Windows
- Install the Java Runtime Environment
- Setup Intel Joule
- Create your first snap
- Podstawy korzystania ze snapów
- Apply kernel patches without rebooting
- Tutorials
- How to upgrade Ubuntu LTS to Ubuntu Pro on AWS using AWS License Manager
- Build your CloudFormation Templates with the latest Ubuntu AMI
- Manage UA Client FIPS configurations at scale with Landscape
- Blocking Software Package Installation with Landscape
- Audit UA Client ESM configurations at scale with Landscape
- Enable ESM configurations at scale with UA Client and Landscape
- Test and deploy individual CVE fixes with Pro Client and Landscape
- Getting started with MicroK8s on Ubuntu Core
- Add Livepatch graphs in Landscape
- Manage Livepatch configurations at scale with Landscape
- Audit UA Client FIPS configurations at scale with Landscape
- Monitor Livepatch configurations at scale with Landscape
- Install Ubuntu on WSL2 and get started with graphical applications
- Provision an Ubuntu virtual machine running SQL Server in Azure
- How to use AWS SSM Session Manager for accessing Ubuntu Pro instances
- Introduction to Ubuntu 20.04: A Beginner’s Guide
- Why use Ubuntu?
- Installing Ubuntu
- Understanding the Ubuntu command line
- Examples of Ubuntu server setups
- Installing software on Ubuntu 20.04
How do you use linux ubuntu
Install Kubernetes on Apple M1 with Microk8s and Multipass
desktop
How to run an Ubuntu Desktop virtual machine using VirtualBox 7
Learn how to run Ubuntu Desktop on any operating system using VirtualBox to set up a virtual machine with this quick start guide.
iot
How to boot Ubuntu Core in recovery mode
Ubuntu Core can be booted into normal, recovery and reinstall modes. This tutorial will show you how to make use of this feature for debugging production issues and reverting a system to “factory” defaults.
iot, desktop, raspberrypi
How to install Ubuntu Desktop on Raspberry Pi 4
A complete guide to installing Ubuntu Desktop on a Raspberry Pi 4 (4GB or 8GB).
containers
How to build a highly available Kubernetes cluster with MicroK8s
Learn how to build and deploy a highly available Kubernetes cluster using the MicroK8s HA feature
iot
How to create an Ubuntu Server SDcard for Raspberry Pi
In this tutorial, you will learn how to flash Ubuntu Server on a microSD card for Raspberry pi 2, 3 and 4
desktop
The Linux command line for beginners
Learn about the Linux command line and some useful basic commands
containers
Install a local Kubernetes with MicroK8s
Get a local Kubernetes on your workstation or edge device with microk8s. Possibly the fastest path to this great open-source orchestration system, Kubernetes.
containers
Install MicroK8s on macOS
Get a local Kubernetes on MacOS with Microk8s and Multipass.
containers
Install MicroK8s on Windows
Get a local Kubernetes on Windows with Microk8s and Multipass.
desktop
Install the Java Runtime Environment
Installation of Java Runtime Environment (JRE) on Ubuntu
iot
Setup Intel Joule
In this codelab, we are going to setup Ubuntu Core on your Intel Joule. We’ll flash the sd card with an Ubuntu Core image and then configure it.
packaging
Create your first snap
We are going to use snapcraft to walk you through the creation of your first snap and main snapcraft concepts.
packaging
Podstawy korzystania ze snapów
W tym poradniku zostaną poruszone podstawowe informacje dotyczące korzystania z pakietów snap na Twojej dystrybucji oraz korzyści wynikające z używania ich.
server
Apply kernel patches without rebooting
Learn how to install and run Ubuntu’s Livepatch service to get critical kernel patches without rebooting.
© 2023 Canonical Ltd. Ubuntu and Canonical are registered trademarks of Canonical Ltd.
Tutorials
These tutorials provide a step-by-step process to doing development and dev-ops activities on Ubuntu machines, servers or devices.
cloud, server, aws
How to upgrade Ubuntu LTS to Ubuntu Pro on AWS using AWS License Manager
How to upgrade Ubuntu LTS instances to Ubuntu Pro using AWS License Manager
cloud, server, aws
Build your CloudFormation Templates with the latest Ubuntu AMI
Build your CloudFormation Templates with the latest Ubuntu AMI
landscape, fips, server
Manage UA Client FIPS configurations at scale with Landscape
Use Landscape’s dashboard to identify manage machines with the Ubuntu Advantage FIPS entitlement enabled
landscape, security, server, desktop
Blocking Software Package Installation with Landscape
Granular software restrictions are a trivial activity with Landscape.
landscape, esm, server, desktop, cloud
Audit UA Client ESM configurations at scale with Landscape
Patch vulnerabilities across your entire Ubuntu estate, even legacy workloads
landscape, esm, server, desktop, cloud
Enable ESM configurations at scale with UA Client and Landscape
Enable ESM to preempt software risks from stale, legacy software
landscape, ua, security, server, desktop, cloud
Test and deploy individual CVE fixes with Pro Client and Landscape
Perform phased rollouts of individual CVE fixes
containers
Getting started with MicroK8s on Ubuntu Core
Get an embedded Kubernetes deployment on your IoT devices with MicroK8s and Ubuntu Core
landscape, livepatch, ubuntu, server, desktop
Add Livepatch graphs in Landscape
Learn how to chart kernel live patching activities over time with Landscape’s custom graphs.
landscape, livepatch, ubuntu, server, desktop
Manage Livepatch configurations at scale with Landscape
Enable or disable live kernel patching on Ubuntu machines through the Landscape dashboard
landscape, fips, server
Audit UA Client FIPS configurations at scale with Landscape
Use Landscape’s dashboard to identify which machines have the Ubuntu Advantage FIPS entitlement enabled
landscape, livepatch, server
Monitor Livepatch configurations at scale with Landscape
Monitor live kernel patching on Ubuntu machines with the Landscape dashboard
wsl2
Install Ubuntu on WSL2 and get started with graphical applications
Install Ubuntu on WSL2 for Windows 10 and Windows 11 and run graphical applications with WSLg
cloud
Provision an Ubuntu virtual machine running SQL Server in Azure
Canonical has worked with Microsoft to bring a high-performing and fully supported solution for SQL Server to market, based around the Ubuntu Pro. In this tutorial you will learn how easy it is to get up and running.
cloud, server, aws
How to use AWS SSM Session Manager for accessing Ubuntu Pro instances
How to use AWS SSM Session Manager for accessing Ubuntu instances without using a SSH connection
© 2023 Canonical Ltd. Ubuntu and Canonical are registered trademarks of Canonical Ltd.
Introduction to Ubuntu 20.04: A Beginner’s Guide
Ubuntu is a popular Linux distribution open-source operating system that’s operated by Canonical. Canonical supplies support and security updates for every release of Ubuntu and oversees its ongoing development. Ubuntu has multiple editions, including core, server, and desktop, that allow it to run across different types of machines. It can be used on personal computers, servers, supercomputers, in cloud computing, and more.
Why use Ubuntu?
Ubuntu is popular for a variety of reasons, and it’s attractive to builders who need a free, open source solution that’s secure and easy to use. The popularity of the software combined with the collaborative nature of open source means that Ubuntu is well-supported in the Canonical community. The operating system is user-friendly and customizable, and Ubuntu offers enhanced security within its OS.
Installing Ubuntu
Installing Ubuntu is relatively simple, and the initial setup of your server can be completed in a few easy steps.
First, you’ll need to log into the server as root and create a new user. To do this, you must know your server’s public IP address and its password or the private key for the root user’s account (if you installed an SSH key for authentication). Once you are logged in as root, you’ll be able to add the new user account and assign administrative privileges. You’ll also want to configure SSH access for your new user if needed. After creating a regular user for daily use, you will want to enable external access for your regular user and make sure you can SSH into the account directly.
Next, you’ll want to set up a firewall. Ubuntu 20.04 servers come preinstalled with the Uncomplicated Firewall (UFW) to make sure only connections to certain services are allowed. If your servers are running on DigitalOcean, you can use DigitalOcean Cloud Firewalls instead of UFW. We recommend using only one firewall at a time to avoid conflicting rules that may be difficult to debug.
Finally, you’re ready to install any software you need onto your server!
Understanding the Ubuntu command line
If you are new to Linux, you’ll want to get familiar with the terminal. The terminal is the typical way to interact with a Linux Server, and knowing the basics of the Linux terminal and executing commands through the command line is a great way to get started. Since most people use an OS with a graphical user interface (GUI) for their day-to-day computer needs, Linux has a terminal emulator, which is a program that allows the terminal to be used in a graphical environment.
In the Linux system, the shell is a command-line interface that interprets a user’s commands and script files and tells the server’s operating system what to do with them. After logging into your server with SSH, you’ll be connected to a remote shell, or command prompt, where you can issue commands to the server.
Commands are given by specifying the name of a program and there are many standard Linux tools installed by default in Ubuntu 20.04. Some tools are for navigating the file system, others are for installing software packages, and others are used to configure the system and applications. Running a command is known as a process, and there are a variety of ways to execute commands. Check out this tutorial for some examples that cover the basics of executing commands.
Examples of Ubuntu server setups
Two common ways to set up your Ubuntu servers are through SSH keys or by installing Webmin on your Ubuntu server. SSH, or secure shell, is an encrypted protocol used to administer and communicate with servers. Installing Webmin allows you to administer your server through a browser-based interface, easily managing user accounts, configuring DNS settings, and more.
Installing software on Ubuntu 20.04
Once you have set up remote access to your server over SSH and configured a firewall, you can start installing software on your server. Here we’ll take you through several common pieces of software that may be useful as you get started with Ubuntu 20.04:
Virtual Network Computing, or VNC, is a connection system that allows you to use your keyboard and mouse to interact with a graphical desktop environment on a remote server. It makes managing files, software, and settings on a remote server easier for users who are not yet comfortable with the command line. Installing VNC on an Ubuntu 20.04 server requires you to set up a VNC server with TightVNC and connect to it securely through an SSH tunnel. Then, you’ll use a VNC client program on your local machine to interact with your server.
If you are developing or deploying your own application on your server, you can run it in isolated, lightweight environments, known as containers. One example of this approach is using Docker Compose to containerize a Laravel application for development. Containerized environments are portable, reproducible, and disposable and can be leveraged for developing, testing, and deploying applications to production.
If you would like to store your personal content, like documents and pictures, in a centralized location, install Nextcloud on your Ubuntu 20.04 server. All of Nextcloud’s features are open-source, and the software allows you to secure and control your own sensitive data.
TensorFlow is an open-source machine learning software library. Often, TensorFlow is used to train neural networks. Install TensorFlow on your Ubuntu 20.04 server to get started building computer vision, natural language processing (NLP), and sequence modeling projects.
Postfix is a popular open-source Mail Transfer Agent (MTA). Install Postfix on your Ubuntu 20.04 server to route and deliver email on a Linux system.
Install the LEMP software stack on your Ubuntu 20.04 server to serve dynamic web pages and web applications written in PHP. With LEMP, web pages are served by the Nginx server, the backend data is stored in a MySQL database, and the dynamic processing is handled by PHP. Install a “LAMP” stack on your Ubuntu 20.04 server to enable a server to host dynamic websites and web apps written in PHP. The site data is stored in a MySQL database, and dynamic content is processed by PHP.
Python is a flexible and versatile programming language, with strengths in scripting, automation, data analysis, machine learning, and back-end development. Learn how to install Python on an Ubuntu 20.04 server, as well as set up a programming environment.
The Elastic Stack is a collection of open-source software produced by Elastic that allows for centralized logging. Install the Elastic Stack on your Ubuntu 20.04 server to search, analyze, and visualize logs generated from any source in any format.
Overall, if you’re looking for an operating system that’s well supported by cloud providers, incredibly versatile, and has available resources from a large community, Ubuntu is a fantastic choice. For more developer resources related to Ubuntu 20.04, check out our community articles.
Thanks for learning with the DigitalOcean Community. Check out our offerings for compute, storage, networking, and managed databases.