VisualVM is a kind of data gathering software for application which are running under the Java Virtual Machines (JVM). This retrieve information related to the Java application, like heap size, heap dumps, RAM utilization, CPU utilization, thread count and so on. There is an special interface that they use for getting information from application ends and gathered information is analyzed and displayed on the VisualVM dashboard. Remote application also can be monitored via VisualVM. Specially user can get snapshot of heat dumps also.
Follow the steps to install VisualVM on Ubuntu server.
# sudo apt-get install visualvm
# which viaualvm
# java -version
You can check the java is up & running up using the commands given above. And for testing purpose, I’m here using a Java testing application in the same host. Let’s open the visualVM and configure it to get the information of running applications.
if you need any help related to visualVM you can us,
# visualvm – -help
After open the VisualVM, then you will see the terms and condition that should be accepted. Please accept it and go ahead.
Jenkins is an open source server for continuous integration and written by JAVA. This is one of a world famous CI(Continuous Integration) tool. This tutorial guides you through the steps to deploy Jenkins server on RHEL(Red Hat Enterprise Linux) server. The steps are given below.
- Check the JAVA is available on the RHEL server.
# java -version
Output : java version “1.8.0_45”
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
- If there is no JAVA is installed on your, install java and get it confirmed that’s installed.
# yum install java
- Add the Jenkins repository to the host machine, then install the rpm file.
wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo
rpm –import http://pkg.jenkins-ci.org/redhat/jenkins-ci.org.key
- Install Jenkins server
# yum install jenkins
- Adding jenkins to system boot
# chkconfig jenkins on
- Start Jenkins and check the port 8080 is opened from the server side.
# service jenkins start
# netstat -tnlp | grep 8080
- Open your browser and load Jenkins server http://:8080
- After successfully deploy the Jenkins server, you can setup the server to build scala applications. In here the application code will be retrieved from the git server, so git server should have a separate user for jenkins. In order to achieve that, user have to generate a SSH key file from the host machine.
Posted in Continuous Integration, Linux/Ubuntu
- Tagged bash, Build Automation, CentOS, configuration, Continous Integration, Continuous Build, Dev-Ops, java, Jenkins, play-framework, RHEL, sbt