Wednesday, February 16, 2022

Deploy RethinkDB On Rocky Linux 8.5

 in This Tutorial you will Learn " How To install RethinkDB On Rocky Linux 8.5"
RethinkDB is a NoSQL open source database manager.
Homepage - https://rethinkdb.com/
_________________________________________________________________________________________
Server - Os:  Rocky Linux 8.5  64Bit      | IP -192.168.1.60        |Hostname - server.yourdomain.com
_________________________________________________________________________________________
cat /etc/system-release ; hostname ; hostname -I ; dnf groupinstall "Development Tools" -y
dnf localinstall https://download.rethinkdb.com/repository/centos/8/x86_64/rethinkdb-2.4.1.x86_64.rpm -y
cp /etc/rethinkdb/default.conf.sample /etc/rethinkdb/instances.d/instance1.conf

gedit  /etc/rethinkdb/instances.d/instance1.conf &>/dev/null
http-port=8080
server-name=server1
directory=/var/lib/rethinkdb/default
log-file=/var/log/rethinkdb
bind=0.0.0.0

touch /var/log/rethinkdb ; chown -R rethinkdb:rethinkdb  /var/log/rethinkdb /var/lib/rethinkdb
chmod -R 775 /var/log/rethinkdb /var/lib/rethinkdb
systemctl enable --now rethinkdb ; systemctl start rethinkdb ; systemctl status rethinkdb
firewall-cmd --add-port=8080/tcp --permanent ; firewall-cmd --reload

127.0.0.1:8080
__________________________________________________________________________________________

No comments:

Post a Comment