¿como instalar postgresql en windows 7?
Hola pues esa es mi duda.
he bajado el ultimo instalador de postgresql que usa bitrock como instalador. tengo windows 7 , mi cuenta de usuario es la del administrador. y no tengo creadas ninguna otra cuenta. el instalador se ejecuta bien?(realmente no es una porqueria dice que el pgroama se instala cuando no. y no hace un rollback todos los archivos siguen ahi.)? baje las versiones de aqui las 9.1.3 http://www.enterprisedb.com/products...wnload#windows ambas . la de windows 32 y windows 64 segun todo se instala bien pero al final dice error al inicializar cluster. ya busque en google y postgresql no es como firebird. algo hace con los usuarios del sistema si no no sirve no se como arreglarlo. ya elimine usuarios postgre enterprisedb y sus carpetas. y sigue dando error. y encontre que hay version que son puro binarios sin instalador de aqui http://www.enterprisedb.com/products.../pgbindownload ya los baje. ahora el problema es el mismo ¿como logro instalar postgresql a mano con los puros binarios? supongo que eso de inicializar el clustes es crear la base de datos postgre por defecto en alguna carpeta del sistema. y asignarle permisos al usuario postgre que el instalador para windows crea. no sabesn si hay algun script para usar innosetup para todas esas tareas. un instalador y su escript para postgresql hecho con innosetup para compilarlo bitrock parece que apesta. gracias. |
Mira esto:
http://www.geekscribes.net/blog/2009...iled-solution/ En general, es buena idea instalar cualquier motor de BD fuera de archivos de programa. |
wwwoww.
gracias mamcx. con los datos pasados encontre otro http://forums.holdemmanager.com/gene...on-failed.html Código:
Solution: |
Es más fácil que todo eso. Simplemente corran la instalación normal instalando en donde debe ser, es decir, en Program Files, pero, eso sí, seleccionando la carpeta data fuera de Program Files. Yo lo he hecho en "C:\ProgramData\PostgreSQL\9.1\data" por simple analogía con la instalación de MySQL. Con eso, el instalador de PostgreSQL corre sin problemas sin andar instalando en la raíz ni creando usuarios a mano.
// Saludos |
no funciono roman.
”I was tired and annoyed. The “World’s most advanced open source database” had failed to install!” – I so agree with you. Took me 1,5 hours. After reading your guide, still this thing doesn’t work for me. Running on Windows server 2003 |
¿Y ese mensaje?
|
Sí, no sé qué tiene que ver ese mensaje. A m me ha funcionado bien en Windows 7 32 bits.
// Saludos |
Po otra parte, hay que considerar que los instaladores para windows no los hace el propo PostgreSQL, según entiendo, así que no es propiamente culpa de ellos los posibles defectos.
// Saludos |
Firebird el mejor del mundo. si.. :D:D:D posgresql apesta..
|
si el instalador apesta bitrock. segun parace es para todos los Sistemas operativos ..el instaldor grafico
en nix. pues parece que usa otras cosas si no es grafico. especialmente windows. bull shit.. disque empresa española. pero no manchen. no avisa bien que pex. |
roman siempre, te expresas de una forma. que solo puedo estar de acuerdo.. ..
|
Cita:
Cita:
|
a eso casimiro notevi. es por que buscano con que instalador lo hicieron encontre que la toman como gran empresa.
bueno para micaso. el instalador no funciona como el innosetup. y a mi desesperacion.. de que no instala el postgresql. una duda. buscando en el codigo de instalacion hay un vbscript que se encarga de la inicializacion del cluster de base de datos usando un programa initdb el codigo llama asi. [/code] ' Check the command line If WScript.Arguments.Count <> 11 Then Wscript.Echo "Usage: initcluster.vbs <OSUsername> <SuperUsername> <Password> <Install dir> <Data dir> <xlog dir> <Port> <Locale> <Mode> <server_utilization> <workload_profile>" Wscript.Quit 127 End If [/code] y en el log de instalacion se llama a ese vb con los parametros Código:
Executing cscript //NoLogo "C:\PostgresPlus\8.4AS\installer\server/initcluster.vbs" "enterprisedb" "enterprisedb" "****" "C:\PostgresPlus\8.4AS" "C:\PostgresPlusData" "C:\PostgresPlusData\pg_xlog" 5444 "DEFAULT" "oracle" "66" "oltp"cd <OSUsername> <SuperUsername> <Password> "enterprisedb" "enterprisedb" "****" ¿saben que contraseña tiene el usuario enterprisedb ? por que ahi lo enmascaran y lo crea el instalador. Código:
On Error Resume Next |
bueno al segun parece el usuario lo debe de tomar del instalador.
lo raro es que me crea 2 usuarios en windows. postgres enterprisedb |
avance lo mas complejo es el cluster initialization aun no encuentro que toma para inicializarlo.
el instalador creo un batch con nombre aleatorio rad4774c6.bat con el siguiente contenido @ECHO OFF "C:\PostgresPlus\8.4AS\bin\initdb.exe" --pwfile "C:\PostgresPlus\8.4AS\rad43075.tmp" --encoding=UTF-8 -A md5 -U enterprisedb -D "C:\PostgresPlus\8.4AS\data" -X "C:\PostgresPlusData\pg_xlog\pg_xlog" > "C:\Users\gdmx\AppData\Local\Temp\radB9EBB.tmp" 2>&1 EXIT /B %ERRORLEVEL% lo que no se es a que archivos hace referencia. ?? --pwfile "C:\PostgresPlus\8.4AS\rad43075.tmp" "C:\Users\gdmx\AppData\Local\Temp\radB9EBB.tmp" |
Y, a todo esto, ¿por qué estás instalando una versión antigua?
// Saludos |
JXJ,
De Enterprise DB baja el "One-clik-Installer". Esa instalaion te instala TODO lo que necesitas, no solo PostgreSQL, sino tambien Apache y PHP. Antes de instalar creo que es mejor desinstalar la instalaicion previa. En Windows 7 trabaja muy bien. Yo uso todo el de 32 bits. |
Cita:
|
La franja horaria es GMT +2. Ahora son las 02:59:24. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi