Install Docker Compose Redhat



Ansible Tower (formerly ‘AWX’) is a web-based solution that makes Ansible even more easy to use for IT teams of all kinds. It’s designed to be the hub for all of your automation tasks.

Docker: An Oracle DBA's Guide to Docker - This article gives a basic introduction to some Docker concepts, focusing on those areas that are likely to interest Oracle DBAs. Docker: Install Docker on Oracle Linux 7 (OL7) - This article demonstrates how to install Docker on Oracle Linux 7 (OL7) using a BTRFS file system. 如果你用 Redhat Linux,执行:sudo yum install zsh;. Cabal command-not-found docker-compose frontend-search gnu-utils jira macports nvm powify ruby sudo.

Tower allows you to control access to who can access what, even allowing sharing of SSH credentials without someone being able to transfer those credentials. Inventory can be graphically managed or synced with a wide variety of cloud sources. It logs all of your jobs, integrates well with LDAP, and has an amazing browsable REST API. Command line tools are available for easy integration with Jenkins as well. Provisioning callbacks provide great support for autoscaling topologies.

AWX provides a web-based user interface, REST API, and task engine built on top of Ansible. It is the upstream project for Tower, a commercial derivative of AWX.

Prerequisites

Before you can run a deployment, you’ll need the following installed in your local environment:

  • Ansible Requires Version 2.8+
  • Docker
    • A recent version
  • docker Python module
    • This is incompatible with docker-py. If you have previously installed docker-py, please uninstall it.
    • We use this module instead of docker-py because it is what the docker-compose Python module requires.
  • Git Requires Version 1.8.4+
  • Python 3.6+
  • Node 10.x LTS version
    • This is only required if you’re building your own container images with use_container_for_build=false
  • NPM 6.x LTS
    • This is only required if you’re building your own container images with use_container_for_build=false

System Requirements

The system that runs the AWX service will need to satisfy the following requirements

  • At least 4GB of memory
  • At least 2 cpu cores
  • At least 20GB of space
  • Running Docker, Openshift, or Kubernetes
  • If you choose to use an external PostgreSQL database, please note that the minimum version is 10+.

Installation steps:

1. Install Dependencies

yum install -y epel-release

yum remove python-docker-py

yum install -y yum-utils device-mapper-persistent-data lvm2 ansible git python-devel python-pip python-docker-py vim-enhanced

pip install cryptography
pip install jsonschema
pip install docker-compose~=1.23.0
pip install docker –upgrade

Yum Install Docker-compose Redhat

2. Install docker

Configure docker ce stable repository.

yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo

Installing docker.

yum install docker-ce -y

Start docker service.

systemctl start docker

Enable docker service.

systemctl enable docker

3. Deploy AWX

Clone AWX repo

git clone https://github.com/ansible/awx.git

Clone commercial logos

cd awx/

git clone https://github.com/ansible/awx-logos.git

Configure AWX

cd installer/

$ vim inventory

awx_official=true

Deploy AWX

ansible-playbook -i inventory install.yml -vv

Check the status

docker ps -a

AWX is ready and can be accessed from the browser.

http://ipaddress:80/

the default username is “admin” and the password is “password”.

Final checks:

  1. verify whether the service is started or not with ss -tlnp | grep 80
  2. make sure your firewall is open for port 80
  3. make sure your OS is using python 3.6+ and pip3

https://github.com/ansible/awx/blob/devel/INSTALL.md

8i | 9i | 10g | 11g | 12c | 13c | 18c | 19c | 21c | Misc | PL/SQL | SQL | RAC | WebLogic | Linux

Home » Articles » Linux » Here

  • RHCSA and RHCE

Database Installation Matrix

For installations on RHEL clones, like Oracle Linux and CentOS, use the instructions provided below for the appropriate RHEL release.

OS9i10gR110gR211gR111gR212cR112cR218c19c
Red Hat Enterprise Linux 2.1 (RHEL2)herehere
Red Hat Enterprise Linux 3 (RHEL3)hereherehere
Enterprise Linux 4
(RHEL4 * OEL4)
hereherehere
RAC + VMware 1.x
RAC + NFS
here
Enterprise Linux 5
(RHEL5 * OL5)
herehere
RAC + VMware 1.x
RAC + VMware 2
RAC + NFS
here
RAC + VirtualBox
RAC + VMware 2
RAC + NFS
here
Oracle Linux 6 (OL6)here
RAC + VirtualBox
here
RAC + VirtualBox
RAC + NFS
here
RAC + VirtualBox
here
Oracle Linux 7 (OL7)herehere
RAC + VirtualBox
RAC + NFS
here
RAC + VirtualBox
here
RAC + VirtualBox
here
RAC + VirtualBox
Oracle Linux 8 (OL8)hereherehere
RAC + VirtualBox
Red Hat 8here
Red Hat 9here
Fedora Core 1 (FC1)herehere
Fedora Core 2 (FC2)here
Fedora Core 3 (FC3)herehere
Fedora Core 4 (FC4)herehere
Fedora Core 5 (FC5)here
Fedora Core 6 (FC6)here
Fedora 7 (F7)herehere
Fedora 8 (F8)here
Fedora 9 (F9)here
Fedora 10 (F10)here
Fedora 11 (F11)here
Fedora 12 (F12)here
Fedora 13 (F13)here
Fedora 14 (F14)here
Fedora 15 (F15)here
Fedora 16 (F16)here
Fedora 17 (F17)here
Fedora 18 (F18)herehere
Fedora 19 (F19)herehere
Fedora 20 (F20)herehere
Fedora 21 (F21)herehere
Fedora 22 (F22)herehere
Fedora 23 (F23)herehere
Fedora 24 (F24)here
Fedora 25 (F25)herehere
Fedora 26 (F26)herehere
Fedora 27 (F27)here
Fedora 28 (F28)herehere
Fedora 29 (F29)hereherehere
Fedora 30 (F30)herehere
Fedora 31 (F31)herehere
Fedora 32 (F32)here

Application Server Installation Matrix

For installations on RHEL clones, like Oracle Linux and CentOS, use the instructions provided below for the appropriate RHEL release.

OS9iASAS10g R1AS10g R2AS10g R3WebLogic 11gWebLogic 12cR1
(12.1.1)
WebLogic 12cR1
(12.1.2)
WebLogic 12cR1
(12.1.3)
WebLogic 12cR2
(12.2.1)
Red Hat Enterprise Linux 2.1 (RHEL2)herehere
Red Hat Enterprise Linux 3 (RHEL3)hereherehere
Red Hat Enterprise Linux 4 (RHEL4)here
Oracle Linux 5 (OL5)herehereherehere
Oracle Linux 6 (OL6)hereherehereherehere
Oracle Linux 7 (OL7)here
Fedora Core 1 (FC1)here
Fedora Core 2 (FC2)here
Fedora Core 5 (FC5)here
Fedora Core 6 (FC6)here

Enterprise Manager Grid Control Installation Matrix

For installations on RHEL clones, like Oracle Linux and CentOS, use the instructions provided below for the appropriate RHEL release.

OS10g R110g R210g R511g R112c R112c R212c R312c R412c R513c R113c R213c R3
Red Hat Enterprise Linux 3herehere
Red Hat Enterprise Linux 4herehere
Oracle Linux 5hereherehereherehereherehere
Oracle Linux 6herehereherehereherehereherehere
Oracle Linux 7hereherehere

Operating System Installations

These articles provide a pictorial guide for performing an installation of Oracle linux.

These articles provide a pictorial guide for performing an installation of RHEL.

These articles provide a pictorial guide for performing an installation of Fedora.

Here are some miscellaneous installation articles.

Miscellaneous Articles

Apache Tomcat 6 Installation on Linux (RHEL and clones) - A guide to installation of Apache Tomcat 6 on RHEL and its clones.

Apache Tomcat 7 Installation on Linux (RHEL and clones) - A guide to installation of Apache Tomcat 7 on RHEL and its clones.

Apache Tomcat 8 Installation on Linux (RHEL and clones) - A guide to installation of Apache Tomcat 8 on RHEL and its clones.

Apache Tomcat 9 Installation on Linux (RHEL and clones) - A guide to installation of Apache Tomcat 9 on RHEL and its clones.

Apache Tomcat : Default Redirect - This article explains how to perform a default redirect from the root location on an Apache Tomcat installation to a specific page.

Apache Tomcat : Enable HTTPS - This article show how to enable HTTPS for Tomcat. It uses a self-signed certificate, but you could replace this with a valid Certificate Authority (CA) certificate.

Automating Database Startup and Shutdown on Linux - Use these methods to automatically startup and shutdown your database instances when your system starts and stops.

ASM using ASMLib and Raw Devices - Set up ASM using raw devices or ASMLib and switch between the two.

Configuring HugePages for Oracle on Linux (x86-64) - This article explains how to configure HugePages for Oracle on Linux (x86-64).

Convert RHEL 5.x to Oracle Linux 5.x - Follow this procedure to convert a RHEL5 installation to an Oracle Linux 5 installation.

Configuring Software RAID on Oracle Linux 6 - This article describes the steps required to configure software RAID on Oracle Linux 6.

Configuring VNC Server on Linux - This article describes how to configure VNC Server on a Linux using both the init and systemd methods.

Configuring the Alcatel SpeedTouch USB modem on RedHat 7.3 - 9.0 and Fedora - A guide to configuring an ADSL connection on RedHat and Fedora Linux using the Alcatel SpeedTouch USB modem.

Create a Local Yum Repository for Oracle Linux 6 - Learn how to create a local Yum repository for Oracle Linux 6.

Create a Local Yum Repository for Oracle Linux 7 - Learn how to create a local Yum repository for Oracle Linux 7.

Create a Local Yum Repository for Oracle Linux 8 - Learn how to create a local Yum repository for Oracle Linux 8.

Create an ODBC Data Source Name (DSN) on Linux - This article describes how to create an ODBC data source name (DSN) on Linux.

Create Self-Signed SSL Certificates - Notes on how to create self-signed SSL certificates using a variety of methods.

Direct and Asynchronous I/O - Take advantage of the performance advantages associated with Direct and Asynchronous I/O.

DNS Configuration for the SCAN used with Oracle RAC Database 11g Release 2 - A basic description of the DNS configuration required for the SCAN associated with an Oracle RAC database in 11g Release 2.

Dnsmasq : For Simple DNS Configurations - Learn how to use Dnsmasq, rather than BIND, for simple DNS configurations.

Download the Latest Oracle Linux Repo File - A brief description of how to get the latest repository files for Oracle Linux.

Fedora DNF System Upgrade - The article explains how to upgrade a Fedora installation using the DNF.

Git 2.x Installation on Linux - This article describes the manual installation of Git 2.x on Linux.

Git Cheat Sheet - A few of the Git commands I find myself using all the time.

GNU Screen Utility - The GNU screen utility allows you to protect long running processes from being killed by network failures.

JRockit Installation on Linux - A quick guide to installing the JRockit JDK on Linux.

Kickstart - Automated Installations of Red Hat Enterprise Linux - Save time by automating the installation and post installation configuration of Linux.

Large SGA On Linux - Configure a shared memory file system (shmfs) to allow large SGA sizes on Linux.

Let's Encrypt - Free Certificates on Oracle Linux (CertBot) - This article shows you how to use Let's Encrypt to get free certificates for publicly facing web servers.

Linux Antivirus (clamav, freshclam, clamscan, clamtk) - Install and use ClamAV, the free and simple antivirus software for Linux.

Linux Automatic or Timed Login (Oracle Linux, RHEL, CentOS) - Using automatic login or timed login on a server or your main PC is a really bad idea, but you might want to use this feature on a test VM.

Linux Scripts Running in the Background - This articles gives a brief explanation of running scripts in the background.

Manual Oracle Uninstall - Having trouble removing all Oracle software using the OUI? Try these methods.

NIC Channel Bonding in RHEL 5 & 6 (CentOS & Oracle Linux) - Use NIC channel bonding to enable multiple network interfaces to act as one.

OCFS2 On Linux - Use OCFS2 to create cluster file systems on Linux.

Oracle Linux : Frequently Asked Questions (FAQs) - Answers to some of the common questions about Oracle Linux.

OS Backup Commands - A summary of the operating system backup commands you might encounter whilst backing up Oracle databases.

PXE Network Installations (RHEL5 / OL5) - A brief run through the steps necessary to enable PXE network installations of RHEL5 and Oracle Linux 5.

PXE Network Installations (RHEL6 / OL6) - A guide to setting up a PXE server to enable PXE network installations of RHEL6 and Oracle Linux 6.

rlwrap for Command Line History and Editing in SQL*Plus and RMAN on Linux - Add command line history and basic editing to SQL*Plus and RMAN on Linux.

Spacewalk : Installation on Oracle Linux - This article explains how to install Spacewalk on Oracle Linux. You do not need a support contract for Oracle Linux to use this method.

Spacewalk : Basic Usage (Repositories, Channels and Clients) - An overview of using channels, repositories and clients in Spacewalk

SSH Tunnel (Port Forwarding) to access - This short post will demonstrate opening a SSH tunnel to get to a port on a remote server, which you don't have firewall access to reach.

UDEV SCSI Rules Configuration for ASM in Oracle Linux 5, 6, 7 and 8 - Setting up UDEV rules for SCSI disk ownership and permissions in Oracle Linux 5, 6, 7 and 8.

UNIX Commands For DBAs - A selection of UNIX/Linux commands including those for monitoring performance.

Docker

User Equivalence Configuration on Linux - This article describes two methods for configuring user equivalence on Linux.

Using NFS with ASM - This article describes how to use files presented using NFS as disks in ASM.

Vagrant : A Beginner's Guide - This article gives a very brief introduction to Vagrant.

Install and Configure a Gitlab Runner on Oracle Linux - This article describes how to install and configure a GitLab runner on Oracle Linux for use with CI/CD automation pipelines.

RHCSA and RHCE

RHCSA and RHCE 6 Certifications - An introduction to the series of articles that will be presented on this site covering the Red Hat Certified System Administration (RHCSA) and Red Hat Certified Engineer (RHCE) exams.

RHCSA

RHCSA Objectives - A complete list of the exam objectives, plus links to articles that cover them.

Oracle Linux 6 Installation - A pictorial guide for performing a default installation of Oracle Linux 6. Oracle Linux is a binary clone of RHEL, so the installation process is very similar.

Kickstart - Automated Installations of Red Hat Enterprise Linux.

PXE Network Installations (RHEL6 / OL6) - A guide to setting up a PXE server to enable PXE network installations of RHEL6 and Oracle Linux 6.

Configuring VNC Server on Linux - How to configure VNC Server on a Linux using both the init and systemd methods.

KVM Overview - An overview of KVM virtualization on Enterprise Linux 6.

Linux Disk Partitioning (fdisk, parted) - Disc partitioning utilities available in Linux.

Linux File Systems (mkfs, mount, fstab) - An introduction to Linux file systems.

Linux Logical Volume Management - An introduction to Logical Volume Management (LVM) in Linux.

Linux Unified Key Setup (LUKS) Encrypted File Systems - How to create and mount Linux Unified Key Setup (LUKS) encrypted file systems.

Linux Run Levels, Boot, Reboot, Shutdown - Linux run levels and boot, reboot and shutdown operations.

Installing Software Packages (rpm, yum) - An overview of the rpm and yum commands for installing software packages on Linux.

Linux Process Management (ps, top, renice, kill) - An introduction to some of the commands and utilities used to manage processes on Linux.

Linux Groups and Users - Create, modify and remove local groups and users on Linux.

Linux Files, Directories and Permissions - An overview of files, directories and permissions on Linux.

Linux Redirection And File Processing - Basic input and output redirection and file processing on Linux.

CRON : Scheduling Tasks on Linux - Learn how to scheduler tasks on Linux using CRON.

Access Remote Servers from Linux (ssh, vncviewer) - Learn how to access remote servers from Linux using SSH and VNC.

Linux Archive Tools (tar, star, gzip, bzip2, zip, cpio) - This article discusses the archiving tools available in Linux.

Linux HTTP and FTP Server Configuration - Configure Default HTTP and FTP servers on Linux.

Install Docker Compose Rhel 8

Linux Services (service, chkconfig, system-config-services) - This article describes the commands to manage services on Linux.

Linux Services (systemd, systemctl) - This article describes the commands to manage services on Linux systems using systemd.

Linux Network Configuration (system-config-network) - Learn how to configure networking on Linux.

Linux System Log Files - Identify the location of Linux system log files.

Linux Access Control Lists (ACLs) - Learn how to create and manage Access Control Lists (ACLs) on Linux.

Linux Firewall (iptables, system-config-firewall) - Perform basic firewall administration using iptables and system-config-firewall on Linux.

Linux Firewall (firewalld, firewall-cmd, firewall-config) - Perform basic firewall administration using firewall-cmd and firewall-config on Linux systems using firewalld.

Security-Enhanced Linux (SELinux) - Understand the basic concepts of Security-Enhanced Linux (SELinux).

RHCE

RHCE Objectives - A complete list of the exam objectives, plus links to articles that cover them.

Routing IP Traffic on Linux - This article provides an introduction to routing IP traffic on Linux.

Use iptables to Implement Packet Filtering and Configure Network Address Translation (NAT) - This article describes how to use iptables to implement packet filtering and configure Network Address Translation (NAT).

Linux Kernel Run-Time Parameters - A description of how to check and set Linux kernel run-time parameters.

Configure Linux to Authenticate Using Kerberos - This article describes how to configure a Linux system to authenticate using Kerberos.

Build Simple Linux RPM Packages - Learn how to build simple RPM packages for Linux.

Linux iSCSI Targets and Initiators - Learn how to configure iSCSI targets and initiators on Linux.

sar - Produce and deliver reports on system utilization (processor, memory, disk, and network).

Shell Scripting - Use shell scripting to automate system maintenance tasks. (See also Bash Scripting Tutorial)

Linux Remote Logging - Configure remote logging between Linux servers.

Linux HTTP Server Configuration - Install and configure a HTTP server on Linux.

Linux DNS Configuration - A very brief introduction to DNS (BIND) configuration on Linux.

Linux FTP Server Configuration - Configure FTP servers on Linux.

Linux NFS Configuration - An introduction to Linux NFS configuration.

Linux Samba Configuration - An introduction to Linux Samba configuration.

Linux Mail Transfer Agent (MTA) Configuration Using Postfix - Configure a Mail Transfer Agent (MTA) on Linux using Postfix.

User Equivalence (Key-Based Authentication) Configuration on Linux - This article describes two methods for configuring user equivalence (key-based authentication) on Linux.

Linux NTP Configuration - Configure NTP servers and clients on Linux.

Docker/Container Articles

You can find my Dockerfiles on GitHub here.

Docker : An Oracle DBA's Guide to Docker - This article gives a basic introduction to some Docker concepts, focusing on those areas that are likely to interest Oracle DBAs.

Docker : Install Docker on Oracle Linux 7 (OL7) - This article demonstrates how to install Docker on Oracle Linux 7 (OL7) using a BTRFS file system.

Docker : Install Docker on Oracle Linux 8 (OL8) - This article demonstrates how to install Docker on Oracle Linux 8 (OL8).

Docker : Host File System Permissions for Container Persistent Host Volumes - How do you make sure a non-root user has access to the host volumes accessed by a container? Here's one method.

Docker : Quick Example with MySQL - This article provides a simple example of using existing Docker images to create a new Docker container. In this case it is a MySQL image, but the process is similar for other images.

Docker : Writing Your First Dockerfile - This article covers some of the basics of writing and using a Dockerfile with worked examples.

Docker : Dockerfile Tips - Build in Stages - When you are learning to write Dockerfiles, or developing a complex new build, you may find it easier to take a staged approach to the build process.

Docker : Oracle Database on Docker - This article describes a simple build for running an Oracle database on Docker.

Docker : Upgrade an Oracle Database on Docker - This article discusses the issues related to upgrading an Oracle Database running on a Docker container.

Docker : Oracle REST Data Services (ORDS) on Docker - This article describes a simple build for running Oracle REST Data Services (ORDS) on Docker.

Docker : Clean Up Unwanted Containers, Images, Volumes and Networks - It's easy for Docker to consume large amounts of space holding objects you are no longer using. This article shows how to identify and clean up unused containers, images, volumes and networks.

Docker : Docker Compose - Defining Multi-Container Applications - This article describes how to use Docker Compose to create multi-container applications.

Docker : Docker Swarm - Defining Clustered Multi-Container Applications - This article describes how to use Docker Swarm to create clustered multi-container applications.

Docker : Portainer - A Web-Based Management Interface for Docker - This articles explains how Portainer can be used to manage a local Docker environment.

Docker : Quick Tips - This article lists some quick tips that will help when learning Docker.

Docker and Oracle Databases : Finding the Sweet Spot - A blog post discussing the issues related to running Oracle databases in Docker.

AWX Installation on Oracle Linux 7 (OL7) Using the Docker-Compose Method - This article describes how to install AWX, the upstream project for Ansible Tower, on Oracle Linux 7 (OL7) using the Docker-Compose method.

Docker : Using a Local Docker Registry - This article demonstrates how to use a local Docker registry based on the Docker 'registry' image.

Kata Containers : Running Containers Inside Lightweight Virtual Machines on Oracle Linux 7 (OL7) - This article describes how to configure Kata Containers on Oracle Linux 7 (OL7), allowing you to run containers inside lightweight virtual machines (VMs).

Podman : Install Podman on Oracle Linux 8 (OL8) - We can think of Podman as a replacement for Docker, with an almost identical syntax. This article demonstrates how to install Podman on Oracle Linux 8 (OL8).

Podman : A Basic Example of Using Podman With Dockerfiles (Oracle Database and ORDS) on Oracle Linux 8 (OL8) - This articles shows how to use Podman with existing Dockerfiles as a replacement for Docker.

Podman : Generate and Play Kubernetes YAML Files - Podman can generate Kubernetes YAML files from existing pod definitions, and use the generated YAML files to fire up new pods.

Convert CentOS 8 to Oracle Linux 8 (OL8) - This article demonstrates how to convert a CentOS 8 installation to Oracle Linux 8 (OL8).