Ubuntu/Debian: Offline
Overview
The installation process involves downloading dependencies (deb
packages) to an intermediate server with Internet access
and copying them to the target server for offline installation.
Supported Versions
- Ubuntu
16.04
,18.04
- Debian
8.x
,9.x
Requirements
- Minimum RAM:
4
GB - See Requirements for additional information.
Installation Steps
Add jessie-backports
repository. This command is required only for Debian 8.x (jessie).
sudo sh -c 'echo deb http://ftp.debian.org/debian jessie-backports main \
>> /etc/apt/sources.list.d/backports.list'
Enable the axibase.com/public/repository/deb/
repository on the server with Internet access:
sudo apt-get update
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com \
--recv-keys 26AEE425A57967CFB323846008796A6514F3CB79
sudo sh -c 'echo "deb [arch=amd64] https://axibase.com/public/repository/deb/ ./" \
>> /etc/apt/sources.list.d/axibase.list'
Update the repository.
sudo apt-get update
Download the ATSD package, including its dependencies, to the dependencies
directory.
mkdir ~/dependencies
cd ~/dependencies
apt-get download atsd $(apt-cache depends --recurse --no-recommends --no-suggests \
--no-conflicts --no-breaks --no-replaces --no-enhances \
atsd | grep "Depends" | cut -d ":" -f2 | grep "^\ \w" | grep -v file-rc)
Download newer ca-certificates-java
. This step is required only for Debian 8.x (jessie).
rm ca-certificates-java*
apt-get -t jessie-backports download ca-certificates-java
Verify that the download directory is not empty.
...
libtinfo5_5.9+20140913-1+b1_amd64.deb
lsb-base_4.1+Debian13+nmu1_all.deb
mount_2.25.2-6_amd64.deb
net-tools_1.60-26+b1_amd64.deb
procps_2%3a3.3.9-9_amd64.deb
sensible-utils_0.0.9_all.deb
startpar_0.59-3_amd64.deb
sysvinit-utils_2.88dsf-59_amd64.deb
sysv-rc_2.88dsf-59_all.deb
zlib1g_1%3a1.2.8.dfsg-2+b1_amd64.deb
Copy the dependencies
directory to the target server where you plan to install ATSD.
Install dependencies.
ls dependencies/* | grep -v "atsd" | xargs sudo dpkg -i
Sample output:
...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for install-info (6.1.0.dfsg.1-5) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for systemd (229-4ubuntu19) ...
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Install ATSD.
sudo dpkg -i dependencies/atsd*
It can take up to 5 minutes to initialize the database.
Check Installation
tail -f /opt/atsd/atsd/logs/start.log
Watch for ATSD start completed message at the end of the start.log
.
Web interface is now accessible on port 8443
(HTTPS).
Troubleshooting
- Review troubleshooting guide.