ubuntu16.04安装metasploit+postgresql
ubuntu16.04安裝metasploit+postgresql
1、安裝msf
1.1、打開(kāi)終端,進(jìn)入安裝目錄(你想放在哪就進(jìn)哪
cd /opt
curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall
1.2、chmod 755 msfinstall
1.3、./msfinstall
等它自動(dòng)安裝完畢,然后先不要啟動(dòng),目前最新版的這個(gè)msf會(huì)問(wèn)你要不要用自帶到database,你想用自帶到數(shù)據(jù)庫(kù)就回車(chē),想用自己到數(shù)據(jù)庫(kù)就輸入no回車(chē)
2、安裝postgresql
2.1、apt-get install postgresql
2.2、su - postgres
2.3、psql
2.4、\password 123456
2.5、可忽略這一項(xiàng),如果你喜歡用psql到話(純命令),安裝postgresql到管理工具
2.5.1、安裝apache
apt-get install apache2
2.5.2、安裝pgadmin
apt-get install phppgadmin
2.5.3、重啟一下apache(好像也可以不用重啟,我的什裝好之后重啟才能看到界面
/etc/init.d/apache2 restart
2.5.4、登錄頁(yè)面應(yīng)該就可以瀏覽了
http://127.0.0.1/phppgadmin/
轉(zhuǎn)載于:https://www.cnblogs.com/shamojituan/p/6731215.html
總結(jié)
以上是生活随笔為你收集整理的ubuntu16.04安装metasploit+postgresql的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: 做梦梦到自己上学是什么意思
- 下一篇: 远程连接Ubuntu桌面配置