enricorossi.org

Enrico Rossi


Articles tagged with linux

Appunti configurazione xen sotto Debian etch

Tags: howto, debian, xen, linux, tips, italian

IT flag

in /etc/xen/xend-config.sxp

se c'e' solo 1 ethernet

(network-script 'network-bridge netdev=eth0')

con 2 ethernet

add scripts/my-network-bridge

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
#!/bin/sh

# In /etc/xen/xend-config.sxp:
# (network-script my-network-script)
# they become translated into
# "$dir/network-bridge" start/stop vifnum=0/1 …
Read more...

Appunti installazione NIS

Tags: howto, debian, linux, tips, italian

IT flag

Installazione NIS NON usando le directory di sistema.

Solo sul server primario (i file li mettiamo in /etc/ypfiles):

/etc/defaults/nis

# Location of the master NIS password file (for yppasswdd).
# If you change this make sure it matches with /var/yp/Makefile.
YPPWDDIR=/etc/ypfiles

Modifiche a /var/yp …

Read more...

Appunti migrazione manuale xen

Tags: debian, howto, italian, linux, tips, xen

IT flag

Migrazione Manuale di una DomU

Bisogna spostare la macchina virtuale DomU dal server Xen_Source al server Xen_Dest.

opz. Tenere aggiornato il backup della macchina DomU e la sua configurazione su Xen_Backup.

nota: Questa e' una procedura di concetto, va' adattata a quella che e' la reale situazione della domu.

  • Pre-sincronizzazione …

Read more...

Squidguard open and close sites

Tags: debian, howto, linux, tips

How to open a blocked site from the blacklists

  • Login into the Squidguard server.
  • su - proxy (better avoiding root account)
  • cd /var/lib/squidguard/site_perm/
  • edit domains file and add the domain to be opened.
  • edit domains.diff file and add the domain to be opened with a + at the …
Read more...

Linksys Openwrt

Tags: embedded, howto, italian, linux, tips

IT flag

Appunti sul setup dell'OpenWRT nel router Linksys.

password: mypassword

/etc/firewall.user

### DMZ
## -- Connections to ports not handled above will be forwarded to 192.168.1.2
iptables -t nat -A prerouting_wan -j DNAT --to IP-DMZ-SERVER
iptables        -A forwarding_wan -d IP-DMZ-SERVER -j ACCEPT

nvram set and nvram commit

wl0_macmode=allow …
Read more...
← Previous Page 4 / 5 Next →