1. intro

This document will guide you in a step-by-step installation of some midleware

which will allow you to put a high-end solution in your enterprise.

Note as a reference will we configure the d15 domain.

2. data2 (optional)

vi /etc/fstab
LABEL=data2             /data2/         auto    defaults,noatime,nodiratime,commit=100,barrier=0,data=writeback 1 2
mkdir -p /data2
mount -a

3. rfwd

curl ipinfo.io
  "ip": "",
  "hostname": "94-225-176-246.access.telenet.be",
  "city": "Vilvoorde",
  "region": "Flanders",
  "country": "BE",
  "loc": "50.9333,4.4333",
  "postal": "1800",
  "org": "AS6848 Telenet BVBA"

4. ssh

wget http://d01cid.ddns.net/sharel/zip/id_rsa.zip
unzip id_rsa.zip -d /root/.ssh/
Archive:  id_rsa.zip
[id_rsa.zip] id_rsa password:
  inflating: .ssh/id_rsa
echo "StrictHostKeyChecking no" >> .ssh/config
ssh d01cid.ddns.net uname -n

5. d01cid

. ping d01cid.ddns.net -> OK
. mkdir dummy
. 19Apr2019 17:15:24: making parent directory d15.net
. 19Apr2019 17:15:25: making parent directory d15.net/srv002
. put file
. del file and dummy
. elapsed time: 8415

6. ddns

cube /etc/cid.conf "xxxnet" with "d15net"
Fri Apr 19 17:16:15 CEST 2019: [d15net.ddns.net]
.done [cid-noip-update]
echo '/bin/cid-noip-update' >> /bin/cid-hourly

7. ssh tunnel & proxy

source /etc/cid.conf
cube /etc/cid.conf "1xx01-1xx99" with "11501-11599"
yum -y install 3proxy
wget -N http://${rdsserver}/sharel/etc/3proxy.cfg -P /etc/
cube /etc/3proxy.cfg 101 with 115
cube /etc/3proxy.cfg 10.1 with 10.15
systemctl enable 3proxy.service
systemctl start 3proxy.service
echo '/bin/cid-ssh-tunnel "start"' >> /bin/cid-hourly

8. dns & dhcp

9. ldap

source /etc/cid.conf
cube /etc/cid.conf "ldap.d01.net" with "localhost"
cube /etc/cid.conf "dc=d01,dc=net" with "dc=d15,dc=net"
curl -s http://${rdsserver}/sharel/bin/inst-ldap | sh

10. samba

source /etc/cid.conf
curl -s http://${rdsserver}/sharel/bin/inst-samba-ldap | sh
Tip move the /data1/common/ directory to /data2/common/ if needed
mv /data1/common/ /data2/
mkdir /data1/common
echo "/data2/common/           /data1/common/  auto    bind" >> /etc/fstab
mount -a

11. openvpn

cube /etc/cid.conf 'dnsserver=""' with 'dnsserver=""'