2.2.2. Installing Dr.Web Enterprise Server for UNIX® System-Based OS

 

Installation should be carried out in console under superuser account (root).

 

Package-based installation of the Dr.Web Enterprise Server on a UNIX system-based OS

1.To start installing the drweb-esuite package, use the following command:

For the Server under

Command

FreeBSD OS

pkg_add <distribution_file_name>.tbz

Solaris OS

1.bzip2 -d <distribution_file_name>.bz2

2.pkgadd -d <distribution_file_name>

Linux OS

Debian®

Ubuntu®

dpkg -i <distribution_file_name>.deb

rpm-packages

rpm -i <distribution_file_name>.rpm

 

If Enterprise Server is already installed on your computer, you can upgrade the software components. To do this, run the distribution kit with the command:

rpm –U <distribution_file_name>.rpm for rpm distribution kits;

dpkg -i <distribution_file_name>.deb for deb distribution kits.

 

Also, there are so-called generic packages, which can be installed on any Linux system-based OS including those which are not on the list of supported systems.

 

To install generic package under Linux system-based OS, it is required glibc library of same version as generic package is.

 

Installation is provided by means of the installer included in the package:

tar -xjf <distribution_file_name>.tar.bz2

Then on behalf of the superuser run the following script:

./drweb-esuite-install.sh

 

Installation can be cancelled at any time by sending any of the following signals –– SIGHUP, SIGINT, SIGTERM, SIGQUIT and SIGWINCH (under FreeBSD OS changing the dimensions of the terminal window entails sending a SIGWINCH signal). When installation is cancelled, the changes to the file system roll back to the original state. When using an rpm package, installation can be interrupted by pressing Ctrl + C.

 

Press esc to return to the previous step of Server installation. Note, that in the step 2 in licence agreement window the ESC will exit installation.

 

Administrator name is admin by default.

 

2.The following windows (the number and sequence of which can be different subject to the OS) contains information on the copyright and the text of the license agreement. To proceed the installation, you must accept the license agreement.

3.Next, you will be prompt to set the group and the user under name of which the Server will operate. The same user is the owner of the files of the Enterprise Server.

For request on user creation, select new, to create a new user under name of which the Dr.Web ESS will be run. In the next menu, it is recommended to leave the default value and click OK. In the group selection menu, create a new group. In the next prompt, leave the default value.

4.In the next windows select the key file for the Server (enterprise.key) and for Enterprise Agent (agent.key), which are supplied with the distribution kit or for upgrade from the previous version, are stored in the /root/esuite_backup folder by default or in the folder, specified by you.

 

During the installation in console mode quantity of wrong attempts of key input are restricted:

for FreeBSD: 3 attempts;

for Solaris: 2 attempts;

On the expiry of all given attempts the installation will be terminated.

 

5.Next:

In case you are installing a Solaris system-compatible version: you will be asked to create a new database for the Enterprise Server. If you are upgrading an already installed Server and you want to use the existing database, type no, press Enter and select the path to the DB.
If you are installing the Enterprise Server on your computer for the first time, press Enter and specify the administrative password (login admin) password to access the Server. You can leave the default password - root. If you set you own password, for safety reasons, the typed password is not displayed on the screen. You must type the password twice (if specified passwords are differ, you will have to repeat the procedure - follow the instructions in appearing messages). The password should not be less than 4 characters.
Next, you will be asked to create new encryption keys. If you have saved drwcsd.pri and drwcsd.pub keys, refuse to create a new DB (type no, press Enter) and specify the full path to the existing keys. If you do not have saved keys, press Enter to create new encryption keys.

In case you are installing via the deb packages: you will be asked to specify the administrative password (login admin). You can leave the default password - root. If you set you own password, for safety reasons, the typed password is not displayed on the screen. You must type the password twice (if specified passwords are differ, you will have to repeat the procedure - follow the instructions in appearing messages). The password should not be less than 4 characters.

For other cases: you will be asked to specify the administrative password (login admin). During password setting, for safety reasons, the typed password is not displayed on the screen. You must type the password twice (if specified passwords are differ, you will have to repeat the procedure - follow the instructions in appearing messages). The password should not be less than 8 characters.

 

It is not allowed to use national characters in administrator password.

 

After upgrade and manual initialization of DB, administration password is reset to default value.

 

For reasons of security policy, it is strongly recommended do not leave default registration data. Registration data (login and password) are needed for connecting to the Server via the Control Center.

 

6.If perl interpreter is installed, you will be prompt to configure some Server settings. In request for setup a certain type of parameters the default value is no (press enter), which means that parameters of this type will have default values. If you specify yes value, you will be able to set the values of proposed parameters (the default values of the parameters declared in the square brackets; to set them, press enter).

You can initiate the configuration of Server settings manualy (the perl environment must be installed as well). To do this, run the configure.pl script, that can be found in following directories:

/usr/local/drwcs/bin/ for FreeBSD OS;

/opt/drwcs/bin/ for Linux and Solaris OS.

Configure.pl script parameters described in the Application H5.9. Configuring the Dr.Web Enterprise Server Under UNIX System-Based OS.

7.Then the program components will be installed on your computer. In the course of the installation you can be asked to confirm some actions as the administrator.

 

Having installed the Enterprise Server, for correct forming of links during Agent installation packages creating, edit the value of the ServerName parameter in the webmin.conf configuration file located at:

/var/drwcs/etc for FreeBSD OS and Solaris OS

/var/opt/drwcs/etc for Linux OS

Uncomment this parameter and instead of www.example.com specify the IP address or DNS name of the computer on which Enterprise Server is installed and the port number in the following format:

ServerName <Server_Address>:<port_number>

Save the changes and restart the Enterprise Server.

 

If you use a cluster system of Enterprise Servers and if you use custom port at the Enterprise Server, edit corresponding parameters in the download.conf configuration file, located in the etc subfolder of the Enterprise Server installation folder (see also Appendix G3. Download.conf Configuration File).

 

 

In the course of the installation of the Enterprise Server for FreeBSD OS an rc script /usr/local/etc/rc.d/drwcsd.sh will be created.

To manually stop the Server, use the command:

/usr/local/etc/rc.d/drwcsd.sh stop

To manually start the Server, use the command:

/usr/local/etc/rc.d/drwcsd.sh start

 

During the installation of the Enterprise Server for Linux OS and Solaris OS, an init script (/etc/init.d/drwcsd) for the launching and termination of the Server using /opt/drwcs/bin/drwcs.sh will be created. The latter cannot be launched manually.