From 1f99be2f54305012a28621f17c941f389834f223 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Tue, 21 Jan 2020 22:19:48 +0000 Subject: update docs to use go get... in the quick starting guide --- doc/installation.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'doc/installation.md') diff --git a/doc/installation.md b/doc/installation.md index d1ecf9f..e9c6d47 100644 --- a/doc/installation.md +++ b/doc/installation.md @@ -5,11 +5,9 @@ The following installation guide has been tested successfully on CentOS 7. You m This guide also assumes that you know how to use ``systemd`` and how to configure a service there. If you are unsure please consult the documentation of your distribution. -This guide also assumes that you know how to add a new Nagios check to your monitoring infrastructure. - # Compile it -Please check the [Quick Starting Guide](quickstart.md) for instructions how to compile DTail. It is recommended to automate the build process via your build pipeline (e.g. produce a deployable RPM via Jenkins). But that is out of scope of this documentation. +Please check the [Quick Starting Guide](quickstart.md) for instructions how to compile DTail. It is recommended to automate the build process via your build pipeline (e.g. produce a deployable RPM via Jenkins). You don't have to use ``go get...`` to compile and install the binaries. You can also clone the repository and use ``make`` instead. # Install it -- cgit v1.2.3 From eee041d58738f17f97db4b4302ea77086ff8f5ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20B=C3=BCtow?= Date: Wed, 22 Jan 2020 12:58:26 +0000 Subject: minor formatting fixes --- doc/installation.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'doc/installation.md') diff --git a/doc/installation.md b/doc/installation.md index e9c6d47..305eae5 100644 --- a/doc/installation.md +++ b/doc/installation.md @@ -15,22 +15,22 @@ It is recommended to automate all the installation process outlined here. You co 1. The ``dserver`` binary has to be installed on all machines (server boxes) involved. A good location for the binary would be ``/usr/local/bin/dserver`` with permissions set as follows: ```console -serv-001 ~ % sudo chown root:root /usr/local/bin/dserver -serv-001 ~ % sudo chmod 0755 /usr/local/bin/dserver +% sudo chown root:root /usr/local/bin/dserver +% sudo chmod 0755 /usr/local/bin/dserver ``` 2. Create the ``dserver`` run user and group. The user could look like this: ```console -serv-001 ~ % id dserver +% id dserver uid=670(dserver) gid=670(dserver) groups=670(dserver) ``` 3. Create the required file system structure and set the correct permissions: ```console -serv-001 ~ % sudo mkdir -p /etc/dserver /var/run/dserver -serv-001 ~ % sudo chown -R dserver:dserver /var/run/dserver +% sudo mkdir -p /etc/dserver /var/run/dserver +% sudo chown -R dserver:dserver /var/run/dserver ``` 4. Install the ``dtail.json`` config to ``/etc/dserver/dtail.json``. An example can be found [here](../samples/dtail.json.sample). @@ -42,8 +42,8 @@ serv-001 ~ % sudo chown -R dserver:dserver /var/run/dserver To start the DTail server via ``systemd`` run: ```console -serv-001 ~ % sudo systemctl start dserver -serv-001 ~ % sudo systemctl status dserver +% sudo systemctl start dserver +% sudo systemctl status dserver ● dserver.service - DTail server Loaded: loaded (/etc/systemd/system/dserver.service; disabled; vendor preset: disabled) Active: active (running) since Fri 2019-12-06 13:21:24 GMT; 2s ago -- cgit v1.2.3