Debian - Kernel Headers

Memo: Install linux-header package # apt-get install linux-headers-$(uname -r)

14 April 2010 @ 07:27 · Updated: 30 June 2026 @ 03:28 · leo

Debian NetInstall - Sparc

Per prima cosa è necessario avere un host linux nel mio caso Debian, e poi ovviamente una Sparc :) Sull’host linux è necessario avere un server rarp e tftp quindi installiamo in questo modo: vm01:~# apt-get install rarpd tftpd-hpa Configuriamo rarpd, editando il seguente file /etc/ethers inserendo una riga con mac address della sparc (si può vedere appena accesa da OpenBoot): XX:XX:XX:XX:XX:XX 192.168.xx.xx Riavviamo per applicare le modifiche: vm01:~# /etc/init.d/rarpd restart ...

16 January 2010 @ 22:54 · Updated: 30 June 2026 @ 03:28 · leo

Extract files from DEB package

Some day ago, I wrote about RPM extraction, today I need content of DEB packcage, on the contrary of rpm systems debian package manager allow to extract natively by this command: #dpkg-deb -x somepackage.i386.deb But my problem is different, I not using Debian sytem, fortunately DEB files are “ar” archives, which contain three files: debian-binary control.tar.gz data.tar.gz first, extract “ar” archive with this simple command: # ar vx somepackage.i386.deb then extract the contents of data.tar.gz using tar: ...

10 November 2009 @ 06:00 · Updated: 30 June 2026 @ 03:28 · leo

Miaoo - Tomcat su Debian

Breve draft su come installare tomcat su debian, in questo caso lenny, le versioni dei pacchetti potrebbero cambiare ma il risultato finale è quello. Partiamo installando quello che ci serve: #apt-get install tomcat5.5 tomcat5.5-admin sun-java5-jdk tomcat5.5-webapps Attenzione, se l’installazione debian di default sicuramente non trovo il java jdk, è necessario quindi aggiungere il repository non-free, in apt editando in questo modo: /etc/apt/source.list deb http://your-mirror-url/debian/ lenny main non-free deb-src http://your-mirror-url/debian/ lenny main non-free Configurare il sistema per utilizzare java ...

18 July 2009 @ 03:40 · Updated: 30 June 2026 @ 03:28 · leo

Debian - Service startup

Under Debian Linux startup files are stored in /etc/init.d/ directory and symbolic linked between /etc/rcX.d/ directory exists. Debian Linux uses System V initialization scripts to start services at boot time from /etc/rcX.d/ directory. Debian Linux comes with different utilities to remove unwanted startup file Using rcconf: This tool configures system services in connection with system runlevels. It turns on/off services using the scripts in /etc/init.d/. Rcconf works with System-V style runlevel configuration. It is a TUI(Text User Interface) frontend to the update-rc.d command. ...

26 January 2009 @ 03:23 · Updated: 30 June 2026 @ 03:28 · leo

Debian - PXE installation

Dato che ultimamente è più facile per me avere a portata di mano un portatile o dispositivo simile e non i cd che vanno innesorabilmente persi, mi sono deciso a mettere un sistema di boot PXE sul notebook per effettuare l’installazioni dei server. Ecco quello che serve per partire, è necessario avere questi 3 pacchetti: Il server TFTP dove risiederanno le immagini di boot. Il server DHCP per distribuire gli indirizzi e i parametri PXE Il dnsmasq questo servirà ad installazione avviata per recuperare i pacchetti dal repository Quindi prima cosa installiamo: root@tardis:~/apt-get install tftpd-hpa dhcp3-server dnsmasq ...

15 November 2008 @ 16:09 · Updated: 30 June 2026 @ 03:28 · leo

VPS Linux - TUN/TAP Device

Se aquistato una vps con Debian basata su XEN ricordatevi che nella maggio parte dei casi mancano tools per gestire i moduli quindi per utilizzare un qualsiasi modulo in questo caso particolare tun/tap occorre installarli: # apt-get install module-init-tools #modprobe tun # mkdir /dev/net # mknod /dev/net/tun c 10 200 A questo punto è tutto pronto. Per riconoscere se è questo il vostro problema è facile incorrere in questo errore: ...

10 November 2008 @ 12:08 · Updated: 30 June 2026 @ 03:28 · leo