This guide describes how to install
To setup a server a minimum software should be installed in the guest
- A Linux operating system, with at least 2 GB of RAM.
- The last release of Java 11.
- The internet connection must be enabled, due the install files are downloaded from an external repository.
A Java 11 virtual machine is required to run the application.
Run the following command in a terminal to check the current Java version:
$ java -version
If Java is already installed, then you can see a result message like:
$ java -version openjdk version "11.0.1" 2018-10-16 OpenJDK Runtime Environment 18.9 (build 11.0.1+13) OpenJDK 64-Bit Server VM 18.9 (build 11.0.1+13, mixed mode)
If not satisfied then it can be downloaded here.
Axional Studio check differents JAVA locations,
one of them is /opt/jdk1-11* so you can do a symbolic link from this path where the JDK was installed.
ln -s TARGET /opt/jdk1-11.0.1
Check this article for help on Java 9 setup.
After the Java Installation you should define the JAVA_HOME environment variable pointing to your Java Install Directory. Alternatively you can define a full server access to installed Java by setting up the linux alternates:
# update-alternatives --install "/usr/bin/java" "java" "/opt/jdk-11.0.1/bin/java" 1 # update-alternatives --install "/usr/bin/javac" "javac" "/opt/jdk-11.0.1/bin/javac" 1 # update-alternatives --install "/usr/bin/javaws" "javaws" "/opt/jdk-11.0.1/bin/javaws" 1 # update-alternatives --set java /opt/jdk-11.0.1/bin/java # update-alternatives --set javac /opt/jdk-11.0.1/bin/javac # update-alternatives --set javaws /opt/jdk-11.0.1/bin/javaws
If you want to change alternates manually, you can use config parameter to select your prefered JVM version
# update-alternatives --config java # update-alternatives --config javac # update-alternatives --config javaws
We recommend to install it, in the /home/axs/studio directory.
As root user create the user axs:
$ su - root $ useradd axs $ passwd axs
After the user axs is created, login with this user and create the studio subdirectory:
$ su - axs $ mkdir studio $ cd studio
Working as axs user, on directory /home/axs/studio download the installation tool using the common curl and tar commands:
$ su - axs
$ curl -k -s "https://bitbucket.org/deister/axional-install/get/tip.tar.gz" | tar -x -z --strip-components=1 --exclude ".hg*" --exclude ".project"
axional installer to setup the remote software repository and the credentials.
Type this command to install the product while in the newly created /home/axs/studio folder:
$ ./install.sh install
First time you execute the installer, it will ask for some parameters to configure the installation framework. You'll be asked for a user and password for accesing deister nexus repository. Ask for it to deister support team.
Installer will prompt for connection parameters to the
Nexus repository such as the URL, user and password
================================================================ CONFIGURATION ================================================================ Nexus Base URL [http://nexus3.deistercloud.com/]: Nexus User [deister-software-dist]: UserProvided Nexus User Password : PassProvided
Next the the installer will prompt for
product. We will enter studio.
The script will prompt for weather we want to download DB exports (dictionaries) along with the studio product, or not.
Do you want to download DB exports for standard dictionaries? [y/n]
We will choose to install a development version. Development versions are released more frequently and include the latest changes in code.
For Production Environment install a release version. Check guide here
2.3.1 Installing a development version
To install a development version, answer y to the question:
Do you want to download from the SNAPSHOT repository? y
Before continuing the installer will review the parameters:
CONFIGURATION PARAMETERS -------------------------------------- NEXUS_BASE_URL: http://nexus.deistercloud.com/ NEXUSUSER.....: deister-software-dist NEXUSPASS.....: ********** NEXUSPRODUCT..: studio PRODUCTNAME...: axional.studio.core PRODUCTVERS...: 0.0.+ Are You Sure? [y/n]
This questions are asked only first time and stored in file .install.rc. Following use of install.sh shell, will use parameters answered for accesing deister nexus repositories.
It is required that the localhost name resolves to an address in order for the server to know it's IP address. For example, in Linux systems, it can be necessary to create an entry in the "hosts" file (/etc/hosts):
... 10.0.0.1 my_host ...