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

    可浏览数据库情况

  • 相关阅读:
    函数
    字符串格式化
    集合
    习题02
    int/str/list/tuple/dict必会
    元组/字典
    列表方法
    练习题(format、expandtabs、片层)
    字符串方法
    JMM
  • 原文地址:https://www.cnblogs.com/lfoder/p/5964262.html
Copyright © 2011-2022 走看看