mkisofs -J -allow-lowercase -R -V "isoname" -iso-level 4 -o yourName.iso ~/your/directory
This requires arp-scan to be installed
arp-scan -I eth0 192.168.1.0/24
what is docker for? How to start with Docker? An example of a web hosting provider.
Duh!
This is not meant to be the thousandth “How To use Docker”. I’m going to write down my experience I’m making with Docker here. Basically, Docker is only one of many container solutions that exist at the moment, the special thing about Docker is its large user base. Similar to the Raspberry Pi, it is by no means the most powerful device, but the large community makes up for it. There are hundreds of explanations and how to’s for every problem, but copy’ n paste is not the right solution for every problem. I write here in the hope that you want to understand what you are doing and not just throw everything into the terminal without thinking about it.
Ufw is for managing a Linux firewall and aims to provide an easy interface to iptables for the user. Install and configure ufw do this as root user or use sudo:
apt install ufw
Set default rules
ufw default deny incoming ufw default allow outgoing
Allow connections
These commands both allow a connection on port 22 using the TCP protocol. Use one they end up in the same IPtables:
ufw allow ssh ufw allow 22/tcp
How to tar a complete remote directory:
tar jcpf - [sourceDirs] | ssh user@host "cat > /path/to/backup/backupfile.tar.bz2"
List all files and directories in descending order with pretty unitsdu --max-depth=1 | sort -r -n | awk '{split("k m g",v); s=1; while($1>1024){$1/=1024; s++} print int($1)" "v[s]"\t"$2}'