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.
Posted in Trucs | No Comments »
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
Posted in Programari Lliure | No Comments »
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.
Posted in Trucs | No Comments »
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 »
Posted in Programari Lliure, Trucs | No Comments »
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
Posted in Com es fa, Programari Lliure, Trucs | No Comments »
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)
Posted in Vist i no vist | No Comments »
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
Posted in Uncategorized | No Comments »
April 10th, 2007
http://maemo.org/platform/docs/howtos/howto_usb_networking.html
Posted in Trucs | No Comments »
March 15th, 2007
tar -zcvf packagename.tar.gz folder/
Posted in Trucs | No Comments »
January 7th, 2007
http://bulma.net/body.phtml?nIdNoticia=1320
http://www.aplushosting.com/english/tutorials/dedi-webmin.phtml
Posted in Trucs | No Comments »