Installing Data Center Console on Linux

Unlike CDP Server products that are installed in one step, Data Center Console (DCC) requires some configuration prior to installation as well as some additional manual steps after the initial install of the software package.

See previous step in: Prerequisites for Installing Data Center Console.

Follow the below instructions to install and configure Data Center Console on Linux.


Installing Data Center Console on Linux | Installing MySQL Java Connector | Configuring Database Properties | Starting the Data Center Console | Accessing Data Center Console for the First Time

Installing Data Center Console on Linux

There are two ways of installing Data Center Console on Linux - automatic from repository and manual. Before installing Data Center Console, make sure your machine matches the following recommended system requirements:

Automaitc installation on CentOS

1. Open the new file /etc/yum.repos.d/r1soft.repo in your favorite Linux text editor: vim, emacs, pico, or mcedit.

vim /etc/yum.repos.d/r1soft.repo

2. Insert the following text into the file:

[r1soft] name=R1Soft Repository Server baseurl=http://repo.r1soft.com/yum/stable/$basearch/ enabled=1 gpgcheck=0

Tip
If you do not know how to work with text editors in a Linux SSH session, run the following command:
cat > /etc/yum.repos.d/r1soft.repo
Paste the string from the clipboard and press Ctrl-D.

As a result, the content of the file /etc/yum.repos.d/r1soft.repo will look like the following:

3. Save the file and exit.

4. Execute the following command to install Data Center Console.

yum install r1soft-cdp-datacenter-console

Type "Y" to confirm the download.

Automaitc installation on Debian or Ubuntu

1. Configure APT repository, then download and install the R1Soft apt gpg key by executing the following commands:

echo deb http://repo.r1soft.com/apt stable main >> /etc/apt/sources.list wget http://repo.r1soft.com/r1soft.asc apt-key add r1soft.asc

2. Download repository metadata into the local cache for faster search by executing the command

apt-get update

3. Install Data Center Console by executing the following command:

apt-get install r1soft-cdp-datacenter-console

Manual installation on CentOS

1. Extract the downloaded archive with the following command:

unzip R1Soft-DataCenter-Console.zip

2. The archive you have extracted contains two folders: one with .deb packages (in our case, "deb-linux64") and one with RPM packages ("rpm-linux64"). On CentOS, you need to change working directory to the one containing RPM packages:

cd rpm-linux64


After changing the working directory, install Data Center Console by executing the command

rpm -i *.rpm

Manual installation on Debian or Ubuntu

1. Extract the downloaded archive with the following command:

unzip R1Soft-DataCenter-Console.zip



2. The archive you have extracted contains two folders: one with .deb packages (in our case, "deb-linux64") and one with RPM packages ("rpm-linux64"). On Debian or Ubuntu, you need to change working directory to the one containing .deb packages:

cd deb-linux64

 After changing the working directory, install Data Center Console by executing the command

dpkg -i *.deb

You will need to perform the following steps before you can launch Data Center Console.


Installing MySQL Java Connector

Next, you need to add a JBDC connector. 

1. Download the MySQL Connector file using the wget command:

wget http://mysql.llarian.net/Downloads/Connector-J/mysql-connector-java-5.1.18.zip

Notice
At the time of writing this document 5.1.18 the latest version of MySQL Java Connector. When you will install Data Center Console, newer version may become available. Using the latest version is recommended.

2. Unpack the downloaded archive:

unzip mysql-connector-java-5.1.18.zip

3. Copy the jar file to the configuration folder:

cp mysql-connector-java-5.1.18-bin.jar /usr/sbin/r1soft-datacenter-console/conf/database-drivers


Configuring Database Properties

1. Open the /usr/sbin/r1soft-datacenter-console/conf/server.properties file in your favorite Linux text editor: vim, emacs, pico, or mcedit.

vim /usr/sbin/r1soft-datacenter-console/conf/server.properties

2. Replace the database name, <username>, and <password> fields with the relevant values for your system.

3. Save the file and exit.


Starting the Data Center Console

1. Run the following command to start Data Center Console:

/etc/init.d/cdp-console start

2. Check the log file to verify that Data Center Console has started successfully:

tail -f /usr/sbin/r1soft-datacenter-console/log/server.log


Accessing Data Center Console for the First Time

1. Open a Web browser and enter the following URL:

http://localhost:8080

2. In the login form, enter the default username ("admin") and password ("admin"), and then click "Login."