Disabilitare o abilitare il firewall in HYPER-V 2008 e Windows Server 2008 dalla riga di comando
A volte capita di dover abilitare/disabilitare il firewall dalla riga di comando in HYPER-V o Windows Server 2008. Ecco i comandi
Per disabilitarlo
netsh advfirewall set currentprofile state off
Per abilitarlo
netsh advfirewall set currentprofile state on
Tags:firewall , hyper-v , windows server 2008 , windows server 2008 R2
Debian iptables startup script

Per prima cosa occorre salvare la configurazione del firewall con il comando iptables-save > /etc/firewall.conf Poi occorre andare creare un file in /etc/network/if-up.d cd /etc/network/if-up.d touch iptables chmod 755 iptables e al suo interno occorre scrivere #!/bin/sh iptables-restore < /etc/firewall.conf
Read more...Debian pre-requisti per installare VMware Tools

Basta lanciare il comando apt-get install binutils gcc make linux-headers-$(uname -r)
Read more...Installare un server Rsync in debian

Per prima cosa installiamo i pacchetti necessari apt-get install rsync openbsd-inetd Poi creiamo il file /etc/rsyncd.conf (in questo esempio andremo a sincronizzare l cartella /home/prova per l’utente pippo) max connections = 10 log file = /var/log/rsync.log timeout = 300 pid file=/var/run/rsyncd.pid [prova] comment = Rsync prova path = /home/prova read only = no list = yes uid = pippo gid = root auth users=pippo list = yes hosts allow =…
Read more...CentOS 6 network install

Per prima cosa occorre scaricare il cd “network install” da: http://isoredirect.centos.org/centos/6/isos/ Poi occorre mettere il mirror in base alla versione scelta (32 bit o 64 bit): 32 bit: http://mirror.centos.org/centos/6/os/i386/ 64 bit: http://mirror.centos.org/centos/6/os/x86_64/
Read more...
Add One