How to install metasploit on ubuntu 8.10



1. install all file or packages that support ruby

root@ubuntu:~# apt-get install build-essential ruby libruby rdoc
libyaml-ruby libzlib-ruby libopenssl-ruby libdl-ruby libreadline-ruby
libiconv-ruby rubygems sqlite3 libsqlite3-ruby libsqlite3-dev irb
subversion

2. download ruby gem

root@ubuntu:~# wget http://rubyforge.org/frs/download.php/11289/rubygems-1.3.3.tgz

3. extract it

root@ubuntu:~# tar -xvzf rubygems-1.3.3.tgz

4. goto ruby gem directory

root@ubuntu:~# cd rubygems-1.3.3

5. run the setup

root@ubuntu:~# ruby setup.rb

6. install gem rails

root@ubuntu:~# gem install rails 2.3.2

7. download metasploit framework

root@ubuntu:~# svn co http://metasploit.com/svn/framework3/trunk/ metasploit

8. goto metasploit directory

root@ubuntu:~# cd metasploit

9. update metasploit

root@ubuntu:~# svn up

10. run metasploit

root@ubuntu:~# ./msfconsole

11. documentation

http://metasploit.com/
http://rubygems.org/
http://rubyforge.org/
http://rubyonrails.org/
http://oonboy.blogspot.com/