To install DualShield from a Linux console, follow the steps below:

1. Install dependencies

In some editions of Linux OS, you might need to install the following dependencies first.

For RPM based Linux, e.g. CentOS, RedHat

1.1 install perl module

yum install -y perl-Module-Install.noarch

1.2 install libaio 

yum install -y libaio

1.3 install fonts

yum install fontconfig dejavu-sans-fonts dejavu-serif-fonts

For Debian based Linux, e.g. Ubuntu:

1.1 install libaio 

apt-get update
apt-get install libaio1 fontconfig fonts-dejavu


2. Add FQDN of your DualShield server into the local hosts file:

Replace "dualshield.acme.org" with the actual FQDN of your DualShield server.

echo "127.0.0.1 dualshield.acme.org" >> /etc/hosts

or,

echo "127.0.0.1 dualshield.acme.org" | sudo tee -a /etc/hosts


3. Execute the commands below to change make the file execuable

chmod a+x ./setupdualshield-xxxx--yyyy.bin

in which xxx is the version number and yyyy is the build number.

4. Finally, execute the commands below to start the installation process 

./setupdualshield-xxxx--yyyy.bin -- -console 


Verifying archive integrity... All good.
Uncompressing DualShield Installer......
64 bit OS detected
Command line arguments: -console 
Select your language
0 [x] eng
1 [ ] deu
2 [ ] fra
3 [ ] spa
4 [ ] chn
Input selection:0


Welcome Page
────────────────────────────────────────────────────────────────────────────────────────────────────────────
Welcome
────────────────────────────────────────────────────────────────────────────────────────────────────────────

Welcome to the installation of Deepnet DualShield 6.x!
This software is developed by: 
- Deepnet Security Ltd. <support@deepnetsecurity.com>
The homepage is at: http://www.deepnetsecurity.com/

Press 1 to continue, 2 to quit, 3 to redisplay


Agreement Page
8.Term & Termination:

This agreement is effective until terminated. This 
agreement and the user's right to use the product 
automatically terminates if the user fails to 
comply with any material provision of this 
agreement. Upon termination the user must all use 
of the product and remove all copies of the 
product from the user's computers and storage 
equipment. In no circumstances does any such 
termination result in a refund of the licenses fee 
the user paid for the product.

Press 1 to accept, 2 to reject, 3 to redisplay


────────────────────────────────────────────────────────────────────────────────────────────────────────────
Target Path
────────────────────────────────────────────────────────────────────────────────────────────────────────────
Select the installation path: [/opt/dualshield]

------------------------------------------------------
Message

The target directory will be created: 
/opt/dualshield
------------------------------------------------------
Enter O for OK, C to Cancel:
O

Press 1 to continue, 2 to quit, 3 to redisplay


---
All
---
Enter Y for Yes, N for No: 
Y

Backend Not Selected
Frontend Not Selected
Done!

Press 1 to continue, 2 to quit, 3 to redisplay


────────────────────────────────────────────────────────────────────────────────────────────────────────────
Select Installation Packages
────────────────────────────────────────────────────────────────────────────────────────────────────────────

Select the packs you want to install:

-----------------------------------------------
[x] Include optional pack 'Legacy SSO Server'
-----------------------------------------------
Enter Y for Yes, N for No:
Y

------------------------------------------------------
[x] Include optional pack 'Legacy Management Server'
------------------------------------------------------
Enter Y for Yes, N for No: 
Y

--------------------------------------------------------
[x] Include optional pack 'Legacy Self-Service Server'
--------------------------------------------------------
Enter Y for Yes, N for No:
Y

[x] Pack 'DualShield Authentication Server' required
[x] Pack 'Admin Console' required
[x] Pack 'SSO Server' required
[x] Pack 'Service Console' required
[x] Pack 'Deployment Service' required
[x] Pack 'Emergency Access Service' required
[x] Pack 'Reset Password Service' required
[x] Pack 'Unlock Account Service' required
Done!

=== Selected Packs: === 
[x] Pack 'Deepnet Legacy Single Sign-on Server'
[x] Pack 'Deepnet Legacy Management Server'
[x] Pack 'Deepnet Legacy Self Service Server'
[x] Pack 'Deepnet Authentication Server'
[x] Pack 'Deepnet Admin Console'
[x] Pack 'Deepnet Single Sign-on Server'
[x] Pack 'Deepnet Service Console'
[x] Pack 'Deepnet Deployment Service'
[x] Pack 'Deepnet Emergency Access Service'
[x] Pack 'Deepnet Reset Password Service'
[x] Pack 'Deepnet Unlock Account Service'
[x] Pack 'JDBC Drivers'
[x] Pack 'MySQL'
[x] Pack 'Common'
[x] Pack 'Documents'
[x] Pack 'Utility'
You can choose Redisplay to modify the list.

Press 1 to continue, 2 to quit, 3 to redisplay


In the next step, make sure that you enter the correct FQDN of your DualShield server. This shoulkd be the same FQDN that you have added into the local hosts in a previous step

Server FQDN:[dualshield.your-corporate-domain.com]?:
dualshield.acme.org

Use SSL to access DualShield[Y/n]?
Y
Create a self-signed certificate[Y/n]?
Y

Press 1 to continue, 2 to quit, 3 to redisplay


────────────────────────────────────────────────────────────────────────────────────────────────────────────
User Data
────────────────────────────────────────────────────────────────────────────────────────────────────────────

Tuning JVM switches for performance

JvmMx(MB): [2000]
JvmMs(MB): [512]

Press 1 to continue, 2 to quit, 3 to redisplay


────────────────────────────────────────────────────────────────────────────────────────────────────────────
User Data
────────────────────────────────────────────────────────────────────────────────────────────────────────────

Please select one of the following database encryption schemes:
0 [ ] No Encryption
1 [x] Software Encryption
2 [ ] Hardware Encryption(Customize)
Input selection:
1

Press 1 to continue, 2 to quit, 3 to redisplay


Install a copy of MySQL server[Y/n]?
Y

Server Address:[localhost]?:
Server Port: (3306)?:
User Name: [root]?:
Password: [changeit]?:
Encrypt it[Y/n]?
Database Name: [dualshield]?:
create a new database with the above name[Y/n]?
Data Encryption Strength[128/256/512]?:
256

Press 1 to continue, 2 to quit, 3 to redisplay


────────────────────────────────────────────────────────────────────────────────────────────────────────────
Installation
────────────────────────────────────────────────────────────────────────────────────────────────────────────

====================
Installation started
Framework: 1.8.0_60 (Azul Systems, Inc.)
Platform: fedora_linux,version=5.5.5-200.fc31.x86_64,arch=x64,symbolicName=null,javaVersion=1.8.0_222
[ Starting to unpack ]
[ Processing package: Legacy SSO Server (1/16) ]
[ Processing package: Legacy Management Server (2/16) ]
Cleaning up the target folder ...
[ Processing package: Legacy Self-Service Server (3/16) ]
[ Processing package: DualShield Authentication Server (4/16) ]
[ Processing package: Admin Console (5/16) ]
[ Processing package: SSO Server (6/16) ]
[ Processing package: Service Console (7/16) ]
[ Processing package: Deployment Service (8/16) ]
[ Processing package: Emergency Access Service (9/16) ]
[ Processing package: Reset Password Service (10/16) ]
[ Processing package: Unlock Account Service (11/16) ]
[ Processing package: (12/16) ]
[ Processing package: (13/16) ]
[ Processing package: (14/16) ]
[ Processing package: (15/16) ]
[ Processing package: (16/16) ]
[ Unpacking finished ]
Installation finished


────────────────────────────────────────────────────────────────────────────────────────────────────────────
Perform External Processes
────────────────────────────────────────────────────────────────────────────────────────────────────────────

[ Starting processing ]
Starting process Database Encryption Mechanism (1/11)
Starting process Installing MYSQL(Linux) (2/11)
=================================================
BATCH SCRIPT FOR ACTIVATING SERVER 
By Mingfa Ma (mingfa@deepnetsecurity.com)
=================================================
Unpacking MySQL Archieve . . .
64bit OS
Initialize MySQL data directory

Preparing dualsql daemon working after reboot
Starting MySQL. [ OK ]
Starting process Get Running Path (3/11)
jobGetRunPath
Starting process Installing JRE (4/11)
usermod: no changes
Starting process Add FQDN to HOSTS file(Linux) (5/11)
Add to /etc/hosts file
dualshield.deepnetsecurity.com
Starting process Create Database and its Keystore (6/11)
Start to create a keystore for encryption of database
Finish to create a keystore for encryption of database
Start to set username/password for newly installed MySQL
Mon Mar 09 15:27:02 GMT 2020 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
Finish to set username/password for newly installed MySQL
Start to create an exclusive database for DualShield
Mon Mar 09 15:27:02 GMT 2020 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
Finish to create an exclusive database for DualShield
Starting process Generating DualShiled CA (7/11)
Start to create Dualshiled CA
Finish to create Dualshiled CA
Starting process Generating Management Console Agent Certificate (8/11)
Start to Create Certificate
Finish to Create Certificate
Starting process Generating Web SSL Certificate (9/11)
Starting process Generating IDP Certificate (10/11)
Start Deepnet IDP Cert Helper
Starting process Configuring Authentication Server(Linux) (11/11)
Finalize Authentication Server Installation

──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Installation Finished
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

Installation was successful
Application installed on /opt/dualshield
[ Console installation done ]


(base) [root@ubunto dualshield]# systemctl status dualshield
● dualshield.service - SYSV: A very fast and reliable DualShiled Server.
Loaded: loaded (/etc/rc.d/init.d/dualshield; generated)
Active: active (exited) since Mon 2020-03-09 15:29:00 GMT; 2s ago
Docs: man:systemd-sysv-generator(8)
Process: 1069357 ExecStart=/etc/rc.d/init.d/dualshield start (code=exited, status=0/SUCCESS)


  • No labels