I hereby claim:
- I am kaarolch on github.
- I am kaarol (https://keybase.io/kaarol) on keybase.
- I have a public key whose fingerprint is 0499 C33E A45D 621D 7BF5 264C 0C79 5F51 1DF1 6872
To claim this, I am signing this object:
#!/bin/bash | |
RETENTION=10 | |
BCKDIR="/home/karol/ldapbck/" | |
BCKFILE=`hostname`_`date +%Y-%m-%d+%M`".ldif" | |
LDAPCONF="slapd.conf" | |
LDAPDIR="/etc/ldap/" | |
SLAPDPID="/var/run/slapd/slapd.pid" | |
LDAPPID=`ps aux | grep -v grep | grep slapd | awk '{print $2}'` | |
LOGTAG="ldapbck" | |
if [ ! -d $BACKDIR ] ; then |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
polar_package_name=polarr_1.0.0-1_amd64.deb | |
wget https://s3-us-west-2.amazonaws.com/polarrelectron/ubuntu/${polar_package_version} | |
sudo alien -g ${polar_package_version} | |
sudo cp -r ./${polar_package_name%-*}.orig/usr/share /usr/ | |
sudo ln -s /usr/share/polarr/Polarr /usr/bin/polarr |
Labeling systems like SELinux require that proper labels are placed on | |
volume content mounted into a container. Without a label, the security | |
system might prevent the processes running inside the container from | |
using the content. By default, Docker does not change the labels set by | |
the OS. | |
To change a label in the container context, you can add either of two | |
suffixes :z or :Z to the volume mount. These suffixes tell Docker to | |
relabel file objects on the shared volumes. The z option tells Docker | |
that two containers share the volume content. As a result, Docker |
# install ruby, rubygems and all requirements, then install FPM (effing package manager) | |
# fpm: https://github.com/jordansissel/fpm | |
# as root | |
# update system, install requirements | |
yum update -y | |
yum install ruby-devel gcc curl libyaml-devel | |
# get the ruby version manager and install | |
curl -L get.rvm.io | bash -s stable |