Learn And Shine https://www.learnandshine.in Gateway To Your Dream Career Mon, 16 Mar 2020 05:39:18 +0000 en-US hourly 1 https://wordpress.org/?v=5.2.2 https://www.learnandshine.in/wp-content/uploads/2019/07/cropped-learn-and-shine-logo-b-12-32x32.jpg Learn And Shine https://www.learnandshine.in 32 32 Guacamole + VNC + Audio https://www.learnandshine.in/guacamole-vnc-audio/ Sat, 14 Mar 2020 18:52:42 +0000 https://www.learnandshine.in/?p=3245

Information Security has become very important today, leading to the use of VPNs to access corporate environments. However, sometimes there is a need to access a desktop from a machine/device which may not have the necessary VPN software installed.

This situation has led to the development of thin client remote desktop software tools such as novnc, which aim to allow access to your desktop via a HTML5 enabled web browser.

One such tool is Apache Guacamole, which is essentially clientless, since the UI is accessed via any HTML5 compatible web browser. The remote desktop gateway supports many standard protocols such as VNC, RDP and SSH, allowing you to access both Linux and Windows desktops with ease.

As compared to other tools, Apache Guacamole is licensed under the Apache License Version 2.0 and is an elegant member of FOSS community.

In this article, I will provide a step by step guide to help setup Guacamole to access a Linux desktop via VNC. The key idea here is to be able to stream audio from the desktop the end users browser, thereby enabling powerful multi-media enabled demos and presentations that are secure.

]]>
Azure DevOps Pipeline https://www.learnandshine.in/azure-devops-pipeline/ Wed, 11 Mar 2020 13:14:36 +0000 https://www.learnandshine.in/?p=3208

DevOps has evolved today to include Continuous integration and continuous delivery (CI/CD), along with programmable infrastructure and services that support automating the entire lifecycle of an application.

In this article, I provide a simple example to understand how to use Azure DevOps Services to build, test and deploy a Java based application inside a Docker container. The steps provided in this blog article should help you understand the sequence of building a fully automated build and release pipeline for a sample Java application that is designed to be built using Maven.

Pre-requisites:

  • You should know how to create a git repo
  • You should be aware how maven works to be able to troubleshoot the build itself
  • You should be aware of YAML syntax
  • You should have a local copy of a sample Java console application along with the POM file, structured as a Maven project.

Steps:

  1. Sign in to GitHub.
  2. Create a Repository.
  3. Using the command line, push your java project to the github repository.
  4. Sign in to Azure DevOps at dev.azure.com and create a new organization.
  5. Create a new Project in this organization.
  6. Click on the Project.
  7. Navigate to the Repos -> Files Option and select ‘Import’.
  8. Provide the URL to the github repo you created in step 2.
  9. Verify that the code is properly pulled into the Azure git repo for this project.
  10. Clone this repo onto your development machine.
  11. Add the azure-pipeline-1.yml file to the project containing the build sequence that should get executed on Azure DevOps.
  12. Add the Dockerfile that will be used to create the docker container for hosting the java application.
  13. Commit the artifacts to the Azure DevOps git repo.
  14. From the Pipelines menu in Azure DevOps, add a new pipeline pointing to the file you created in step 11.
  15. Observe how the pipeline runs and verify the output from the log.

 

]]>