Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
linux:skoleni:hromadna_bezpecnost [2015/06/04 12:30]
admin created
linux:skoleni:hromadna_bezpecnost [2017/03/22 19:26] (current)
admin
Line 1: Line 1:
 ====== Predpekli (Void) ====== ====== Predpekli (Void) ======
 +<​code>​
 gpg --recv-key 7638D0442B90D010 --keyserver key.ubuntu.com gpg --recv-key 7638D0442B90D010 --keyserver key.ubuntu.com
 gpg --export 7638D0442B90D010 | apt-key add - gpg --export 7638D0442B90D010 | apt-key add -
  
  
 +apt-get install puppet fail2ban cryptosetup-luks
 +</​code>​
 +
 +Ekvivalent ''​watch''​
 +<code bash>
 +while true; do iptables -L -n; sleep 2;clear; done
 +</​code>​
 ====== Client side ===== ====== Client side =====
 1. add puppet to your /etc/hosts 1. add puppet to your /etc/hosts
Line 15: Line 23:
  
 <code bash> <code bash>
-xen-jpcomp:~# puppetd --server puppet --test+xen-starlab:~# puppetd --server puppet --test
 info: Creating a new SSL key for xen-jpcomp.jpcomp.cz info: Creating a new SSL key for xen-jpcomp.jpcomp.cz
 info: Caching certificate for ca info: Caching certificate for ca
 
linux/skoleni/hromadna_bezpecnost.1433413844.txt.gz · Last modified: 2015/06/04 12:30 by admin