?????????????Metasploit??????????????????????????????ЩMetasploit??????Ruby?????????£?
????gem install wirble pg sqlite3 msgpack activerecord redcarpet rspec simplecov yard bundler
???????Git?????μ?Metasploit?????????£?
????cd /opt
????git clone https://github.com/rapid7/metasploit-framework.git
????cd metasploit-framework
????????????????????У??????????????Metasploit??????????С??????????????????????????£?
????bash -c 'for MSF in $(ls msf*); do ln -s /opt/metasploit-framework/$MSF /usr/local/bin/$MSF;done'
????ln -s /opt/metasploit-framework/armitage /usr/local/bin/armitage
??????????£?????Metasploit??????У????Bundler Gem??????????Gem?汾??
????bundle install
???????????????????????????£?

????????Metasploit?????????database.yml?????????£?
????vi /opt/metasploit-framework/database.yml
????database.yml?е???????????£?
????production:
????adapter: postgresql
????database: msf
????username: msf
????password:
????host: 127.0.0.1
????port: 5432
????pool: 75
????timeout: 5
???????????????????????????Armitage??msfconsole????shell?д?????????????????
????echo export MSF_DATABASE_CONFIG=/opt/metasploit-framework/database.yml >> /etc/bashrc
????source ~/.bashrc
????????????????????????Metasploit?????????£?
????msfconsole
?????????£?

??????????CentOS 6.x??Metasploit??????????