ubuntu16.04安裝metasploit+postgresql


1、安裝msf

1.1、打開終端,進入安裝目錄(你想放在哪就進哪

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

等它自動安裝完畢,然后先不要啟動,目前最新版的這個msf會問你要不要用自帶到database,你想用自帶到數據庫就回車,想用自己到數據庫就輸入no回車

 

2、安裝postgresql

2.1、apt-get install postgresql  

2.2、su - postgres                      

2.3、psql                                   

2.4、\password 123456

 

2.5、可忽略這一項,如果你喜歡用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、登錄頁面應該就可以瀏覽了

http://127.0.0.1/phppgadmin/

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM