zoukankan      html  css  js  c++  java
  • 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/

  • 相关阅读:
    F. 数学上来先打表
    LibreOJ β Round #2
    noip飞扬的小鸟
    jxoi2017
    分块算法
    Chino的数列
    cf 613E
    cf 126D
    cf 542E
    cf 512D
  • 原文地址:https://www.cnblogs.com/proby/p/5593452.html
Copyright © 2011-2022 走看看