Enterprise Recon 2.11.1

Master Server Console

Log in to the Master Server console and run all commands below as root.

Master Server console window upon successful login for "root" user.

Use the Master Server console only to perform described tasks. Using the Master Server console to perform tasks outside the scope of this guide may cause ER2 to fail.

Basic Commands

Check Master Server Version

To check your Master Server version and build number, run:

rpm -qa er2-master

This displays the installed Master Server package name, version, build number and architecture:

# Displays output in the format of # <Master Server package name>-<version>-<build number>.<architecture> er2-master-2.x.xx-xxxxxxxxxxxxxxx.el8.x86_64

Start, Stop and Restart the Master Server

To start your Master Server, run:

/etc/init.d/er2-master start

To stop your Master Server, run:

/etc/init.d/er2-master stop

To restart your Master Server, run:

/etc/init.d/er2-master restart

Start SSH Server

Disallow weak ciphers
For Master Server appliance installed using the ER2 ISO installer version 2.9.1 or 2.10.0, ensure that the use of weak ciphers has been disallowed. See Disallow Weak Ciphers.

Secure SHell (SSH) access to the Master Server is disabled by default. To enable SSH access, run:

service sshd start

Disallow Weak Ciphers

For SSH connections to and from the ER2 appliance installed using the ISO installer version 2.9.1 or 2.10.0, the use of weak ciphers must be disallowed by running the following commands:

# Disallow the use of weak ciphers grep -q ‘# CRYPTO_POLICY=’ /etc/sysconfig/sshd && sed -e ‘s/# CRYPTO_POLICY=/CRYPTO_POLICY=/’ -i.orig /etc/sysconfig/sshd

# Restart SSH systemctl restart sshd

Check Free Disk Space

To check how much free disk space there is on your Master Server, run:

df -h

This displays information about disk usage on the Master Server's local disks, and on mounted file systems:

Filesystem Size Used Avail Use% Mounted on /dev/dm-2 15G 1.8G 13G 13% / tmpfs 246M 0 246M 0% /dev/shm /dev/sda1 239M 54M 172M 24% /boot

Configure Network Interface

To change your network settings, you can launch the text-based user interface of the NetworkManager on your Master Server by running:

nmtui

Follow the on-screen instructions to configure your Master Server's network settings.

Log Out

To log out of your current session in the Master Server console, run:

logout

The Master Server will continue to run in the background.

Shut Down

To shut down the Master Server, run:

shutdown -h now

The shutdown command can also be run with these options:

Command Description
shutdown -h +<time> Schedules the system to shut down in <time> number of minutes.
shutdown -h +1 shuts down the system in 1 minute.
shutdown -h hh:mm Schedules the system to shut down at hh:mm, where hh:mm is in a 24-hour clock format.
shutdown -h 13:30 shuts down the system at 1:30 pm.
shutdown -h +<time> This is a shutdown message. Schedules the system to shut down in <time> number of minutes, and sends the message: "This is a shutdown message" to all users, warning them of the impending shutdown.
shutdown -h +1 Shutting down in 1 minute shuts down the system in 1 minute and sends the message "Shutting down in 1 minute." to all users.
shutdown -r now Restarts the system. You can also run reboot to restart the system.
The above scheduling parameters (For example: +<time> Shutdown message) also work with shutdown -r.

Update

See Update ER2.