Code Monkey home page Code Monkey logo

ansible's Introduction

  • Step by Step to Install & Configure WildFly (JBoss) on Ubuntu 20.04:

  • Step 1: Update the system. sudo apt update
  • Step 2: Install Java. sudo apt install openjdk-11-jdk -y
  • Step 3: Add a user & group for wildfly.
    • sudo groupadd -r wildfly
    • sudo useradd -r -g wildfly -d /opt/wildfly -s /sbin/nologin wildfly
  • Step 4: Download the WildFly using wget.
    • cd /tmp
    • wget https://download.jboss.org/wildfly/22.0.1.Final/wildfly-22.0.1.Final.tar.gz
    • Extract the downloaded file. tar xvf wildfly-22.0.1.Final.tar.gz
    • Move the extracted folder to /opt/ sudo mv wildfly-22.0.1.Final/ /opt/wildfly
    • Provide the following permission: sudo chown -RH wildfly: /opt/wildfly
  • Step 5: Create a folder. sudo mkdir -p /etc/wildfly
    • Copy the following files one place to another & provide executable permission to script files under /opt/wildfly/bin/ folder. sudo cp /opt/wildfly/docs/contrib/scripts/systemd/wildfly.conf /etc/wildfly/ sudo cp /opt/wildfly/docs/contrib/scripts/systemd/launch.sh /opt/wildfly/bin/ sudo sh -c 'chmod +x /opt/wildfly/bin/*.sh' sudo cp /opt/wildfly/docs/contrib/scripts/systemd/wildfly.service /etc/systemd/system/
  • Step 6: Start & Enable the WildFly service.
    • sudo systemctl start wildfly.service
    • sudo systemctl enable wildfly.service
    • Check the status of WildFly. sudo systemctl status wildfly.service

SEARCH THE FOLLOWING TERMS

  • IDEMPOTENCY
  • IAC(INFRASTUCTURE AS A CODE)
  • STATIC CODE ANALYSIS & QUALITY GATE
  • HIGH AVAILABILITY
  • LATENCY
  • FAULT TOLERANCE
  • BUSINESS CONTINUITY AND DISASTER RECOVERY
sudo groupadd tomcat
sudo -m -U -d /opt/tomcat -s /bin/false

sudo chown +R /opt/tomcat
sudo sh -c 'chmod +x /opt/tomcat/latest/bin/*.sh
sudo cp tomcat.service /etc/systemd/system/tomcat.service
sudo systemctl restart tomcat.service
sudo cp tomcat-users.xml /opt/tomcat/latest/conf/tomcat-users.xml
sudo cp context.xml /opt/tomcat/latest/webapps/host-manager/META-INF/context.xml 
sudo cp hostmanager-context.xml /opt/tomcat/latest/webapps/host-manager/META-INF/context.xml
sudo systemctl restart tomcat.service

ansible's People

Contributors

kiranteja623 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.