User Tools

Site Tools


Sidebar






newpage

linux:system_config

This is an old revision of the document!


System Config

Debian & Ubuntu style

APT / dpkg

get installed packages:

dpkg --get-selections > dpkg_selection

set & install packages from file:

dpkg --set-selections < dpkg_selection
aptitude install
# or:
apt-get -u dselect-upgrade

Date, Time and Timezones

get date & time
date
set date & time
date --set 1998-11-02 
date --set 21:08:0
set timezone
dpkg-reconfigure tzdata
fix locale
apt-get install locales
dpkg-reconfigure locales
locale

fail2ban

debugging:

if the service doesn't start

for some useful error messages:

fail2ban-client -x start

too much cpu / ram usage maybe a problem with /etc/localtime

trace which files are opened / closed all the time by one of the server threads:

strace -f -p <various pids of fail2ban processes

try to delete the database in /var/lib/fail2ban

linux/system_config.1472765124.txt.gz · Last modified: 2016/09/01 23:25 by tkilla