Wednesday, February 16, 2022

Deploy OrientDB NoSQL Database on Rocky Linux 8.5

 in This Tutorial you will Learn " How To Install OrientDB NoSQL Database on Rocky Linux 8"
                       
OrientDB is a next-gen multi-model open source NoSQL DBMS. With support for multiple data models, OrientDB can provide more functionality and flexibility in a scalable, high-performance operational database.
Homepage - https://orientdb.org/
_________________________________________________________________________________________
Server - Os:  Rocky Linux 8.5  64Bit      |    IP -192.168.1.20        |     Hostname - www.primaryhost.com
_________________________________________________________________________________________
cat /etc/system-release ; sestatus ; hostname ; hostname -I ; dnf groupinstall "Development Tools" -y
dnf install -y java-1.8.0-openjdk
update-alternatives --config java
nano  .bash_profile
export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.322.b06-2.el8_5.x86_64/jre/bin/java
source .bash_profile
echo $JAVA_HOME ; java -version

adduser orientdb -d /opt/orientdb ; cd /opt/orientdb/
wget https://orientdb3.s3.us-east-2.amazonaws.com/releases/3.0.23/orientdb-3.0.23.tar.gz -O orientdb.tar.gz
tar -xf orientdb.tar.gz ; mv orientdb-3.0.23/* .  ; chown -R orientdb:orientdb /opt/orientdb
su - orientdb
bin/server.sh
exit

nano /etc/systemd/system/orientdb.service
[Unit]
Description=OrientDB service
After=network.target

[Service]
Type=simple
ExecStart=/opt/orientdb/bin/server.sh
User=orientdb
Group=orientdb
Restart=always
RestartSec=9
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=orientdb

[Install]
WantedBy=multi-user.target

systemctl start orientdb ; systemctl enable orientdb ; systemctl status orientdb
ln -s /opt/orientdb/bin/console.sh /usr/bin/orientdb
orientdb
exit
firewall-cmd --zone=public --permanent --add-port=2480/tcp ; firewall-cmd --reload
http://127.0.0.1:2480
_________________________________________________________________________________________


No comments:

Post a Comment