root@bt:~# apt-get install libpgsql-ruby postgresql libpq-dev root@bt:~# su postgres sh-4.1$ createuser root -P could not change directory to "/root" Enter password for new role: Enter it again: Shall the new role be a superuser? (y/n) n Shall the new role be allowed to create databases? (y/n) n Shall the new role be allowed to create more new roles? (y/n) n sh-4.1$ createdb --owner=root metasploit could not change directory to "/root" exit sh-4.1$ exit exit
Dari tutorial diatas kita bisa melihat saya membuat database dengan nama metasploit.
Saya telah menulis tutorial Exploit dengan db_autopwn diblog ini dilengkapi dengan video tutorialnya.
pak yg libpq-dev gak bisa ke install tu
ReplyDeletelibpq-dev:
Depends: libpq5 (=8.4.8-0ubuntu0.10.04) but 8.4.10-0ubuntu0.10.04.1 is to be installed
Depends: libssl-dev but it is not going to be installed