This section covers installing Squirro on a Linux system without internet access. This complements the Setup on Linux section.
Please refer to the Architecture and Prerequisites sections of Setup on Linux. Both of these sections also apply for an offline installation.
For an offline installation Squirro will provide you with a tar.gz
file which contains all the required RPM files. Make that file available on the server, for example by copying it over using scp.
The tar.gz
file above contains a YUM repository that can be used offline. To use this on the server, extract it:
[root@localhost ~]# mkdir -p /opt/squirro [root@localhost ~]# cd /opt/squirro [root@localhost ~]# tar -xvf /tmp/squirro-xxx.tar.gz |
This creates the folder /opt/squirro/repo
and populates it with al the RPM files.
Create the file /etc/yum.repos.d/squirro.repo
.
[squirro] name=Squirro baseurl=file:///opt/squirro/repo/ enabled=1 metadata_expire=300 gpgcheck=0 |
Installation of the storage node happens with two separate packages. The first package installs the required Linux users and the second installs the services. Use the following two commands for the installation:
[root@localhost ~]# yum install squirro-storage-node-users [root@localhost ~]# yum install squirro-storage-node |
Installation of the Squirro cluster node happens with two separate packages. The first package installs the required Linux users and the second installs the services. Use the following commands for the installation:
Support for RHEL7 is still experimental. The default MySQL variant for MySQL on RHEL7/CentOS7 is MariaDB. Our RPM packages are however not yet ready for this change. Please execute the following workaround before you execute the next step:
Note that once we've release official support this renaming of the mariadb script will have to be undone. |
[root]# yum install squirro-cluster-node-users [root]# yum install squirro-cluster-node |
If the Storage and Cluster node are not the same physical machine, then you need now to adjust the file /etc/nginx/conf.d/upstream-elastic.inc to point to the IP or Hostnames of the storage node(s).
Examples:
Single Server both roles | Dedicated Storage Node | Multiple Storage Nodes | |||
---|---|---|---|---|---|
|
|
|
If changes have been made to this file, reload the nginx configuration
service nginx reload |
Finally start the Squirro Services
RHEL6 /Centos6 | RHEL7/CentOS7 | |||
---|---|---|---|---|
|
|