Skip to content

Instantly share code, notes, and snippets.

Avatar
😀
Just hackikng away...

Christian Hernandez christianh814

😀
Just hackikng away...
View GitHub Profile
View install-ovn.md

Need 4.6+

Use 4.6+

wget https://mirror.openshift.com/pub/openshift-v4/clients/ocp/latest/openshift-client-linux.tar.gz
wget https://mirror.openshift.com/pub/openshift-v4/clients/ocp/latest/openshift-install-linux.tar.gz

Create Install config

View haproxy-test.cfg
#---------------------------------------------------------------------
# Example configuration for a possible web application. See the
# full configuration options online.
#
# http://haproxy.1wt.eu/download/1.4/doc/configuration.txt
#
#---------------------------------------------------------------------
#---------------------------------------------------------------------
# Global settings
View Dockerfile.php
FROM registry.access.redhat.com/ubi8/ubi:8.1
RUN yum -y --disableplugin=subscription-manager -y module enable php:7.3 \
&& yum -y install --disableplugin=subscription-manager httpd php \
&& yum -y --disableplugin=subscription-manager clean all
ADD index.php /var/www/html/index.php
RUN sed -i 's/Listen 80/Listen 8080/' /etc/httpd/conf/httpd.conf \
&& mkdir /run/php-fpm \
@christianh814
christianh814 / Dockerfile.httpd
Created May 2, 2020
Sample Apache container
View Dockerfile.httpd
FROM registry.access.redhat.com/ubi8/ubi:latest
RUN yum -y install --disableplugin=subscription-manager httpd \
&& yum -y --disableplugin=subscription-manager clean all
ADD index.html /var/www/html/index.html
RUN sed -i 's/Listen 80/Listen 8080/' /etc/httpd/conf/httpd.conf \
&& chgrp -R 0 /var/log/httpd /var/run/httpd \
&& chmod -R g=u /var/log/httpd /var/run/httpd
View keybase.md

Keybase proof

I hereby claim:

  • I am christianh814 on github.
  • I am christianh814 (https://keybase.io/christianh814) on keybase.
  • I have a public key ASAOkQxGPLoY_PZJrpuzERNKzxWZf454MsBfsFA64SNxHgo

To claim this, I am signing this object: