Archive

Posts Tagged ‘distro’

Goooodoooooo!

March 26th, 2007 bodom_lx No comments

Sul mio serverino virtuale sto installando:
- la versione di apache che voglio io
- i moduli di apache che voglio io
- la versione di php che voglio io
- le estensioni di php che voglio io
- la versione di mysql che voglio io

Inutile dire che:
- i file di configurazione di apache sono quelli che voglio io
- il file di configurazione di php5 é come lo voglio io
- I sottodomini vengono creati come voglio io e sono quelli che voglio io

Volete sapere la distro scelta per il server? :cool:

Powered by Debian linux
Image taken from http://www.fede-ulg.org

E tutto bleeding-edge software! Non vedo l’ora di finire e trasferirmi lí :D
edit: per il poco spazio e per le poche risorse a disposizione (non posso permettermi 30-50€ al mese :-( ) sono dovuto passare per forza di cose a Debian, in quanto Gentoo non ce la faceva.. Va beh va bene lo stesso!

Related posts

Archlinux

January 2nd, 2007 bodom_lx 6 comments

Dopo un anno e mezzo di fedeltá a Ubuntu ho deciso di cambiare ed usare una distribuzione che faccia piú quello che desidero.
Ho avuto un periodo di circa due mesi di download, format ed installazioni di distro (mi é tornato il vizio che avevo alla WebValley), ne ho provate di tutti i colori: Slackware, Debian Etch/Sid, VectorLinux, FreeBSD, Mandriva, OpenSuSE, Gentoo, Sabayon, e altre che non mi ricordo neppure. Tutte hanno i loro pregi ed i loro difetti, ma tra queste ne esiste una che ha colmato ogni mia richiesta!
Si tratta di Archlinux, una distribuzione basata inizialmente su CRUX, ma sviluppata poi indipendentemente, altamente ottimizzata per i686 (ed esistono i port per x86-64 e ppc). Archlinux é dannatamente veloce (soprattutto il boot, 17 secondi sul mio portatile), ricorda molto Slackware ma segue molto di piú il principio KISS.
Bisogna davvero avere voglia di imparare per usarla, la cosa interessante é che si puó scegliere di scaricare una iso da circa 150mb contenente solo le cose necessarie per il boot ed il collegamento ad una rete, ed installarsi poi tutto ció che serve. É bello perché se si maneggia bene, si ha un sistema perfettamente funzionante in un paio d’ore, che dá letteralmente merda (chiedo scusa) a Gentoo, e senza dover compilare e ricompilare per ore.
Per chi se lo chiedesse, si, Archlinux ha pure un sistema tipo Portage di Gentoo, chiamato ABS. Se non foste soddisfatti dell’otimizzazione di un pacchetto (impossibile :P ) potete scaricare il sorgente e compilare. É utile soprattutto per costruire un kernel personalizzato.
Per la gestione dei pacchetti, Arch utilizza Pacman, estremamente potente e veloce, che non ha nulla da invidiare rispetto ad apt-get. Utilizza dei repositories mantenuti dagli sviluppatori ufficiali, ma anche uno estremamente grosso mantenuto dalla comunitá, chiamato AUR.
Archlinux si basa su dei file testuali per la configurazione del sistema, tanto é vero che la maggior parte delle volte che dovrete apportare modifiche, utilizzerete il file /etc/rc.conf, strutturato in modo semplice ed in grado di gestire gran parte delle necessitá del sistema. No, non esistono utility grafiche, Arch segue il prima nominato principio KISS, ed uno suo, il cosiddetto Arch Way. Dateci un’occhiata.
Archlinux é dotato generalmente dell’ultima versione di ogni pacchetto di cui potreste avere bisogno..
Potrei davvero parlare a lungo e dire tante cose, ma se doveste avere altre domande non esitate a postare un commento, vi risponderó molto volentieri!

Se voleste decidere di fare il grande passo, consiglio di leggere:

Purtroppo temo che Ubuntu-it non avrá piú il mio contributo, sono generalmente deluso dai suoi utenti, a parte delle rare eccezioni, come Milo Casagrande, al quale va tutto il mio rispetto.
Si ricomincia da capo dunque, mettendo via l’anno e mezzo di Ubuntu ed i precedenti quattro anni e mezzo di Slackware, Mandrake, Suse (si ho cominciato con Slackware perché non riuscivo ad installare Debian :P :P :P )

Related posts

OpenOffice.org 2.1.0 Debian Packages + Installer

December 23rd, 2006 bodom_lx 2 comments

I’ve just created an archive containing the last version of OpenOffice.org (2.1.0) with all the packages already converted for Debian (or any Debian based distro). My little release contains a Bash script that will uninstall your old version of OpenOffice.org and will install the new one, and the Gnome integration, too..
This is not really a big work, but at least you won’t need to download the rpm version of OpenOffice.org, convert the rpm with alien, uninstall your old OpenOffice.org packages, and install the new packages.
If you’ve got comments, put them on this page, but first go get it!

Related posts

How to manage a card reader and the FSFE crypto card

December 17th, 2006 bodom_lx 9 comments

Just after 15 days I’m publishing a second English tutorial. This time I’ll speak about the Fellowship crypto card and how to make it work with a card reader (don’t you know what I’m talking about? Read this page about the fsfe card).
There are some nice tutorials around the net, I assembled them and there you will find how to install a card reader (in this case the famous SCR335) under Ubuntu, but it should work with every distro which uses Udev.
With this tutorial, you will be able to access your smart card reader without being root!
This tutorial is COPY & PASTE capable, if you don’t want to read all the comments, you can just copy and past these commands in your terminal, it should work without adjustments
EDIT: you don’t need pcscd/libpcsclite-dev, I would really thank Michael Kallas and Matthias Kirschner for their help!
First, install libusb-dev:

sudo apt-get install libusb-dev


I reccommend to install pcsc for accessing the card reader:

sudo apt-get install pcsc-tools pcscd


Now we need to set up the Udev rules and scripts, for accessing the usb card reader.
Download gnupg-ccid.rules in the right dir:

cd /etc/udev/
sudo wget http://www.fsfe.org/en/content/download/17665/125518/file/gnupg-ccid.rules

Download gnupg-ccid in the scripts dir:

cd /etc/udev/scripts/ (create it if it doesn’t exists)
sudo wget http://www.fsfe.org/en/content/download/17248/121800/file/gnupg-ccid

We need to set the correct permissions and a symbolic link:

sudo chmod +x /etc/udev/scripts/gnupg-ccid
sudo ln -s /etc/udev/gnupg-ccid.rules /etc/udev/rules.d/gnupg-ccid.rules

All the configuration files are in the right place and with the right permissions by now.

You will now create a group scard, give this group permission to access the smart card reader, and include the users who should have access to the card reader to this group.

sudo addgroup scard
sudo addgroup $USER scard

If $USER doesn’t work, replace it with your user login name.
Then create the file /etc/udev/rules.d/smart_card.rules using this command (thanks to gerloff)

cd /etc/udev/rules.d/
sudo wget http://download.task3.cc/smart_card.rules


Install libpcslite-dev (you need it because of some Udev problems)

sudo apt-get install libpcsclite-dev


Restart the system. You can verify the correct installation of the card reader with:

gpg –card-status

I hope you will find this tutorial useful :D

Credits:

Related posts

Hp nx6325 (and friends) thermal problems solved

December 2nd, 2006 bodom_lx 24 comments

Update 06-03-2007: You won’t need this script with a kernel >= 2.6.21.

Update 04-21-2007: I heard that you won’t need this script with a 2.6.21 kernel, I´m using a 2.6.20 kernel and the problem still exists.

Update 12-25-2006: Renamed the script as fancontrol-bd, because there already exists a program called fancontrol, written in perl

Update 12-14-2006: this method has been tested under various distros (Archlinux, Sabayonlinux, Fedora, Mandriva, Ubuntu) and it really works!

First of all, sorry for my bad English, I didn’t write this article in Italian just because a lot of people could benefit from it (lol).

Unfortunately it has been known that some Hp notebooks powered by AMD Turion 64 X2 / Sempron CPUs have got thermal problems. There are a lot of very good tutorials on how to install Linux on the Hp Nx6325 notebook (see Tuxmobil for details), and everybody has his own “solution” to the problem. What I found, following all the tutorials and applying all possible kernels and patches, is that the problem still persists, or is just reduced. My personal solution works and is tested with kernels >= 2.6.17 (I tried 2.6.17, 2.6.18.3, 2.6.19 with all possible patchsets [mm, ck, beyond, ..]).
I noticed that, with every proposed solution, even with a correct DSDT, there was still a big problem: sometimes the fans “forget” to start or to increase their speed. While I was trying several kernels and patchsets, I read this tutorial on tuxmobil, that suggests to add the following lines to /etc/rc.local:

— snip —
echo 1 > /proc/acpi/thermal_zone/TZ1/polling_frequency
echo 1 > /proc/acpi/thermal_zone/TZ2/polling_frequency
echo 1 > /proc/acpi/thermal_zone/TZ3/polling_frequency
— snip —

With this lines you force your system at boot to set the polling frequency of the fans every 1 second. On my notebook that didn’t work.
Well, I was playing with echo and the polling frequency, and I noticed that a

echo 0 > /proc/acpi/thermal_zone/TZ1/polling_frequency

Does refresh the state of the fans. Everytime. No matter if the temp is either rising or diminishing. No matter which value you set to the polling frequency.
The solution I propose is the following (I didn’t try it with the broken original DSDT, but I know a friend with my same notebook and the original DSDT, I’ll let you know ;-) ) yes it works even with a broken original DSDT!:

Create this bash script, as root, called fancontrol-bd, in /usr/bin

#!/bin/sh
#/usr/bin/fancontrol-bd
# bodom_lx <bodom_lx ||AT|| fsfe ||DOT|| org> fan control script
while true;do
echo "0" > /proc/acpi/thermal_zone/TZ1/polling_frequency
# refresh time, in seconds
sleep 20
done

Make it executable:

# chmod 755 /usr/bin/fancontrol-bd

Then add it to the startup of your system, for example in /etc/rc.local

echo "/usr/bin/fancontrol-bd &" >> /etc/rc.local

Up from the next system start, your fan state will be updated every 20 seconds (you can play with this number, but I suggest to set it above 15 seconds because of the infinite loop). Maybe it won’t be perfectly synchronized with the temp state (i.e., it could rise the fan speed at 62 degrees instead of 60 degrees, or it could work at 60 degrees precise), but it works. Really. A smaller refresh-number will rise the precision, but I believe that you will be happy anyway ;-)
This method works even with a broken dsdt, but I remember you that a broken dsdt will keep your CPU temp very high anyway.
Please mail me if you find some problems with this method.

Related posts

Il veloce ritorno di Ubuntu

September 20th, 2006 bodom_lx No comments

Non potevo resistere a lungo, per fortuna la nuova Knot-3 di Ubuntu Edgy Eft supporta piuttosto bene il mio portatile (a dire il vero lo fa giá meglio della OpenSuSE).

Come dissi ai tempi delle Knot di Dapper Drake, questa distro sará un´autentica figata! A cominciare dallo stesso boot, non piú organizzato dal sistema init, ma da upstart, che lo rende velocissimo. Vi consiglio di provarla, tanto é giá molto stabile, ma prima leggete un po´ delle novitá introdotte: http://www.ubuntu.com/testing/knot3

Per chi ama Gentoo ma ha paura della sua installazione, mi sono soffermato per pochi giorni su una sua personalizzazione italiana davvero molto bella e interessante, Sabayon Linux, veloce e semplice da installare. Peccato che poi sia una vera e propria Gentoo, quindi tutto é da compilare. É pure molto veloce (bellissimo vedere quanto poco ci mette OpenOffice.org ad avviarsi!). Insomma, da provare se avete le palle di compilare i programmi che vi servono oltre a quelli pre-installabili (che sono una marea)

Related posts