$ wget https://download2.rapid7.com/download/InsightVM/Rapid7Setup-Linux64.bin
$ wget https://download2.rapid7.com/download/InsightVM/Rapid7Setup-Linux64.bin.sha512sum
$ sudo su
# sha512sum -c Rapid7Setup-Linux64.bin.sha512sum
Rapid7Setup-Linux64.bin: OK
# chmod +x Rapid7Setup-Linux64.bin
# ./Rapid7Setup-Linux64.bin -c
Unpacking JRE ...
Starting Installer ...
********************************************************************************
Welcome to the Rapid7 Installation Wizard
********************************************************************************
Rapid7 Vulnerability Management reduces your organization's risk by
dynamically collecting data and analyzing risk across vulnerabilities,
configurations and controls from the endpoint to the cloud. Our
vulnerability management platform is engineered to enable IT security teams
to identify, assess and respond to critical change as it happens.
Rapid7 Inc
http://www.rapid7.com
info@rapid7.com
+1.866.7RAPID7 (Toll Free)
+1.617.247.1717
Do you want to continue?
Yes [y, Enter], No [n]
y
Gathering system information....
Security Console with local Scan Engine
If you do not have a console installed yet, this option is recommended. The console manages scan engines and all administrative operations.
Scan Engine only
This distributed engine can start scanning after being paired with a Security Console.
Select only the set of components you want to install:
Security Console with local Scan Engine [1, Enter]
Scan Engine only [2]
1
Where should Rapid7 Vulnerability Management be installed?
[/opt/rapid7/nexpose]
********************************************************************************
The installer is comparing your system settings to required settings
********************************************************************************
Installation requirements
[Pass] - 15,720 MB RAM was detected.
See the list of supported versions.
http://www.rapid7.com/products/nexpose/system-requirements
[Pass] - SELinux is not active.
[Pass] - Software is not running.
Ports and connectivity
Not checked.
[Pass] - Port 3780 is available.
[Warn] - The update server could not be accessed.
Minimum requirements met. Select "Yes" to continue, "No" to cancel installation.
Yes [y, Enter], No [n]
y
Database port
Enter the number for the port that the database will listen on:
[5432]
The port number is valid.
********************************************************************************
User Details: This information will be used for generating SSL certificates, and it will be included in requests to Technical Support. Only alphanumeric characters and spaces are allowed in the name fields.
********************************************************************************
First name:
[]
tester
Last name:
[]
te
Company:
[]
happy
********************************************************************************
Credentials: Choose secure credentials and remember them. You will need them to perform configuration steps after completing the installation.
********************************************************************************
Credentials: Choose secure credentials and remember them. You will need them
to perform configuration steps after completing the installation.
User name:
[]
testeer
Password:
Confirm the password:
Require password reset upon login?
Yes [y], No [n, Enter]
n
Password match confirmed.
********************************************************************************
Confirm or change your installation selections
********************************************************************************
********************************************************************************
Additional Tasks Selection
********************************************************************************
You have selected the following installation location:
/opt/rapid7/nexpose
You have selected the following component(s) to install:
Security Console, Scan Engine
You have entered the following contact information:
tester te, happy
You have created the following user name:
testeer
Select any additional installation tasks.
Initialize and start after installation?
Yes [y], No [n, Enter]
y
********************************************************************************
Extracting files...
********************************************************************************
Extracting files...
********************************************************************************
Installation is complete!
********************************************************************************
Installation is complete!
If you chose to start the Security Console as part of the installation, then it will be started upon installer completion.
Using the credentials you created during installation, log onto Nexpose at https://localhost:3780.
To start the service run: sudo systemctl start nexposeconsole.service
To start the service run: sudo systemctl start nexposeconsole.service
The Security Console is configured to automatically run at startup. See the
installation guide if you wish to modify start modes.
[Enter]
Finishing installation...
# ps -ef | grep rapid
root 1157 1 0 Dec08 ? 00:00:01 SCREEN -d -m -S nexposeconsole /opt/rapid7/nexpose/nsc/nsc.sh
root 1165 1157 0 Dec08 pts/0 00:00:00 /bin/sh /opt/rapid7/nexpose/nsc/nsc.sh
root 4263 453 0 06:35 pts/1 00:00:00 grep --color=auto rapid
root 9761 1165 1 Dec17 pts/0 00:50:45 ./.DLLCACHE/nexserv -className=com/rapid7/nexpose/nsc/NSC
# netstat -alnp | grep LIST
sudo netstat -alnp |grep 3780
tcp6 0 0 :::3780 :::* LISTEN 9761/./.DLLCACHE/ne
$ kill {process 번호}
# /opt/rapid7/nexpose/.install4j/uninstall -c
WARNING!
Uninstalling will completely remove all Nexpose components and delete sites,
configurations, reports, and any scan data on assets, nodes, and
vulnerabilites discovered.
Make sure that all data is backed up before proceeding.
Uninstall cannot be cancelled once started, only continue to the next screen
if you are certain that Nexpose data is backed up or no longer required.
Do you want to continue?
Yes [y], No [n, Enter]
y
********************************************************************************
(Nexpose Uninstall
********************************************************************************
Uninstalling Rapid7 Vulnerability Management 6.6.114...
Nexpose was successfully removed from your computer.
Finishing uninstallation...
삭제 스크립트 실행 오류
이슈 :: INSTALL4J_JAVA_HOME을 찾을 수 없음
No suitable Java Virtual Machine could be found on your system.
The version of the JVM must be at least 1.8.
Please define INSTALL4J_JAVA_HOME to point to a suitable JVM.
해결방안(택1)
INSTALL4J_JAVA_HOME 경로 지정
# export INSTALL4J_JAVA_HOME=/home/ubuntu/{작업디렉터리 경로}/Rapid7Setup-Linux64.bin.2794.dir/jre
# /opt/rapid7/nexpose/.install4j/uninstall -c
jdk 설치
# apt install openjdk-8-jdk
# /opt/rapid7/nexpose/.install4j/uninstall -c