Title: Dog
Description: Pico is a stupidly simple, blazing fast, flat file CMS.
Author: Mat
Date: 3 April 2016
Template: index
Placing: 1
Tags: php, pico, project

wichtige Software ##
ShellInABox ###
Konfiguration
nano /etc/default/shellinabox
nano /etc/init.d/shellinabox
Webmin ###
wget http://prdownloads.sourceforge.net/webadmin/webmin_1.941_all.deb
dpkg --install webmin_1.941_all.deb
apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python
change the Webmin port:
nano -w /etc/webmin/miniserv.conf
/etc/init.d/webmin restart
https://euve268790.serverprofi24.de:48329
Komandozeilentools ###
Bash Befehlshistorie
history
Nano ###
Installation
get-apt install nano
SSH ###
Konfiguration
sudo nano /etc/ssh/sshd_config
User ###
Userliste sehen wer Sudo ist
nano /etc/group
neuer User -M ohne homedir, -m mit homedir
sudo useradd -M <Benutzername>
sudo passwd <Benutzername>
fail2ban ###
Installation
sudo apt install fail2ban
sudo cp /etc/fail2ban/jail.conf /etc/fail2ban/jail.local
Konfiguration
sudo nano /etc/fail2ban/jail.local
Restart
sudo systemctl restart fail2ban.service
sshguard ###
Installation
apt install sshguard
Parameter:
sudo nano /etc/default/sshguard
Logfile:
sudo nano /var/log/auth.log
Firewall UFW ###
Installation
apt-get install ufw
benutzte Ports zeigen
ss -nptl
Port freigeben i.e. SSH
ufw allow ssh
oder
ufw allow 22
Ein- bzw. Ausschalten
ufw enable
ufw disable
Status
ufw status numbered
Bei Installationsproblemen###
Reconfigure Package Database
sudo dpkg --configure -a
Use force install
sudo apt-get install -f
Try removing the troublesome package
sudo apt remove
Anleitungen ##
Docker ###
Docker Info
docker info
lokale Images
docker images
running Container
docker ps
all Container
docker ps -a
start Container
docker start ID oder NAMES
stop Container
docker stop ID oder NAMES
lösche Container
docker rm ID oder NAMES