Monday, September 27, 2021

Java Installation in Ubuntu Linux Server - Mithun Technologies - 9980923226


Mithun Technologies            +91-9980923226              devopstrainingblr@gmail.com

                                                       http://mithuntechnologies.com/
                                                       http://mithuntechnologies.co.in/ 
Java Installation in Ubuntu Linux Server

 

 By default, Ubuntu 18.04 includes OpenJDK version 11,which is an open-source variant of the JRE and JDK.

To install this version, first update the package index with below command.

#sudo apt update

Then execute below commands based on which version you want to install.

#apt install default-jre : For Defauly version.
#apt install openjdk-11-jre-headless : For Java 11
#apt install openjdk-8-jre-headless : For Java 8


Verify the Java installation with below command.
#java -version

To install the JDK, execute the following command, which will also install the JRE.

#sudo apt install default-jdk

Verify that the JDK is installed by checking the version of javac, the Java compiler using below command.

#javac -version


To Install the Open JDK 8, use the below command.

#sudo apt install openjdk-8-jdk

Monday, September 13, 2021

Spark Installation in Linux Server - Mithun Technologies - 9980923226

 

Mithun Technologies            +91-9980923226              devopstrainingblr@gmail.com

                                                       http://mithuntechnologies.com/
                                                       http://mithuntechnologies.co.in/
 
Install Python in Linux Server

Login as a root user

sudo su -

wget https://www.apache.org/dyn/closer.lua/spark/spark-3.1.2/spark-3.1.2-bin-hadoop3.2.tgz

tar -zxvf spark-3.1.2-bin-hadoop3.2.tgz

ln -s /opt/spark-3.1.2-bin-hadoop3.2 /opt/spark

useradd spark

chown -R spark:spark /opt/spark*

vi /etc/systemd/system/spark-master.service

[Unit]
Description=Apache Spark Master
After=network.target

[Service]
Type=forking
User=spark
Group=spark
ExecStart=/opt/spark/sbin/start-master.sh
ExecStop=/opt/spark/sbin/stop-master.sh

[Install]
WantedBy=multi-user.target


vi /etc/systemd/system/spark-slave.service.service

[Unit]
Description=Apache Spark Slave
After=network.target

[Service]
Type=forking
User=spark
Group=spark
ExecStart=/opt/spark/sbin/start-slave.sh spark://rhel8lab.linuxconfig.org:7077
ExecStop=/opt/spark/sbin/stop-slave.sh

[Install]
WantedBy=multi-user.target


#systemctl daemon-reload

#systemctl start spark-master.service

#systemctl status spark-master.service

http://IpAddress:8080

JFrog CLI Install in Linux Server - Mithun Technologies - 9980923226

 

Mithun Technologies            +91-9980923226              devopstrainingblr@gmail.com

                                                       http://mithuntechnologies.com/
                                                       http://mithuntechnologies.co.in/
 
JFrog CLI in Linux Server

Login as a root user

sudo su -


echo "[jfrog-cli]" > jfrog-cli.repo;
echo "name=jfrog-cli" >> jfrog-cli.repo;
echo "baseurl=https://releases.jfrog.io/artifactory/jfrog-rpms" >> jfrog-cli.repo;
echo "enabled=1" >> jfrog-cli.repo; echo "gpgcheck=0" >> jfrog-cli.repo;
sudo mv jfrog-cli.repo /etc/yum.repos.d/;
yum install -y jfrog-cli-v2;


JFrog CLI Installation in MAC
----------------------------------------


brew install jfrog-cli

To check the Version use the below command

jfrog -v


Reference URL

--------------------

https://jfrog.com/getcli/

Install Scala Build Tool (SBT) in Linux Server - Mithun Technologies - 9980923226

 

Mithun Technologies            +91-9980923226              devopstrainingblr@gmail.com

                                                       http://mithuntechnologies.com/
                                                       http://mithuntechnologies.co.in/
 
Install Scala Build Tool (SBT) in Linux Server

Login as a root user  and execute the below commands

sudo su -

curl -L https://www.scala-sbt.org/sbt-rpm.repo > sbt-rpm.repo

sudo mv sbt-rpm.repo /etc/yum.repos.d/

sudo yum install sbt -y

sbt -version


Install Open Shift in Linux Server - Mithun Technologies - 9980923226

Mithun Technologies            +91-9980923226              devopstrainingblr@gmail.com

                                                       http://mithuntechnologies.com/
                                                       http://mithuntechnologies.co.in/
 
Install Open Shift  in Linux Server

Login as a root user

sudo su -

For Downloading the OC 

--------------------------------
https://mirror.openshift.com/pub/openshift-v4/clients/ocp/latest/

wget https://mirror.openshift.com/pub/openshift-v4/clients/ocp/latest/openshift-install-linux-4.7.21.tar.gz


Extract the Package

--------------------------

tar -zxvf openshift-install-linux-4.7.21.tar.gz -O /usr/local/bin/

Copy the package into /usr/local/bin directory

---------------------------------------------------------
 

cp -r openshift-install /usr/local/bin/

 

Ansible Installation in Amazon Linux - Mithun Technologies - 9980923226

  Mithun Technologies            +91-9980923226              devopstrainingblr@gmail.com                                                 ...