This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
linux:system_config [2016/08/04 18:00] tkilla |
linux:system_config [2019/01/24 21:43] (current) tkilla [APT / dpkg] |
||
---|---|---|---|
Line 2: | Line 2: | ||
Debian & Ubuntu style | Debian & Ubuntu style | ||
+ | |||
+ | |||
+ | ===== APT / dpkg ===== | ||
+ | |||
+ | get installed packages: | ||
+ | |||
+ | dpkg --get-selections > dpkgselections | ||
+ | | ||
+ | set & install packages from file: | ||
+ | |||
+ | dpkg --set-selections < dpkgselections | ||
+ | |||
+ | dselect update | ||
+ | apt-get -u dselect-upgrade | ||
+ | |||
+ | # or: | ||
+ | aptitude install | ||
+ | |||
+ | |||
+ | ==== Apt Redirect MITM Bug 01.2019 ==== | ||
+ | |||
+ | https:// | ||
+ | |||
+ | **Workaround: | ||
+ | |||
+ | Sources List: | ||
+ | deb http:// | ||
+ | |||
+ | ' | ||
+ | apt -o Acquire:: | ||
+ | apt -o Acquire:: | ||
+ | |||
+ | |||
+ | wget http:// | ||
+ | dpkg -i liblz4-1_0.0~r131-2+b1_amd64.deb | ||
+ | rm -f liblz4-1_0.0~r131-2+b1_amd64.deb | ||
+ | |||
+ | apt install apt apt-transport-https apt-utils libapt-pkg5.0 libapt-inst2.0 libapt-pkg5.0 | ||
+ | |||
+ | apt -o Acquire:: | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
===== Date, Time and Timezones ===== | ===== Date, Time and Timezones ===== | ||
- | == get date & time == | + | ==== get date & time ==== |
date | date | ||
| | ||
- | == set date & time == | + | ==== set date & time ==== |
date --set 1998-11-02 | date --set 1998-11-02 | ||
Line 16: | Line 63: | ||
| | ||
| | ||
- | == set timezone == | + | ==== set timezone |
dpkg-reconfigure tzdata | dpkg-reconfigure tzdata | ||
- | == fix locale | + | |
+ | ==== fix locales ==== | ||
apt-get install locales | apt-get install locales | ||
Line 27: | Line 75: | ||
locale | locale | ||
+ | If you still get " | ||
- | ===== fail2ban ===== | + | export LANGUAGE=en_US.UTF-8 |
- | + | export LANG=en_US.UTF-8 | |
- | debugging: | + | |
- | + | | |
- | if the service doesn' | + | |
- | + | ||
- | for some useful error messages: | + | |
- | | + | |
- | + | ||
- | too much cpu / ram usage maybe a problem with / | + | |
- | + | ||
- | trace which files are opened / closed all the time by one of the server threads: | + | |
- | + | ||
- | | + | |