Skip to content

S2C Debian Sandbox : Build sdmsh in sandbox

komar edited this page May 10, 2024 · 3 revisions

How to build sdmsh on Debian Sandbox

1. Access to internet from sandbox. Get IP address from local network DHCP

root@evo-sandbox:~# ifup eth0:dhcp
Internet Systems Consortium DHCP Client 4.4.1
...
bound to 10.10.1.76 -- renewal in 1924 seconds.

2. Synchronize time in order to install packages from debian repository

root@evo-sandbox:~# ntpdate-debian

or

root@evo-sandbox:~# ntpdate 0.debian.pool.ntp.org

3. Change apt config files to `buster` debian release

root@evo-sandbox:~# sed -i 's/stable/buster/' /etc/apt/sources.list /etc/apt/apt.conf.d/000main

4. Update repository database and install packages for building sdmsh

root@evo-sandbox:~# apt install -y build-essential git libreadline-dev ca-certificates

5. Clone sdmsh repository

root@evo-sandbox:~# git clone https://github.com/evologics/sdmsh.git

6. Compile sdmsh

root@evo-sandbox:~# cd sdmsh
root@evo-sandbox:~/sdmsh# make