This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://tech.showmax.com/2019/10/how-ruby-can-surprise-you/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # install httpd24-httpd | |
| https://unix.stackexchange.com/questions/138899/install-apache-2-4-on-centos-using-yum | |
| # install httpd24-mod_ssl | |
| yum --enablerepo=centos-sclo-rh-testing install httpd24-mod_ssl | |
| # checking config | |
| service httpd24-httpd configtest |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM vtoanb/c7-systemd | |
| RUN yum install -y \ | |
| ImageMagick \ | |
| ImageMagick-devel \ | |
| apr-devel \ | |
| apr-util-devel \ | |
| autoconf \ | |
| automake \ | |
| bison \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM centos:7 | |
| RUN yum install -y \ | |
| ImageMagick \ | |
| ImageMagick-devel \ | |
| apr-devel \ | |
| apr-util-devel \ | |
| autoconf \ | |
| automake \ | |
| bison \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| for i in 2376 2379 2380 6443 9099 10250 10254; do | |
| sudo firewall-cmd --zone=public --add-port=$i/tcp --permanent | |
| done | |
| sudo firewall-cmd --zone=public --add-port=30000-32767/tcp --permanent | |
| for i in 8472 4789; do | |
| sudo firewall-cmd --zone=public --add-port=$i/udp --permanent | |
| done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM femtopixel/google-chrome-headless | |
| ENV VERSION=v5.3.0 \ | |
| RUBY_VERSION=2.6.1 | |
| LABEL maintainer="Jay MOULIN <[email protected]> <http://twitter.com/MoulinJay>" | |
| LABEL version="${VERSION}" | |
| USER root |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM femtopixel/google-chrome-headless | |
| ENV VERSION=v5.3.0 \ | |
| RUBY_VERSION=2.6.1 | |
| LABEL maintainer="Jay MOULIN <[email protected]> <http://twitter.com/MoulinJay>" | |
| LABEL version="${VERSION}" | |
| USER root |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| docker run -ti \ | |
| -v /sys/fs/cgroup:/sys/fs/cgroup:ro \ | |
| -v /tmp/$(mktemp -d):/run \ | |
| -p 8180:80 local/c7-systemd-httpd | |
| docker run -ti \ | |
| --name mistyline \ | |
| -v /sys/fs/cgroup:/sys/fs/cgroup:ro \ | |
| -v /tmp/$(mktemp -d):/run \ | |
| -v /toanvv/mistyline_registration/httpd/conf:/etc/httpd/conf \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM centos:7 | |
| ENV container docker | |
| RUN (cd /lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i == \ | |
| systemd-tmpfiles-setup.service ] || rm -f $i; done); \ | |
| rm -f /lib/systemd/system/multi-user.target.wants/*;\ | |
| rm -f /etc/systemd/system/*.wants/*;\ | |
| rm -f /lib/systemd/system/local-fs.target.wants/*; \ | |
| rm -f /lib/systemd/system/sockets.target.wants/*udev*; \ | |
| rm -f /lib/systemd/system/sockets.target.wants/*initctl*; \ | |
| rm -f /lib/systemd/system/basic.target.wants/*;\ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # K3s | |
| ## install | |
| curl -sfL https://get.k3s.io | sh - | |
| kubeconfig here: | |
| - /etc/rancher/k3s/k3s.yaml | |
| k3s kubectl get nodes | |
| K3S_TOKEN is created at /var/lib/rancher/k3s/server/node-token on your server. |
NewerOlder