環境
$ cat /etc/*release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.3 LTS"
NAME="Ubuntu"
VERSION="18.04.3 LTS (Bionic Beaver)"
環境
$ cat /etc/*release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.3 LTS"
NAME="Ubuntu"
VERSION="18.04.3 LTS (Bionic Beaver)"
# Go to ldap Folder and create a SSL Folder | |
cd /etc/ldap/ | |
mkdir ssl | |
cd ssl/ | |
# Create CA | |
openssl req \ | |
-subj "/C=IN/ST=Maharashtra/L=Mumbai City/O=Information Security Systems/OU=IT Services/CN=OpenLDAP Test Server" \ |
FROM base/archlinux | |
RUN echo "installing openldap" \ | |
&& sed 's/^CheckSpace/# CheckSpace/g' -i /etc/pacman.conf \ | |
&& pacman -Syyu --noconfirm \ | |
&& sed 's/^# CheckSpace/CheckSpace/g' -i /etc/pacman.conf \ | |
&& pacman -S --noconfirm openldap | |
RUN echo "configuring openldap" \ | |
&& sed -i 's/^suffix.*/suffix\t"dc=example,dc=org"/' /etc/openldap/slapd.conf \ |
OpenLDAP | |
基本的には書籍p.476-の手順に従っている。 | |
パッケージインストール | |
sudo yum install openldap-servers openldap-clients libtool-ltdl | |
サービス自動起動 | |
sudo systemctl enable slapd.service |
Some Jenkinsfile examples |
Create new filters and create new labels.
label: gh-pull-request
https://gist.github.com/cy-lee/fb8190303d0b1124d2d4e1c04741497e
https://www.techsutram.com/2017/07/practical-way-to-build-nfs-ganesh-from.html
git clone https://github.com/nfs-ganesha/nfs-ganesha.git
cd nfs-ganesha
# prints "$2$1$3$1...$N" | |
join() { | |
local sep="$1"; shift | |
local out; printf -v out "${sep//%/%%}%s" "$@" | |
echo "${out#$sep}" | |
} |