INSTALL LIVOMOBILE SERVER ON CENTOS 7

FIRST INSTALL JAVA 8 and TOMCAT 8

1- INSTALL JAVA 8 ON CENTOS 7
2- INSTALL TOMCAT 8 ON CENTOS 7

INSTALL LIVO

first open ports 9042 and 9091

$ sudo firewall-cmd –zone=public –add-port=9042/tcp –permanent
$ sudo firewall-cmd –zone=public –add-port=9091/tcp –permanent
$ sudo firewall-cmd –reload
$ sudo systemctl restart firewalld.service
$ sudo iptables -L

go to tomcat bin folder

$ cd /opt/tomcat/bin

make sure tomcat is stopped

$ ./shutdown

go to opt folder

$ cd /opt/

download distribution zip file

$ sudo wget http://speedymemo.com/SpeedyMemoWS/distribution-1.0.0-bin.zip

install unzip

$ sudo yum install unzip

extract distibution zip file

$ sudo unzip distribution-1.0.0-bin.zip
$ ls
distribution-1.0.0-bin

create livo-server folder under tomcat

$ sudo mkdir /opt/tomcat/livo-server/

move all files under livo-server

$ sudo mv distribution-1.0.0-bin/* /opt/tomcat/livo-server/

now download the Roor.war file

$ sudo wget http://speedymemo.com/SpeedyMemoWS/ROOT.war

remove the ROOT folder from tomcat webapps folder

$ sudo rm -R /opt/tomcat/webapps/ROOT/

copy ROOT.war to tomcat webapps folder

$ sudo mv /opt/ROOT.war /opt/tomcat/webapps/

give the tomcat user and group privileges

$ chown -Rf tomcat.tomcat /opt/tomcat/webapps/ROOT.war

create aeon folder under opt/

$ sudo mkdir aeon

export the aeon path

$ export AEON_HOME=/opt/aeon/

However, the above export might not be consistent, so do the same as you did for java paths

become root

$ sudo su

go to bashrc

$ vi /etc/bashrc
export AEON_HOME=/opt/aeon
export JAVA_HOME=/opt/jdk1.8.0_101/
export JRE_HOME=/opt/jdk1.8.0_101/jre/
export PATH=$PATH:/opt/jdk1.8.0_101/bin:/opt/jdk1.8.0_101/jre/bin

source it

$ source /etc/bashrc

go to livo-server

$ cd /opt/livo-server

start the livo server

$ . /start.sh

open another terminal, as root start tomcat

$ sudo su
$ cd /opt/tomcat/bin
$ ./start.sh

now check out your app whatever your machine has

http://domainname/
or ip
http://ip/

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s