Last active
June 30, 2023 00:29
-
-
Save hyunbinseo/16362e61636b980723512ceb551b51d3 to your computer and use it in GitHub Desktop.
Setup Ubuntu Server
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Moved to https://github.com/hyunbinseo/blog/blob/master/posts/setup-linux.md | |
### Remote Desktop ############################################################ | |
sudo apt install xfce4 xrdp | |
sudo systemctl enable xrdp | |
# Applications / Settings / Screensaver | |
# [ ] Enable Screensaver | |
# [ ] Lock Screen with Screensavera | |
### Korean Locale and Fonts ################################################### | |
sudo dpkg-reconfigure locales | |
sudo apt install fonts-nanum ibus ibus-hangul | |
# Applications / Settings / IBus Preferences | |
# Input Method / Korean - Hangul (Remove English) | |
### Remove Authentication Request on Boot ##################################### | |
# Authentication is required to create a color profile | |
# https://c-nergy.be/blog/?p=12043 | |
sudo touch /etc/polkit-1/localauthority/50-local.d/45-allow-colord.pkla | |
sudo nano /etc/polkit-1/localauthority/50-local.d/45-allow-colord.pkla | |
# [Allow Colord all Users] | |
# Identity=unix-user:* | |
# Action=org.freedesktop.color-manager.create-device;org.freedesktop.color-manager.create-profile;org.freedesktop.color-manager.delete-device;org.freedesktop.color-manager.delete-profile;org.freedesktop.color-manager.modify-device;org.freedesktop.color-manager.modify-profile | |
# ResultAny=no | |
# ResultInactive=no | |
# ResultActive=yes | |
### Remove Authentication Request on Boot ##################################### | |
# https://support.yubico.com/hc/en-us/articles/360013708900 | |
sudo touch /etc/udev/rules.d/70-u2f.rules | |
sudo nano /etc/udev/rules.d/70-u2f.rules | |
# https://github.com/Yubico/libfido2/blob/main/udev/70-u2f.rules | |
### DNS ####################################################################### | |
# https://ubuntu.com/server/docs/network-configuration | |
# https://manpages.ubuntu.com/manpages/jammy/man8/systemd-resolved.service.8.html | |
sudo nano /etc/systemd/resolved.conf | |
# [Resolve] | |
# DNS=94.140.14.14 | |
# FallbackDNS=94.140.15.15 | |
resolvectl dns | |
# Global: 94.140.14.14 | |
### Miscalleneous ############################################################# | |
sudo apt install xfce4-screenshooter |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Moved to https://github.com/hyunbinseo/blog/blob/master/posts/setup-linux.md