Ubuntu: Difference between revisions

From DWIKI
 
(5 intermediate revisions by the same user not shown)
Line 5: Line 5:
*[http://ubuntu.com http://ubuntu.com]  
*[http://ubuntu.com http://ubuntu.com]  
*https://linuxize.com/post/how-to-add-apt-repository-in-ubuntu/
*https://linuxize.com/post/how-to-add-apt-repository-in-ubuntu/
*[https://launchpad.net/ubuntu/+ppas Ubuntu PPA]


= Installation =
= Installation =
Line 30: Line 31:


=== Snags ===
=== Snags ===
=Documentation=
==Network configuration==
*[https://ubuntu.com/server/docs/configuring-networks Configuring networks]
*[[Netplan]]


= HOWTO =
= HOWTO =
Line 41: Line 47:
==Using Ubuntu live CD for resque==
==Using Ubuntu live CD for resque==
*[https://help.ubuntu.com/community/LiveCdRecovery LiveCdRecovery
*[https://help.ubuntu.com/community/LiveCdRecovery LiveCdRecovery
==Download source code of package==
Add to /etc/apt/sources.list.d/ubuntu.sources
Types: deb-src
URIs: http://us.archive.ubuntu.com/ubuntu/
Suites: noble noble-updates noble-backports noble-proposed
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
then update
apt-get update
and to get the sources
apt-get source somepackage


= FAQ =
= FAQ =
Line 128: Line 149:




==Not all translations for this language are installed. Use the Install
==Not all translations for this language are installed.== Use the Install
Missing Packages button to download and install all missing packages==
Missing Packages button to download and install all missing packages


Instead of trying to find that mysterious button, try
Instead of trying to find that mysterious button, try
Line 138: Line 159:
Mirror not up to date?
Mirror not up to date?


==The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 23E7166788B63E1E==
apt-key adv --keyserver keyserver.ubuntu.com  --recv-keys 23E7166788B63E1E


==Get into grub menu during boot==
==Get into grub menu during boot==
Hold shift key
Hold shift key
==Error messages==
===The repository 'http://archive.ubuntu.com/ubuntu jammy InRelease' is no longer signed.===
Try again later?
===Could not connect to archive.ubuntu.com:443===
Doesn't support https, pick another mirror

Latest revision as of 15:23, 3 November 2024


Links

Installation

Ubuntu 20.04 LTS

Storage configuration

First create a boot partition!

Remember to umount cdrom before rebooting



Automatic install

 

Snags

Documentation

Network configuration

HOWTO

Change nameservers

If using systemd-resolved

Show nameservers

resolvectl status

Edit /etc/netplan/00-installer-config.yaml

netplan apply

Using Ubuntu live CD for resque


Download source code of package

Add to /etc/apt/sources.list.d/ubuntu.sources

Types: deb-src
URIs: http://us.archive.ubuntu.com/ubuntu/
Suites: noble noble-updates noble-backports noble-proposed
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg

then update

apt-get update

and to get the sources

apt-get source somepackage

FAQ

Installing Ubuntu

https://ubuntu.com/server/docs/install/storage

Select a boot disk

Set timezone

dpkg-reconfigure tzdata

Get ubuntu version

cat /etc/lsb-release
      

The repository 'http://packages.ros.org/ros/ubuntu cosmic Release' does not have a Release file.

Switch path to repositories to old-releases.ubuntu.com

disable ipv6

sysctl:

net.ipv6.conf.default.disable_ipv6=1
net.ipv6.conf.all.disable_ipv6=1

changing locale

/etc/default/locale

locale-gen
dpkg-reconfigure keyboard-configuration

setupcon
loadkeys us

and lots more

 

 

mail: command not found

install heirloom-mailx

OR

install mailutils

REMEMBER: to fix sender domain

create /etc/mailutils.conf containing

address {
       email-domain yourdom.ain;
};

and check out

mail --config-help

failed unmounting /var

ignore it? it's a journald issue

multipathd[667]: sda: failed to get sgio uid: No such file or directory

Seems to be vmware setting: disk.EnableUUID = true

CHECK!

 

The following signatures couldn't be verified because the public key is not available:

gpg --keyserver keyserver.ubuntu.com --recv-keys  9D6D8F6BC857C906


Upgrade to 22.04 (impish Release no longer has a Release file)

That sucks, now what? Check https://help.ubuntu.com/community/EOLUpgrades

When apt-get update fails, set your repositories to old-releases.ubuntu.com


Upgrades to the development release are only available from the latest supported release

More obscure mess. Check https://linuxconfig.org/how-to-upgrade-ubuntu-to-20-04-lts-focal-fossa


==Not all translations for this language are installed.== Use the Install Missing Packages button to download and install all missing packages

Instead of trying to find that mysterious button, try

check-language-support

which will list missing packages

Release file not valid yet

Mirror not up to date?


The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 23E7166788B63E1E

apt-key adv --keyserver keyserver.ubuntu.com  --recv-keys 23E7166788B63E1E

Get into grub menu during boot

Hold shift key

Error messages

The repository 'http://archive.ubuntu.com/ubuntu jammy InRelease' is no longer signed.

Try again later?


Could not connect to archive.ubuntu.com:443

Doesn't support https, pick another mirror