How to install WebALARM agent on 64bit Linux operating system?

How to install WebALARM agent on 64bit Linux operating system?

Question:

How to install WebALARM agent on 64bit Linux operating system?

 

Answer:

WebALARM agent requires 32-bit libraries to work on 64-bit Linux platforms.

Please ensure the following libraries are installed before installing WebALARM agent:

  • 32-bit glibc libraries
  • 32-bit standard C++ libraries

Several examples below:

Amazon Linux 64 bit (yum based)

# yum install glibc.i686

# yum whatprovides libstdc++.so.6

# yum install libstdc++48-4.8.2-7.87.amzn1.i686

* install WAA with option 2


CentOS 64 bit

# yum install glibc.i686 libstdc++.i686

* install WAA with option 2


RHEL7 64 bit

# yum install glibc.i686 libstdc++.i686

* install WAA with option 1, then manually reconfigure for systemd

# vi /etc/systemd/system/wa.service

[Unit]

Description=WebALARM Agent

Author=e-Lock Corporation

After=network.service

[Service]

Restart=always

ExecStart=/usr/local/wa4/wa --port 9999

ExecStop=killall wa

[Install]

WantedBy=multi-user.target

# systemctl daemon-reload

# systemctl enable wa

# systemctl start wa

# systemctl status wa

 

Ubuntu 14.04 LTS 64 bit

# apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6

* On some Ubuntu 64-bit, use the following instead

# sudo apt-get install ia32-libs

* install WAA with option 2

# initctl status wa

# initctl start wa

# initctl status wa

 

SuSE (SLES 11) 64 bit

# zypper what-provides libstdc++.so.6

# zypper install libstdc++6-32bit

* install WAA with option 1

 

More information:

N/A