find packages that are not used:
1) install deborphan
aptitude install deborphan
2) use the tool orphaner or deborphan
orphaner
deborphan --guess-all
3) remove unwanted packages
deborphan --guess-all | xargs apt-get remove --purge -y
4) clean databases
aptitude clean
Month: September 2015
check open ports incl. associated task
to check for all open ports on a server netstat is the tool of choice and here are some common options:
netstat -na show all open ports without dns resolving for speed
netstat -tlnup show all open ports and the associated programm using this port
msmtp – config
To add the capability of sending email from any host I decided to install msmtp-mta on any host that does not include a full email server. The config is done in the file: /etc/msmtprc
and here is the contents:
account default
host cubietruck.steppenwolf.de
auto_from on
maildomain steppenwolf.de
tls on
tls_trust_file /etc/CA/cert.pem