首页 > 系统相关 >Upgrade Ubuntu LTS to Ubuntu Pro for extending the support upto 10 years of patches

Upgrade Ubuntu LTS to Ubuntu Pro for extending the support upto 10 years of patches

时间:2022-10-06 20:46:46浏览次数:52  
标签:LTS upto enable sudo server Ubuntu years your

Today the company canonical announced that all registered Ubuntu users can have free subscription of Ubuntu Pro for upto 5 machines. 

If you are a memeber of Ubuntu community, then you can use it upto 50 machines.

So, how to? I haven't found some tutorials from the internet. So I decided to write this one.

 

Suppose that you have a Ubuntu 20.04 LTS server running somewhere, and you want it to receive patches for the next 10 years rather than 5 years very after the destro was released.

1. ssh to your server and install this package ( ubuntu advantage agent )

sudo apt update
sudo apt install ubuntu-advantage-tools

2. Attaching your subscription 

2.1) go to  https://ubuntu.com/pro and register an account, and you will see something like this

 

you will see there is a token.

2.2) attach your server to Ubuntu Pro by these commands

sudo pro attach <your_token>

 

 

3. enable the fips patches

as you can see, by default after you attach your server to Ubuntu Pro Subscription , your server will have "esm-infra" enable Expanded Security Maintenance for Infrastructure. 

You can enable fips by doing so.

sudo pro enable fips
sudo pro enable fips-updates

If you want to share some info with Canonical for auditions you can also do 

# I won't do this :) but you know it's not an issue for canonical to know you better
sudo pro enable usg

 

Now congratulations

标签:LTS,upto,enable,sudo,server,Ubuntu,years,your
From: https://www.cnblogs.com/spaceship9/p/16758428.html

相关文章

  • DeepMind Lab的一些python例子—————(Ubuntu22.04系统安装DeepMind Lab)后续
    相关资料:Ubuntu22.04系统安装DeepMindLab ======================================================  importdeepmind_labimportnumpyasnp#Createane......
  • ubuntu linux定时任务
    最近开发需要定时任务教程一大片,就不写了。我看了网上的教程启动、停止、重启。命令是:sudoservicecrondstart/stop/restart可是我服务器提示我没有这个service。......
  • Ubuntu mariadb数据库安装
    1、安装数据库服务器和客户端sudoapt-getinstallmariadb-servermariadb-client2、安装Mariadb信息查询sudoaptinstalllibmariadb-dev-compat3、makefil......
  • ubuntu开启热点
    wlan1添加ip地址ipaddradd192.168.1.1/24devwlan1broadcast192.168.1.255dnsmasq配置文件#wlan1domain=mi6.dnsmasq.cominterface=wlan1dhcp-host=192.16......
  • Ubuntu18.04系统下最新版GPU环境配置详细教程
    摘要:本文详细介绍了在Ubuntu18.04下如何配置深度学习GPU(显卡)环境,包括了显卡驱动下载安装,环境配置等。按照本教程的步骤在多台服务器上安装都取得了成功,是在多种方法的......
  • XShell 连接 VMware 虚拟机 Ubuntu
    如果你的Ubuntu使用ifconfig指令提示需要安装,大概率你也没有安装openssh-server:sudoaptinstallifconfigopenssh-server查看openssh-server是否运行:#查看ssh......
  • ubuntu 安装和网络等设置备忘
    1、ubuntu22.04.1镜像1.4G左右,现在有的华三实体机上安装。1.1华三实体机webconsole信息:adminPassword@_1.2离线安装ubuntu有好几个地方停卡的,需要细研究一下2、大于2......
  • 【linux基础】ubuntu系统NVIDIA驱动安装
    前言在安装GPU环境下的软件工具,特别是CUDA/CUDNN等,一定要先把GPU环境搭建好。NVIDIA驱动安装会遇到各种问题,真希望黄教主可以将各个工具如何安装使用讲解的更加细致、清楚一......
  • Disruptor 红宝书:大厂必备,高端必备
    封面目录第1章:前置知识伪共享原理与实操第2章:Disruptor的使用实战第3章:Disruptor的使用场景分析第4章:架构师视角,深入Disruptor源码分析领取方式具体请咨询......
  • Ubuntu安装anaconda后终端前面不显示 base,导入原有环境后报错
    输入下面三条命令即可sourceactivatesourcedeactivatecondaactivateyour-virtual-name设置ssh开机自启(一般会新建文件)sudovimetc/rc.local如果保存报错......