Backtrack5的Postpresql的使用(二)

2014-11-24 07:52:57 ? 作者: ? 浏览: 5
ding /usr/bin/ruby).
Selection Path Priority Status
------------------------------------------------------------
0 /usr/bin/ruby1.8 500 auto mode
1 /usr/bin/ruby1.8 500 manual mode
* 2 /usr/bin/ruby1.9.2 400 manual mode
Press enter to keep the current choice[*], or type selection number: 0
update-alternatives: using /usr/bin/ruby1.8 to provide /usr/bin/ruby (ruby) in auto mode.
root@bt:/etc/init.d# gem install pg
Building native extensions. This could take a while...
Successfully installed pg-0.11.0
1 gem installed
Installing ri documentation for pg-0.11.0...
Installing RDoc documentation for pg-0.11.0...
-----------------------------------------------------------
最后一步,连接注意是
msf > db_connect postgres:"test12345"@127.0.0.1/postgres
-->

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: