From e5af047ad4aa5bfe22c9bdf02b9ef24d03cee4b5 Mon Sep 17 00:00:00 2001 From: Tracey Date: Mon, 22 Apr 2019 13:13:50 -0500 Subject: [PATCH] CentOS7 install docs (#185) * Update README.md Added installation instructions for CentOS 7 * Update README.md Formatting improvements --- README.md | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/README.md b/README.md index 850a9f50a..772d0bc17 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,48 @@ For debian, use our deb repo. For stretch: sudo apt update sudo apt install et + +### CentOS 7 +_Note: As of April 2019, the service does not start on CentOS 7, see [#182](https://github.com/MisterTea/EternalTerminal/issues/182)_ + +Install dependencies: +``` +sudo yum -y install epel-release +sudo yum install cmake3 +sudo yum install boost-devel libsodium-devel ncurses-devel protobuf-devel \ +protobuf-compiler cmake gflags-devel wget unzip +``` + +Download and install from source: +``` +wget https://github.com/MisterTea/EternalTerminal/archive/master.zip +unzip master.zip +cd EternalTerminal-master +mkdir build +cd build +cmake3 ../ +make && sudo make install +sudo cp ../systemctl/et.service /etc/systemd/system/ +sudo cp ../etc/et.cfg /etc/ +``` +Find the actual location of et: + + which etserver + +Correct the service file: +Open up /etc/systemd/system/et.service in an editor. +Correct the ExectStart line to have the correct path to the etserver binary (see [#180](https://github.com/MisterTea/EternalTerminal/issues/180)). + + ExecStart=/usr/local/bin/etserver --daemon --cfgfile=/etc/et.cfg + +Start the et service: + +``` +sudo systemctl enable et.service +sudo systemctl start et.service +``` + + ### FreeBSD On FreeBSD, use: pkg install eternalterminal