enricorossi.org

Enrico Rossi


Articles by Enrico Rossi

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...

Gfs Debian etch

Tags: debian, howto, italian, linux

IT flag

Bisogna installare CLVM e modificare l'/etc/lvm/lvm.conf per attivare il locking del cluster.

locking_library = "liblvm2clusterlock.so"
locking_type = 2
library_dir = "/lib/lvm2"

/etc/cluster/cluster.conf

<?xml version="1.0"?>
<cluster name="cluster1" config_version="4">
  <cman two_node="1" expected_votes="1"/>
  <clusternodes>
  <clusternode name="nfs2" votes="1">
  <fence>
  <method …
Read more...
← Previous Page 13 / 15 Next →