dijous, 10 de març del 2011

Configurar el Syslogd del MacOS X

Editar l'arxiu /etc/syslog.conf :
Afegir
*.*                                       @192.168.1.12
o
*.*                                       @192.168.1.12:5140
si no fem servir el port estandad, i reniciar el syslogd:

Per saber si esta en marxa i enviant els logs, podem injectar algo en el syslog:

i el el servidor de syslog hem de veure:


dimarts, 1 de març del 2011

Enabling High Performance Data Transfers


System Specific Notes for System Administrators (and Privileged Users)


These notes are intended to help users and system administrators maximize TCP/IP performance on their computer systems. They summarize all of the end-system (computer system) network tuning issues including a tutorial on TCP tuning, easy configuration checks for non-experts, and a repository of operating system specific instructions for getting the best possible network performance on these platforms
This material is currently under active revision. Please send any suggestions, additions or  corrections to us at nettune@psc.edu so we can keep the information here as up-to-date as possible.

dimarts, 1 de febrer del 2011

Eliminar Apple Remote Desktop

Per desinstal·lar totalment el Apple Remote Desktop, s'ha d'esborrar a manija:
Esborrar l'aplicació i


Instruccions d'Apple: Uninstalling the Administrator Software


Mes info en els Forums de suport d'Apple: http://discussions.info.apple.com/message.jspa?messageID=10056322

Si la rao d'esborrar es perque l'aplicació casca, abans de posar el SN ni obrir, cal actualitzar l'aplicació descarregant de la web l'actualitzador: http://support.apple.com/downloads/#appleremotedesktop

dimecres, 26 de gener del 2011

Exportar directoris via NFS amb Snow Leopard

Robat de: How to Share Directories over NFS with Mac OS X by Chris BeHanna, chris@behanna.org


Edita /etc/exports:

Afegeix una linia com la següent (suposant que la xarxa es 192.168):

/Users -alldirs -network 192.168.0.0 -mask 255.255.0.0

Activa nfsd:

O reinicia el nfsd:

Verifica els exports: showmount -e

Munta el directori desde una alte maquina:

Per un altre Unix, pot haver-se de fer servir la comanda mount -t nfs.

divendres, 7 de gener del 2011

ghettoVCBg2 - Free alternative for backing up VMs in ESX(i) 3.5 and 4.x


This tool is the follow up release of the ghettoVCB backup utility which allows users to perform backups of virtual machines residing on ESX(i) 3.5+/4.x+ servers using methodology similar to VMware's VCB tool. By incorporating highly constructive feedback from the VMware  community and utilizing the existing VI API, ghettoVCB’s framework was  completely rewritten to be harder, better, faster, stronger.

The primary motivation for ghettoVCBg2 was to provide ESXi users with  access to the utility without relying on unlocking and utilizing the  unsupported console. To satisfy this requirement, the rebuilt framework  takes advantage of the
VI Perl Toolkit/vSphere SDK for Perl which is present in the
VIMA/vMA virtual appliance provided by VMware. As a result, ghettoVCBg2 provides  a more proper backup solution that administrators can utilize in their  virtual infrastructure.



TextMate Bundle Management

Installing and managing TextMate bundles has always been a pain. You have to check it out from source, figure out where in the filesystem it goes, and restart TextMate.

Fortunately, someone was clever enough to make an automated solution to this problem. It handles all these cases: fetching the source, putting it in the right place, and reloading TextMate.

It’s available on GitHub as a gem, so you’d think you’d be able



Not so much. The executable the gem seems broken. Let’s install it by hand:



Now let’s see what’s available:



Lots of goodies. Let me just install a few for the stuff I regularly use…



If you happened to installed one of these in the past, you’ll need to uninstall it first.



That’s all there is to it.

By josh on technical stuff @ http://technicalpickles.com/

dilluns, 3 de gener del 2011

Estat de la memoria en FreeBSD

Necessites l'estat de la memoria per traçar amb el Cacti, amb la sortida de Linux?
Hi ha varies opcions:





i si ho hem de cridar desde un script:

Una altre opció força xula, pero la sortida no es igual a la de linux es l'script freebsd-memory:

Font de l'script: