PostgreSQL en MAC OSX
Descargar el paquete de acá:http://www.kyngchaos.com/software:postgres Y si queres tambien la extensión PostGIS. Esto descarga un dmg. Instalaro nomás. Ojo que por lo menos debes tener osx 10.6 y cpu de 64 bits. Ver el log: sudo tail -f /usr/local/pgsql/var/postgresql-2012-09-21.log Probar si te podes conectar estando logueado con tu user: psql -U postgres -h localhost Tuve […]
Eclipse y Tomcat en OSX
Howto install Tomcat with Eclipse IDE on MacOS X. What we need: Tomcat Eclipse JEE 1. Extract Eclipse into your Applicationfolder and Tomcat to your prefered location for example into your home directory. 2. change into the apache-tomcat-6.0.20/bin directory and make all .sh files executeable cd /apache-tomcat-6.0.20/binchmod +x *.sh 3. test if it starts ./setclasspath.sh./startup.sh […]
Cómo hacer andar socket mysql con XAMPP
Resulta que cakephp console usa el sock para conectarse al mysql, y como XAMPP lo pone en una carpeta interna hay que crear un symlink: crear primero la carpeta /var/mysql sudo ln -s /Applications/XAMPP/xamppfiles/var/mysql/mysql.sock /var/mysql/mysql.sock
Usar en el terminal el mysql que viene en el paquete XAMPP
crear un archivo .profile en tu home, si es que ya no existe. agregar esta línea: export PATH=$PATH:/Applications/xampp/xamppfiles/bin LISTO!! la proxima vez que abrís la consola tenes acceso a los binarios del xampp.
instalar PGP con GD en mac osx lepard
La mejor solución es no usar el php nativo de leopard, entonces comentar #LoadModule php5_module libexec/apache2/libphp5.so en el /private/etc/apache2/httpd.conf instalar el paquete de este link: http://www.entropy.ch/software/macosx/php/ (dejé el archivo en el TC) el php.ini queda en: /usr/local/php5/lib/php.ini solo le cambié a on: short_open_tag = On también le configuré el timezon, si no cakephp se quejaba […]
time machine problem
Time machine was throwing the following error:“the backup disk image could not be created” what I did to solve this was:add a “Computer Name” in preferences menu into “Sharing”
reiniciar finder cuando se cuelga
por consola hacer:ps -augonzo | grep Dock NOTA: poner tu usuario en lugar de gonzo Devuelve algo como esto: 501 631 ?? 0:00.61 /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock -psn_0_651423 luego matar el proceso:kill -HUP 631