Showing posts with label Interview Questions. Show all posts
Showing posts with label Interview Questions. Show all posts

Friday, May 1, 2020

What is Continuous Deployment?

Continuous Deployment extends Continuous Delivery by automating the deployment process, so that code that has passed automated testing is automatically deployed to production.

what is Continuous Delivery (CD)?

Continuous Delivery (CD) is a software development discipline where software is built so that it can be released to production at any time.

what is Continuous integration (CI)?

Continuous integration (CI) is a software development practice where members of a team integrate their work frequently, at least daily, leading to multiple integrations per day.

what is Idempotency?

The ability for an operation or code to be run multiple times without any unintended or extraneous effects. For example, if on your configuration management platform, you have it set so your web servers will install Apache, Apache will only ever be installed once, regardless of how many times the configuration manager is run against a server in that group.

Most configuration management tools are idempotent, including Ansible, Chef, Puppet, and Salt.

Sunday, March 15, 2020

Connect to Tomcat Manager and Host Manager from a remote machine


For security reasons, Tomcat Manager and Tomcat Host Manager cannot be accessed over a public IP address. Both applications only work from localhost by default but you can allow remote connections by changing their configuration.

Connect to Tomcat Host Manager from a different remote machine
In order to allow remote connections to the Tomcat Host Manager, follow the instructions below:
  • Create the file$CATALINA_HOME/conf/Catalina/localhost/host-manager.xml with the following content:
    <Context privileged="true" antiResourceLocking="false"
            docBase="${catalina.home}/webapps/host-manager">
        <Valve className="org.apache.catalina.valves.RemoteAddrValve" allow="^.*$" />
    </Context>
  • Start Tomcat:
    $CATALINA_HOME/bin/startup.sh

Connect to Tomcat Manager from a different remote machine
 
In order to allow remote connections to the Tomcat Manager, follow the instructions below:
  • Create the file $CATALINA_HOME/conf/Catalina/localhost/manager.xml with the following content:
    <Context privileged="true" antiResourceLocking="false"
            docBase="${catalina.home}/webapps/manager">
        <Valve className="org.apache.catalina.valves.RemoteAddrValve" allow="^.*$" />
    </Context>
  • Start Tomcat:
    $CATALINA_HOME/bin/startup.sh

Wednesday, December 5, 2018

Interview Questions

What is the difference between the Git revert and Git Reset and Git rebase?
How to fix the Git conflicts?
What is the Git merge and how to merger the branch with master?
What is Git cherry-pick?
How to provide the access to the new users for a repository?
Explain the CI/CD pipeline?
How to install the plugins in Jenkins?
How to Manage the users in Jenkins?
How to configure the Jenkins Master and Slave configuration?
How to rotate the logs in Jenkins?
What is the difference between poll scm and periodically polls?
What is Ansible execution flow?
What is the default Ansible Port?
What is the use of dry-run command in Ansible?
What is the user of commit command in docker?
How to build the docker images?
How to create docker container?
How to check the docker logs?
What is the use of exec command in docker?
What is the difference between dictionaries and lits in python?
What is the use of AWK in Linux?
how to check the port is using by any process/service?
What is the output format of "netstat -anp | grep :port" command?
How to kill the process in linux?
How to configure the Cross region VPC connection?
What are the types of S3 classes?
What is the use of Security groups in AWS?
What is the difference between R53 vs tradational DNS?
How to restrict the client IP in LoadBalancer?
What is the Maven life cycle?
What is the difference between Maven install and Maven deploy?