Ubuntu: Difference between revisions
From DWIKI
mNo edit summary |
m (→disable ipv6) |
||
(13 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
= Links = | = Links = | ||
*[http://ubuntu.com http://ubuntu.com] | *[http://ubuntu.com http://ubuntu.com] | ||
*https://linuxize.com/post/how-to-add-apt-repository-in-ubuntu/ | |||
= Installation = | = Installation = | ||
Line 15: | Line 15: | ||
Remember to umount cdrom before rebooting | Remember to umount cdrom before rebooting | ||
== Automatic install == | |||
*[https://ubuntu.com/server/docs/install/autoinstall https://ubuntu.com/server/docs/install/autoinstall] | |||
*[https://tlhakhan.medium.com/ubuntu-server-20-04-autoinstall-2e5f772b655a Ubuntu Server 20.04 autoinstall] | |||
*[https://louwrentius.com/understanding-the-ubuntu-2004-lts-server-autoinstaller.html Understanding the Ubuntu 20.04 LTS Server Autoinstaller] | |||
*[https://discourse.ubuntu.com/t/please-test-autoinstalls-for-20-04/15250/166 Discourse - Please test autoinstalls for 20.04] | |||
*[https://cloudinit.readthedocs.io/en/latest/topics/examples.html Cloudconfig examples] | |||
| |||
=== Snags === | |||
= FAQ = | = FAQ = | ||
Line 21: | Line 36: | ||
cat /etc/lsb-release | cat /etc/lsb-release | ||
== 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 |
Revision as of 10:42, 22 April 2022
Links
Installation
Ubuntu 20.04 LTS
Storage configuration
First create a boot partition!
Remember to umount cdrom before rebooting
Automatic install
- https://ubuntu.com/server/docs/install/autoinstall
- Ubuntu Server 20.04 autoinstall
- Understanding the Ubuntu 20.04 LTS Server Autoinstaller
- Discourse - Please test autoinstalls for 20.04
- Cloudconfig examples
Snags
FAQ
Get ubuntu version
cat /etc/lsb-release
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