User Tools

Site Tools


merge_kkline:install_walkthrough

PERL Installer

[root@centos ~]# cd /opt/ [root@centos opt]# cd Inprotect/install/ [root@centos install]# ./install.pl

Checking Prerequisities: DBI OK MIME::Lite OK Parallel::ForkManager OK Date::Calc OK Crypt::CBC OK MIME::Base64 OK IO::Socket OK POSIX OK Socket OK Crypt::Blowfish OK Net::IP OK Net::Netmask OK Net::Nslookup OK

System meets the prerequisites, continuing…

Welcome to Inprotect 1.00.0_alpha_13 [ Central Node Installation]

Warning: installation must be run as root user!!!! Please Choose from the following options:

1 - Configure Inprotect 2 - install Database components and Configure Inprotect 3 - Migrage existing data to new Inprotect Installation Q - Quit without installation To install scanner nodes load nessus, add first users, and configure a feed. Make your selection [1-3] 2 Nice!: A Perferred installation path accepted: /opt/Inprotect Enter Database [HOSTNAME/IP] hosting mysqlor use default ( localhost ): Enter Database nameor use default ( inprotect2 ): Enter Database user with permission to create databaseor use default ( root ): Enter Database user password: password! Enter Mysql Pathor use default ( /usr/bin/mysql ): Enter Nessus Pathor use default ( /opt/nessus/bin/nessus ): Enter Nessus-Update-Plugins Pathor use default ( /opt/nessus/sbin/nessus-update-plugins ): Enable nessus-update-plugins (requires valid feed on localhost): valid options [0|1],or use default ( 1 ): 0 Good LocalUpdate VALUE sfile=/opt/Inprotect/html/config.php sfile=/tmp/crontab.tmp Backing up Crontab to /tmp/cron.bak cmd=crontab -l > /tmp/cron.bak cmd=crontab -l | grep -F -v -f /tmp/crontab.tmp | grep -v ^# > /tmp/cron.tmp cmd=cat /tmp/crontab.tmp » /tmp/cron.tmp cmd=cat /tmp/cron.tmp Installing Crontab cmd=crontab /tmp/cron.tmp cmd=rm -rf /tmp/cron.tmp cmd=rm -rf /tmp/crontab.tmp cmd=rm -f /etc/inprotect.cfg UPDATING LINE FROM /etc/inprotect.cfg to path [ /opt/Inprotect/etc/inprotect.cfg ] cmd=ln -s /opt/Inprotect/etc/inprotect.cfg /etc/inprotect.cfg Linking /etc/inprotect.cfg setting permissions on Web Directory and configs cmd=chmod 644 /opt/Inprotect/etc/inprotect.cfg cmd=chmod -R 755 /opt/Inprotect/html/*.php cmd=chmod 644 /opt/Inprotect/html/config.php WARNING: CLEAN INSTALL SCRIPT WILL DROP TABLES IF EXIST IN THE NEW DB BE VERY CERTAIN YOU DO NO SPECIFY EXISTING DB AS NEW DB NAME BACKUP YOUR EXISTING DB FIRST EXAMPLE: # mysqldump -p inprotect > inprotect_backup.sql NOT RESPONSIBLE FOR ACCIDENTS / MISUSE using file /opt/Inprotect/install/sql/clean_install_inprotect_1.00.0_alpha_13.sql REQUIRE HTTPS (SSL) for website: valid options [0|1]or use default ( 1 ): 0 Good SSL VALUE cmd=/usr/bin/mysql -uroot -ppassword! -e “CREATE DATABASE IF NOT EXISTS inprotect2”; CREATING NEW DATABASE [ inprotect2 ] for Inprotect 1.00.0_alpha_13 use! cmd=/usr/bin/mysql -uroot -ppassword! inprotect2 < /opt/Inprotect/install/sql/clean_install_inprotect_1.00.0_alpha_13.sql IMPORTING /opt/Inprotect/install/sql/clean_install_inprotect_1.00.0_alpha_13.sql INTO DATABASE inprotect2 ERROR 1062 (23000) at line 76: Duplicate entry '1' for key 1 cmd=/usr/bin/mysql -uroot -ppassword! inprotect2 < /tmp/iSSL.tmp Updating SSL setting to 0 cmd=rm -f /tmp/iSSL.tmp finished setting up database

verifying configs Installation Complete!

Proceed with Post Install Configuration of the following for New Installation? - Add first Nessus Server - Load Plugins Continue: ( Y/N )? y Adding First Nessus Server

Enter SERVER NAME: FS1 Enter SERVER IPor use default ( localhost ): 192.168.0.250 Enter Nessus Portor use default ( 1241 ): Enter Nessus User: nessus Enter Nessus Password: password! Preping Import First Scan Node cmd=/usr/bin/mysql -uroot -ppassword! inprotect2 < /tmp/add_first_server.sql IMPORTING /tmp/add_first_server.sql INTO DATABASE inprotect2 cmd=rm -rf /tmp/add_first_server.sql IMPORTED FIRST SERVER

After Updating Plugins: The following need performed

  1. Login as Admin / Change Password
  2. Setup additonal Admin/User Accounts
  3. Setup Zones
  4. Setup Profiles
  5. Run Test Scans
  6. Consider Addons to Nessus: [THC - Hydra / Nikto ]

Tell you friends about Inprotect!

Proceeding to run UpdatePlugins: /opt/Inprotect/sbin/updateplugins_1.00.pl

Please Wait … (Updating Plugins will take about 5 Minutes cmd=/opt/Inprotect/sbin/updateplugins_1.00.pl * The plugins that have the ability to crash remote services or hosts have been disabled. You should activate them if you want your security audit to be complete * The plugins that have the ability to crash remote services or hosts have been disabled. You should activate them if you want your security audit to be complete cmd=/usr/bin/mysql -uroot -ppassword! inprotect2 < /opt/Inprotect/install/configs/add_base_profiles.sql SETTING UP SAFE/ENABLE-ALL PROFILES / SYSTEM FULLY READY TO USE

SWEET!

*** REMEMBER to link your website directory to /opt/Inprotect/html

Thanks, The Inprotect Team

merge_kkline/install_walkthrough.txt · Last modified: 2008/07/31 12:00 by kkline