Deploying AcuSensor for Node.js
π AcuSensor Network PreRequisites |
AcuSensor makes use of the AcuSensor Bridge. Read more information here. |
To deploy AcuSensor, you should keep in mind that the mechanism we need to use is to invoke the sensor when launching the Node application.
π Version Information |
Node.js Versions tested are:
|
Deploying AcuSensor requires the following steps.
Step 1: Downloading AcuSensor for your Target
The instructions to download the AcuSensor file can be found here: https://www.acunetix.com/support/docs/installing-acusensor/.
Step 2: Copy the AcuSensor to the Target
For the purposes of this document, we will assume that we will be creating a dedicated folder inside the ROOT folder of your operating system to hold the AcuSensor file.
- Under Windows:
- Create a folder "C:\acusensor\"
- Copy the node-acusensor.tar file into "C:\acusensor\"
- Under Linux:
- Create a folder "/acusensor" with the following command:
- mkdir /acusensor/
- Use "cd" to navigate to the folder which contains your downloaded AcuSensor file and run the following command:
- cp node-acusensor.tar /acusensor/
Step 3: Launch your Node.js web application invoking the AcuSensor
- Under Windows:
- Use "cd" to navigate to the folder which contains your web application (where the "app.js" file resides) and run the following commands:
- npm install \acusensor\node-acusensor.tar --no-save
- npx node-acusensor app.js
- Under Linux:
- Use "cd" to navigate to the folder which contains your web application (where the "app.js" file resides) and run the following commands:
- npm install /acusensor/node-acusensor.tar --no-save
- npx node-acusensor app.js
Uninstall AcuSensor
- Under Windows:
- navigate to the folder where the sensor is installed and run this command: npm remove node-acusensor
- remove the "C:\acusensor\node-acusensor.tar" file and then remove the "C:\acusensor" folder
- Under Linux:
- navigate to the folder where the sensor is installed and run this command: npm remove node-acusensor
- rm -rf /acusensor
Note: Although Acunetix AcuSensor files are secured with a unique strong built-in password, it is recommended that the AcuSensor files are uninstalled and removed from the web application if they are no longer in use.