Difference between revisions of "Unattended installs"

From Atomicorp Wiki
Jump to: navigation, search
m
m (Instructions)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
= Introduction =
 
= Introduction =
  
ASL 4 supports unattended installations.  That means you can use the configuration of one system as the template for a new system.  The installer will not ask questions for options that are templated.  This document explains how to do an unattended installation.
+
ASL, Atomic Protector and Atomic WAF support unattended installations.  That means you can use the configuration of one system as the template for a new system.  The installer will not ask questions for options that are templated.  This document explains how to do an unattended installation.
  
 
= Important Note =
 
= Important Note =
  
ASL 4 contains a number of new features that are set up on Installation.  While you can also configure these features from the ASL web console after its installed, it may be easier to perform a full guided installation once if you have other servers to install.  This will save you time needed to enable these new features on the other systems.
+
ASL and Atomic WAF contain a number of new features that are set up on Installation.  While you can also configure these features from the web console after its installed, it may be easier to perform a full guided installation once if you have other servers to install.  This will save you time needed to enable these new features on the other systems.
 +
 
 +
Additionally, as a safety feature, on existing installers the installer will ask if you want to re-install the products database.  If you have important data or events in the database, do not reinstall.  Save your events.
  
 
= Instructions =
 
= Instructions =
  
== Step 1 : Copy the configuration file to the system ==
+
== Atomic Secured Linux ==
 +
 
 +
=== Step A : Copy the configuration file to the system ===
  
 
From a system with ASL already installed, copy this file:
 
From a system with ASL already installed, copy this file:
Line 21: Line 25:
 
Note: You can do this on the same system if you want a totally unattended upgrade of an existing ASL system to occur.
 
Note: You can do this on the same system if you want a totally unattended upgrade of an existing ASL system to occur.
  
== Step 2 : go to the root users directory ==  
+
=== Step B : go to the root users directory ===  
  
 
On the new system, without ASL installed:
 
On the new system, without ASL installed:
Line 27: Line 31:
 
cd /root/
 
cd /root/
  
== Step 3 : run the installer ==
+
=== Step C : run the installer ===
  
 
Run the installer as you normally would as the root on the system with the file /root/asl.cfg
 
Run the installer as you normally would as the root on the system with the file /root/asl.cfg
  
''wget -q -O - https://www.atomicorp.com/installers/asl |sh''
+
''wget -q -O - https://updates.atomicorp.com/installers/asl |sh''
  
 
Input will only be required if:
 
Input will only be required if:
Line 38: Line 42:
 
# A major change is detected
 
# A major change is detected
  
== Step 4 : optional for upgrades ==
+
=== Step D : (optional for upgrades only) ===
  
 
'''Note:  This is only required for unattended upgrades.  If you are doing an unattended install on a new system, you do not need to run this step.'''
 
'''Note:  This is only required for unattended upgrades.  If you are doing an unattended install on a new system, you do not need to run this step.'''
Line 45: Line 49:
  
 
''/var/asl/bin/database-setup''
 
''/var/asl/bin/database-setup''
 +
 +
=== Step E: return the normal installation process ===
 +
 +
Continue with Step 3 in the normal installation process:
 +
 +
[[ASL_installation#Step_3:_.28Optional.29_If_you_have_installed_the_ASL_kernel]]
 +
 +
== Atomic WAF ==
 +
 +
=== Step A : Copy the configuration file to the system ===
 +
 +
From a system with Atomic WAF already installed, copy this file:
 +
 +
/etc/asl/config 
 +
 +
To the system you want to install ASL on, or upgrade, in this file:
 +
 +
/root/asl.cfg
 +
 +
Note: You can do this on the same system if you want a totally unattended upgrade of an existing ASL system to occur.
 +
 +
=== Step B : go to the root users directory ===
 +
 +
On the new system, without Atomic WAF installed:
 +
 +
cd /root/
 +
 +
=== Step C : run the installer ===
 +
 +
Run the installer as you normally would as the root on the system with the file /root/asl.cfg
 +
 +
''wget -q -O - https://updates.atomicorp.com/installers/asl |sh''
 +
 +
Input will only be required if:
 +
 +
# The installer encounters an unresolvable error
 +
# A major change is detected
 +
 +
=== Step D : (optional for upgrades only) ===
 +
 +
'''Note:  This is only required for unattended upgrades.  If you are doing an unattended install on a new system, you do not need to run this step.'''
 +
 +
Once the installation is complete, you must re-install the ASL database.  Run this command as root:
 +
 +
''/var/asl/bin/database-setup''
 +
 +
=== Step E: return the normal installation process ===
 +
 +
Continue with Step 3 in the normal installation process:
 +
 +
[[ASL_installation#Step_3:_.28Optional.29_If_you_have_installed_the_ASL_kernel]]
 +
 +
== Atomic Protector ==
 +
 +
Please visit docs.atomicorp.com,

Latest revision as of 17:29, 3 March 2021

Contents

[edit] Introduction

ASL, Atomic Protector and Atomic WAF support unattended installations. That means you can use the configuration of one system as the template for a new system. The installer will not ask questions for options that are templated. This document explains how to do an unattended installation.

[edit] Important Note

ASL and Atomic WAF contain a number of new features that are set up on Installation. While you can also configure these features from the web console after its installed, it may be easier to perform a full guided installation once if you have other servers to install. This will save you time needed to enable these new features on the other systems.

Additionally, as a safety feature, on existing installers the installer will ask if you want to re-install the products database. If you have important data or events in the database, do not reinstall. Save your events.

[edit] Instructions

[edit] Atomic Secured Linux

[edit] Step A : Copy the configuration file to the system

From a system with ASL already installed, copy this file:

/etc/asl/config

To the system you want to install ASL on, or upgrade, in this file:

/root/asl.cfg

Note: You can do this on the same system if you want a totally unattended upgrade of an existing ASL system to occur.

[edit] Step B : go to the root users directory

On the new system, without ASL installed:

cd /root/

[edit] Step C : run the installer

Run the installer as you normally would as the root on the system with the file /root/asl.cfg

wget -q -O - https://updates.atomicorp.com/installers/asl |sh

Input will only be required if:

  1. The installer encounters an unresolvable error
  2. A major change is detected

[edit] Step D : (optional for upgrades only)

Note: This is only required for unattended upgrades. If you are doing an unattended install on a new system, you do not need to run this step.

Once the installation is complete, you must re-install the ASL database. Run this command as root:

/var/asl/bin/database-setup

[edit] Step E: return the normal installation process

Continue with Step 3 in the normal installation process:

ASL_installation#Step_3:_.28Optional.29_If_you_have_installed_the_ASL_kernel

[edit] Atomic WAF

[edit] Step A : Copy the configuration file to the system

From a system with Atomic WAF already installed, copy this file:

/etc/asl/config

To the system you want to install ASL on, or upgrade, in this file:

/root/asl.cfg

Note: You can do this on the same system if you want a totally unattended upgrade of an existing ASL system to occur.

[edit] Step B : go to the root users directory

On the new system, without Atomic WAF installed:

cd /root/

[edit] Step C : run the installer

Run the installer as you normally would as the root on the system with the file /root/asl.cfg

wget -q -O - https://updates.atomicorp.com/installers/asl |sh

Input will only be required if:

  1. The installer encounters an unresolvable error
  2. A major change is detected

[edit] Step D : (optional for upgrades only)

Note: This is only required for unattended upgrades. If you are doing an unattended install on a new system, you do not need to run this step.

Once the installation is complete, you must re-install the ASL database. Run this command as root:

/var/asl/bin/database-setup

[edit] Step E: return the normal installation process

Continue with Step 3 in the normal installation process:

ASL_installation#Step_3:_.28Optional.29_If_you_have_installed_the_ASL_kernel

[edit] Atomic Protector

Please visit docs.atomicorp.com,

Personal tools