Installing Amirouter: Difference between revisions

From MiRTA PBX documentation
Jump to navigation Jump to search
(Created page with "Amirouter is the multimanager's replacement and the start for the next real-time switchboard. It is a java application and it is fully multithreaded. It is still in its early stage of development, so the instructions are for the installation and compilation ** Install MAVEN cd /usr/local wget https://devel.mirtapbx.com/mirtapbx_support/apache-maven-3.8.6-bin.tar.gz tar xzvf apache-maven-3.8.6-bin.tar.gz export PATH=/usr/local/apache-maven-3.8.6/bin/:$PATH cd...")
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
Amirouter is the multimanager's replacement and the start for the next real-time switchboard. It is a java application and it is fully multithreaded. It is still in its early stage of development, so the instructions are for the installation and compilation
Amirouter is the multimanager's replacement and the start for the next real-time switchboard. It is a java application and it is fully multithreaded. It is still in its early stage of development, so the instructions are for the installation and compilation


** Install MAVEN
* Install MAVEN


   cd /usr/local
   cd /usr/local
Line 9: Line 9:
   cd -
   cd -


** Install JAVA
* Install JAVA


   rpm -i https://devel.mirtapbx.com/mirtapbx_support/jdk-13.0.2_linux-x64_bin.rpm
   rpm -i https://devel.mirtapbx.com/mirtapbx_support/jdk-13.0.2_linux-x64_bin.rpm


** Check java version, it should be  
* Check java version, it should be  


   java -version
   java -version


<pre>
java version "13.0.2" 2020-01-14
java version "13.0.2" 2020-01-14
Java(TM) SE Runtime Environment (build 13.0.2+8)
Java(TM) SE Runtime Environment (build 13.0.2+8)
Java HotSpot(TM) 64-Bit Server VM (build 13.0.2+8, mixed mode, sharing)
Java HotSpot(TM) 64-Bit Server VM (build 13.0.2+8, mixed mode, sharing)
</pre>
* Download and compile amirouter
  cd /usr/local/src
  wget http://devel.mirtapbx.com/mirtapbx_support/amirouter.tar.gz
  tar xzvf amirouter.tar.gz
  cd amirouter-003
  mvn clean install spring-boot:repackage -DskipTests -Pamirouter
  cp target/amirouter-0.0.3-SNAPSHOT.jar releases/amirouter/
* Configure
 
  amirouter-003/releases/amirouter/amirouter-server-config.yaml
  amirouter-003/releases/amirouter/application.properties
* Start
  cd amirouter-003/releases
  SPRING_CONFIG_LOCATION=amirouter/application.properties  java -jar amirouter/amirouter-0.0.3-SNAPSHOT.jar  start --config-file amirouter/amirouter-server-config.yaml

Latest revision as of 10:42, 26 March 2023

Amirouter is the multimanager's replacement and the start for the next real-time switchboard. It is a java application and it is fully multithreaded. It is still in its early stage of development, so the instructions are for the installation and compilation

  • Install MAVEN
 cd /usr/local
 wget https://devel.mirtapbx.com/mirtapbx_support/apache-maven-3.8.6-bin.tar.gz
 tar xzvf apache-maven-3.8.6-bin.tar.gz
 export PATH=/usr/local/apache-maven-3.8.6/bin/:$PATH
 cd -
  • Install JAVA
 rpm -i https://devel.mirtapbx.com/mirtapbx_support/jdk-13.0.2_linux-x64_bin.rpm
  • Check java version, it should be
 java -version
java version "13.0.2" 2020-01-14
Java(TM) SE Runtime Environment (build 13.0.2+8)
Java HotSpot(TM) 64-Bit Server VM (build 13.0.2+8, mixed mode, sharing)
  • Download and compile amirouter
 cd /usr/local/src
 wget http://devel.mirtapbx.com/mirtapbx_support/amirouter.tar.gz
 tar xzvf amirouter.tar.gz
 cd amirouter-003
 mvn clean install spring-boot:repackage -DskipTests -Pamirouter
 cp target/amirouter-0.0.3-SNAPSHOT.jar releases/amirouter/
  • Configure
 amirouter-003/releases/amirouter/amirouter-server-config.yaml
 amirouter-003/releases/amirouter/application.properties
  • Start
 cd amirouter-003/releases
 SPRING_CONFIG_LOCATION=amirouter/application.properties   java -jar amirouter/amirouter-0.0.3-SNAPSHOT.jar   start --config-file amirouter/amirouter-server-config.yaml