Skip to content

Instantly share code, notes, and snippets.

@ThomasTheFourth
Last active August 13, 2019 18:17
Show Gist options
  • Save ThomasTheFourth/8d2aa12edfeb72773492cfbc3de96962 to your computer and use it in GitHub Desktop.
Save ThomasTheFourth/8d2aa12edfeb72773492cfbc3de96962 to your computer and use it in GitHub Desktop.
How to install Synchronet on a new Ubuntu 18.04 install - tested on Digital Ocean droplet
Install Synchronet:
apt-get update
apt-get install make g++ linux-libc-dev libncurses5-dev libnspr4-dev cvs libcap2-dev gdb zip unzip lrzsz gkermit dosemu pkg-config python
mkdir /sbbs
cd /sbbs
wget 'http://cvs.synchro.net/cgi-bin/viewcvs.cgi/*checkout*/install/GNUmakefile'
make install SYMLINK=1 DOSEMU=1
export SBBSCTRL=/sbbs/ctrl
echo 'export SBBSCTRL=/sbbs/ctrl' >> ~/.bashrc
/sbbs/exec/scfg
/sbbs/exec/sbbs
To have it automatically start on boot in a tmux session:
apt-get install tmux
echo 'tmux new-session -s bbs -d "export SBBSCTRL=/sbbs/ctrl; /sbbs/exec/sbbs"' >> ~/start_bbs.sh
echo '#!/bin/sh -e' >> /etc/rc.local
echo 'sh /root/start_bbs.sh' >> /etc/rc.local
echo 'exit 0' >> /etc/rc.local
sudo chown root /etc/rc.local
sudo chmod 755 /etc/rc.local
reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment