ferzip.com

Ti serve un programmatore sistemista freelance…contattami!

clone disk whit dd

how to backup all disk of my pc? include MBR table? is easy use DD

(continua…)

share save 120 16 clone disk whit dd

Installare Debian GNU/kFreeBSD con supporto ZFS

Cos’è Debian GNU/kFreeBSD ?
Debian GNU/kFreeBSD è un sistema operativo per Debian, che usa il kernel di FreeBSD invece del kernel Linux (da qui il nome). Verrà il giorno in cui la maggior parte delle applicazioni esisterà sia in Debian GNU/kFreeBSD sia in Debian GNU/Linux.

Cos’è ZFS?
ZFS è un nuovo tipo di file system che fornisce una semplice amministrazione, una approccio transazionale, una integrità del dato “end-to-end” e una immensa scalabilità (128-bit). ZFS non è un miglioramento “incrementale” alla tecnologia esistente, ma è un nuovo approccio alla gestione dei dati creato eliminando alcune assunzioni di base che risalevano a 20 anni fa.

Come si installa?

1) download della iso solo con supporto amd64 di debian kfreebsd per esempio cosi
curl -C – -L -O http://ftp.nl.debian.org/debian/dists/squeeze/main/installer-kfreebsd-amd64/current/images/netboot/mini.iso

2) far partire l’installazione di defualt (si sono pigro)
Selezione 0021 300x171 Installare Debian GNU/kFreeBSD con supporto ZFS
3) seguire i passi per lingua , mirror , configurazione di rete , user e password, nel virtual machine allegata ( user root password ferzip , e utente user con password ferzip )
Selezione 0031 300x171 Installare Debian GNU/kFreeBSD con supporto ZFS

4) attenzione in macchine virtuali durante l’installazione potrebbe presentarsi un errore di di svuotamento cache del disco
Selezione 0041 300x172 Installare Debian GNU/kFreeBSD con supporto ZFS

5) procedere poi con la formattazione del disco , attenzione se si usa la procedura guidata personalizzare la partizione selezionando il filesistem ZFS come da slide qua sotto

6) procedere con la normale installazione e quando richiesto selezione l’evemenent prescelto
Selezione 014 300x171 Installare Debian GNU/kFreeBSD con supporto ZFS

7) continuare con la procedura guidata fino alle fine
Selezione 016 300x171 Installare Debian GNU/kFreeBSD con supporto ZFS

icon cool Installare Debian GNU/kFreeBSD con supporto ZFS TATA ecco il nuovo sistema installato
user@ferzip-freeBSD-zfs:~$ uname -a
GNU/kFreeBSD ferzip-freeBSD-zfs 8.1-1-amd64 #0 Wed Oct 19 14:57:54 CEST 2011 x86_64 amd64 Intel(R) Core(TM) i3 CPU M 350 @ 2.27GHz GNU/kFreeBSD
user@ferzip-freeBSD-zfs:~$ mount
ferzip-freeBSD-zfs-ad0s1 on / (zfs, local)
devfs on /dev (devfs, local, multilabel)
linprocfs on /proc (linprocfs, local)
linsysfs on /sys (linsysfs, local)
fdescfs on /dev/fd (fdescfs)
tmpfs on /lib/init/rw (tmpfs, local, nosuid)

share save 120 16 Installare Debian GNU/kFreeBSD con supporto ZFS

Verifica certificati SSL

Controllo della richiesta CRS
openssl req -text -in certificate.CRS

Controllo certificato rilasciato

openssl s_client -connect google.com:443

share save 120 16 Verifica certificati SSL

vmware workstation 8 and kernel 3.x – patch

The new vmware workstation have a problem whit ( vmnic ) network interface and kernel 3.x version this patch fix it
(continua…)

share save 120 16 vmware workstation 8 and kernel 3.x   patch

Fix Java-plugin on firefox – linux

Run this command:

update-alternatives –install /usr/lib/mozilla/plugins/mozilla-javaplugin.so mozilla-javaplugin.so /usr/lib/jvm/java-6-sun/jre/lib/i386/libnpjp2.so

With sun-java6-plugin installed, run “sudo update-alternatives –config mozilla-javaplugin.so”, and select the alternative

share save 120 16 Fix Java plugin on firefox   linux

How to Building and Installing a Custom Kernel version 3

In some cases you might want to compile your own kernel that suits your needs better than the standard kernel that comes with your distribution. I will describe how to do this on a Debian like machine , ( ubuntu family) in only 10 easy step!
(continua…)

share save 120 16 How to Building and Installing a Custom Kernel version 3

NETGEAR ReadyNAS, ip aggiuntivi con interfacce in bond

1) installare il plug-in http://www.readynas.com/?p=4203

2) accedere via ssh come root

3) modificare

vi /etc/network/interfaces

=============================== esempio =================
# This file is auto-generated. Do not modify!
auto lo
iface lo inet loopback

auto bond0
iface bond0 inet static
address 10.3.6.4
netmask 255.255.0.0
gateway 10.3.0.1

auto bond0:1
iface bond0:1 inet static
address 172.30.8.2
netmask 255.255.0.0
gateway 10.3.0.1

auto eth0
iface eth0 inet static
address 10.3.6.4
netmask 255.255.0.0
gateway 10.3.0.1

auto eth1
iface eth1 inet static
address 10.3.6.5
netmask 255.255.0.0
gateway 10.3.0.1

============================================================

4) riavviare il network
/etc/init.d/networking restart

5) bloccare il file in sola lettura
chattr +i /etc/network/interfaces

6) editare il file
/etc/rc2.d/S01readynas_startup
aggiungendo come ultima riga
/etc/init.d/networking restart

NB con questa modifica non sarà più possibile modificare le impostazione di rete da interfaccia web
ma bisogna accedere via ssh e dare
chattr -i /etc/network/interfaces
poi sarà di nuovo modificabile

share save 120 16 NETGEAR ReadyNAS, ip aggiuntivi con interfacce in bond

How to find open proxy

I wrote a simple shell script to find a open proxy, basicaly it analize the log of webserver , extract the source ip client and try if on this ip have a proxy( only some standard port 80,8080,3128).This script don’t have “memory” if in log find more than one istance of ip, retry the check every time.
Only the ip who running an open proxy is strored in a file call “result.log”, to run this script yun need only curl.
(continua…)

share save 120 16 How to find open proxy

Simple Network Scanner for UBUNTU

I have just write this simple network scanner, It working in VERY simple methot, it han’t any input parameter only output.
At first is check my IP, and execute an arping comand for all 254 ip of the subnet

(continua…)

share save 120 16 Simple Network Scanner for UBUNTU

easter eggs: Ubuntu e Debian – trucchi segreti

Questi easter eggs per alcuni sono già noti ma per molti sono dei trucchi nuovi per ubuntu / debian

(continua…)

share save 120 16 easter eggs: Ubuntu e Debian   trucchi segreti
Get Adobe Flash playerPlugin by wpburn.com wordpress themes