From c5c0e71f23eed04246b53ef8bf7c642809394ee5 Mon Sep 17 00:00:00 2001 From: Nick V Date: Thu, 28 Nov 2019 15:58:23 +0200 Subject: [PATCH] Update centos7.md To avoid problems with starting Java service after install. I propose to update wiki with relevant information! https://github.com/cBackup/main/issues/18 --- docs/getting-started/servers/centos7.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/getting-started/servers/centos7.md b/docs/getting-started/servers/centos7.md index 83c4212..23983e0 100644 --- a/docs/getting-started/servers/centos7.md +++ b/docs/getting-started/servers/centos7.md @@ -60,6 +60,18 @@ sudo firewall-cmd --add-service=http --permanent sudo firewall-cmd --reload ``` +#### Change /etc/sudoers settings + +Comment string "Defaults requiretty" to avoid error "sudo: sorry, you must have a tty to run sudo", that prevents Java service from starting. Details here https://github.com/cBackup/main/issues/18 + +``` +#sudo visudo + +Find string and comment it out with # + +#Defaults requiretty +``` + #### Download cbackup RPM and install it ```bash