Munin + HDD Temp

January 13th, 2008

L’eina munin ens serveix per monitoritzar molts paràmetres del sistema.

En aquest cas ens interessa la temperatura dels discos. I ho farem mitjançant S.M.A.R.T. I tenim dues eines hddtemp o smartctl. En aquest cas ens interessa el smartctl ja que el propi munin porta un plugin per smartctl.

Discos ATA: smartctl -A /dev/hda

Discos SATA: smartctl -d ata -A /dev/sda

Un cop veiem que la comanda smartctl ens retorna els valors correctes per el disc. haurem de configurar els paràmetres del plugin del munin .

[hddtemp_smartctl]
user root
env.drives sda sdb
env.type_sda ata
env.type_sdb ata

Per a discos ATA el propi script ja detecta tos els discos presents i els paràmetres correctes, en canvi per als discos SATA hem hagut d’indicar-li els dispositius (sda i sdb) i el paràmetre de tipus de disc (ata). Un cop aixì reiniciem el servei “munin-node” i el munin ja ens fara les gràfiques de la temperatura dels discos.

Elastix: distribució especialitzada en VoIP

January 12th, 2008

Definició segons la pròpia web:
Elastix is an appliance software that integrates the best tools available for Asterisk-based PBXs into a single, easy-to-use interface. It also adds its own set of utilities and allows for the creation of third party modules to make it the best software package available for open source telephony.

 Pàgina Web: http://www.elastix.org/
L’usuari web per defefcte és el següent:

Usuari: admin

Contrasenya: palosanto

Hardware: lshw i dmidecode

December 29th, 2007

lshw is a small tool to extract detailed information  on  the  hardware
configuration of the machine. It can report exact memory configuration,
firmware version, mainboard configuration, CPU version and speed, cache
configuration,  bus speed, etc. on DMI-capable x86 or IA-64 systems and
on some PowerPC machines (PowerMac G4 is known to work).
dmidecode  is a tool for dumping a computer’s DMI (some say SMBIOS) ta-
ble contents in a human-readable format. This table contains a descrip-
tion  of  the  system’s  hardware  components,  as well as other useful
pieces of information such as serial numbers and BIOS revision.  Thanks
to  this  table,  you  can  retrieve this information without having to
probe for the actual hardware.  While this is a good point in terms  of
report  speed  and  safeness, this also makes the presented information
possibly unreliable.

CentOS+Repositoris

December 27th, 2007

Si estàs ben acostumat que amb debian/ubuntu hi trobes tots els paquets que et falten, amb altres distribucions això no és així de sèrie.

Si remenes una CentOS segurament trobaràs a faltar-hi paquets, això es soluciona ràpid (si ho saps) instal·lant aquest paquet (rpmforge-release) que automàgicament et configura el repositori DAG
http://dag.wieers.com/rpm/packages/rpmforge-release/

Una de les coses interessants que et permet fer és la següent:

Read the rest of this entry »

Crear Paquets .deb i l’estructura de repositori

October 9th, 2007
Font per garbellar:
http://acacha.dyndns.org/mediawiki/index.php/Creaci%c3%b3_de_paquets_Debian
Crear Estructura del Repositori: 
$ apt-ftparchive packages . | gzip > Packages.gz
$ apt-ftparchive sources  . | gzip > Sources.gz

Primer contacte amb Gnu/linux

September 17th, 2007

Doncs res, que avui fent neteja de cd’s he llençat els cd’s amb els que vaig tenir el primer contacte amb el GNU/Linux

Redhat 6.1 (Linux Actual)
Mandrake 7.0-2 (PcWorld Abril 2000)

2 frases fetes de bits & sexe

July 29th, 2007

Documentation is like sex. If it is good, it is REALLY good, and if it is bad, it is better than nothing!
- Gabe Helou

Software is like sex; it’s better when it’s free.
- Linus Torvalds

Xarxa a través d’USB

April 10th, 2007

http://maemo.org/platform/docs/howtos/howto_usb_networking.html

Empaquetant Carpetes/Directoris

March 15th, 2007

tar -zcvf packagename.tar.gz folder/

DNS amb vistes

January 7th, 2007

http://bulma.net/body.phtml?nIdNoticia=1320

http://www.aplushosting.com/english/tutorials/dedi-webmin.phtml