ubuntu16.04安装metasploit+postgresql

 

 

进入到程序想要安装的位置

cd /opt

然后下载安装脚本

curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall

给予执行权限

chmod 755 msfinstall

安装

./msfinstall

 

postgresql安装

sudo apt-get install postgresql  

更改 postgres 账户的密码(在你不知道密码的情况下)

sudo passwd postgres

会提示你输入新的密码

你输入的输入后 回车 将会更改postgres账户的密码

然后在postgres账户下运行

psql

输入

\password 

会提示你输入新密码

以更改数据库的密码

 

安装apache

sudo apt-get install apache2

安装安装pgadmin

sudo apt-get install phppgadmin

登录到

http://127.0.0.1/phppgadmin/

可浏览数据库情况

 

转载于:https://www.cnblogs.com/lfoder/p/5964262.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值