Ref: install-oracle-jdk-in-ubuntu
Step | Action | |||
---|---|---|---|---|
1) Update and Upgrade OS |
The current version of java-8 may vary. Please adapt the following settings to the current version |
Although it has not been tested with this solution, but you can probably use OpenJDK-8. If that is your choice, you can install Java with this command: "sudo apt install openjdk-8-jdk". You can check this page for more instructions: https://linuxize.com/post/install-java-on-ubuntu-18-04/ |
sudo apt update sudo apt upgrade sudo reboot -p -f |
download Oracle JDK (Example filename jdk-8u241-linux-x64.tar.gz) and upload the file /opt/Download
sudo mkdir /usr/lib/jvm |
cd /usr/lib/jvm sudo tar xzf /opt/Download/jdk-8u241-linux-x64.tar.gz sudo ln -s jdk1.8.0_241 current sudo chown -R root:root jdk1.8.0_241 |
sudo vi /etc/environment |
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/jvm/current/bin:/usr/lib/jvm/current/db/bin:/usr/lib/jvm/current/jre/bin" J2SDKDIR="/usr/lib/jvm/current" J2REDIR="/usr/lib/jvm/current/jre" JAVA_HOME="/usr/lib/jvm/current" |
Enter the following commands to inform the system of the Java location.
sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/current/bin/java" 0 sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/lib/jvm/current/bin/javac" 0 sudo update-alternatives --set java /usr/lib/jvm/current/bin/java sudo update-alternatives --set javac /usr/lib/jvm/current/bin/javac |
enter the following commands and make sure they indicate the location of java and javac as shown in the previous step.
update-alternatives --list java update-alternatives --list javac |
Restart
Test the installation
java -version # Sample answer java version "1.8.0_241" Java(TM) SE Runtime Environment (build 1.8.0_241-b07) Java HotSpot(TM) 64-Bit Server VM (build 25.241-b07, mixed mode) sudo reboot -f |
Step | Action | |||
---|---|---|---|---|
1) Updating the OS |
| |||
2) Download Maven |
| |||
3) Unzip Maven |
| |||
4) Configuring the Maven environmentTo make sure that Maven works properly, you need to set a few environment variables, including JAVA_HOME, M3_HOME, MAVEN_HOME, and PATH. |
| |||
5) Configuring environment variables |
| |||
5) Check the installation
|
|
Ref: Apache installing-solr et Installing+VIVO 1.11.0 - section Install Solr
Step | Action | ||
---|---|---|---|
1) Download Solr and unzipping |
| ||
2) Create solr user |
| ||
3) Installing the program |
| ||
4) Installing solr as a service |
| ||
5) Validate the solr service |
| ||
|
Step | Action | |
---|---|---|
1) Installing GIT |
| |
2) Verify the installation |
|
You can now proceed to the next process