maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [ANNOUNCE] PostgreSQL server Harmattan (N9) (https://talk.maemo.org/showthread.php?t=91426)

nieldk 2013-09-21 13:28

[ANNOUNCE] PostgreSQL server Harmattan (N9)
 
So, using a load of pentest tools, nessus and metasploit being two. I needed postgres on my N9 for autopwn in metasploit, using database results imported from nessus.

Why not share with you guys!

Download:

Code:

wget https://dl.dropboxusercontent.com/u/85377542/postgres-9.3.0.deb --no-check-certificate
Install:
Code:

devel-su
develsh
dpkg -i postgres-9.3.0.deb
adduser postgres
passwd postgres
mkdir /usr/local/pgsql/data
chown postgres:postgres /usr/local/pgsql/data
su - postgres
/usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data/

start:

Code:

/usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data >logfile 2>&1 &
test:

Code:

/usr/local/pgsql/bin/createdb test
/usr/local/pgsql/bin/psql test

please note, develsh privileges ARE needed for using the su - postgres command.

Jeffrey04 2013-09-21 13:37

Re: [ANNOUNCE] PostgreSQL server Harmattan (N9)
 
cool, now i need only php on it to do my work on my n9 hahahahahaha
just saying :)

nieldk 2013-09-21 14:56

Re: [ANNOUNCE] PostgreSQL server Harmattan (N9)
 
Quote:

Originally Posted by Jeffrey04 (Post 1375847)
cool, now i need only php on it to do my work on my n9 hahahahahaha
just saying :)

Feel free to test this build ;)
https://dl.dropboxusercontent.com/u/.../php-5.5.4.deb

Jeffrey04 2013-09-22 20:22

Re: [ANNOUNCE] PostgreSQL server Harmattan (N9)
 
Quote:

Originally Posted by nieldk (Post 1375863)

*salute*
now only need an easy way to toggle apache/postgresql service on/off lolol
i suppose they are all upstart scripts, so i can just call service postgresql start??!

nieldk 2013-09-23 04:19

Re: [ANNOUNCE] PostgreSQL server Harmattan (N9)
 
Use pgctl start/stop with parameter to datafile


All times are GMT. The time now is 10:46.

vBulletin® Version 3.8.8