Well, I missed a step in the installation process and did not add the USE_DOSEMU=1 parameter on the make command under Linux. Is it passible to recompile? Will any of the changes I have already made get overwritten?
RainManHood<---
Re: Recompile SBBS
By: Clifra Jones to All on Wed Jul 25 2018 03:07 pm
Well, I missed a step in the installation process and did not add the
USE_DOSEMU=1 parameter on the make command under Linux. Is it passible to
recompile? Will any of the changes I have already made get overwritten?
You should be ok nothing should be over-written.
do:
export CVSROOT=:pserver:anonymous@cvs.synchro.net:/cvsroot/sbbs
cvs update -d src 3rdp
cd /sbbs/src/sbbs3/scfg; make RELEASE=1 USE_DOSEMU=1 symlinks
cd /sbbs/src/sbbs3/; make RELEASE=1 USE_DOSEMU=1 symlinks
Well, I missed a step in the installation process and did not add the USE_DOSEMU=1 parameter on the make command under Linux. Is it passible to recompile?
Will any of the changes I have already made get overwritten?
put USE_DOSEMU=1 in there and you won't have to worry about it again. This is documented on the wiki poage.
You don't need a GUI to get DOSEMU working. Which OS are you using? I
had problems with CentOS, it just works on Ubuntu with no problems to
the point where I have created a drop in tar file so you just uncompress
it and make a small change to sbbs.ini and you're pretty much done. It
even comes with a sample game and how to configure for sbbs. Let me
know if you want the link and how to install it.
Well, I missed a step in the installation process and did not add the USE_DOSEMU=1 parameter on the make command under Linux. Is it passible to recompile?
Yes, just do "make clean; make UDS_DOSEMU=1" in your src/sbbs3 directory. Add "RELEASE=1" (to both make commands) if you're using a release build.
Will any of the changes I have already made get overwritten?
No.
digital man
sudo setcap CAP_NET_BIND_SERVICE=+eip /sbbs/src/sbbs3/gcc.linux.x64.exe.release/sbbs
Nelgin wrote to Clifra Jones <=-
Clifra wrote:
sudo setcap CAP_NET_BIND_SERVICE=+eip /sbbs/src/sbbs3/gcc.linux.x64.exe.release/sbbs
You don't have to do that every time if you put it in a systemd startup file. There's a wiki page on how to do it.
Clifra wrote:
sudo setcap CAP_NET_BIND_SERVICE=+eip /sbbs/src/sbbs3/gcc.linux.x64.exe.release/sbbs
You don't have to do that every time if you put it in a systemd startup file. There's a wiki page on how to do it.
Nelgin wrote to Clifra Jones <=-
Clifra wrote:
sudo setcap CAP_NET_BIND_SERVICE=+eip /sbbs/src/sbbs3/gcc.linux.x64.exe.release/sbbs
You don't have to do that every time if you put it in a systemd startup file. There's a wiki page on how to do it.
Example for Centos
[Unit]
Description=Synchronet BBS
Documentation=man:sbbs
After=network.target
[Service]
ExecStartPre=/bin/rm -f /var/run/sbbs/*
EnvironmentFile=-/etc/default/sbbs
#Environment=SBBSROOT=/sbbs SBBSCTRL=/sbbs/ctrl
#ExecStart=/sbbs/exec/sbbs nd
#ExecStart=/sbbs/exec/sbbs td
ExecStartPre=/sbin/setcap 'cap_net_bind_service=+ep' /sbbs/src/sbbs3/gcc.linux.x64.exe.release/sbbs
ExecStart=/sbbs/exec/sbbs nd
PermissionsStartOnly=true
ExecReload=/bin/kill -HUP $MAINPID
Restart=on-failure
RestartSec=30
#User=bbs
#Group=bbs
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=sbbs
User=root
Group=root
[Install]
WantedBy=multi-user.target
Re: Re: Recompile SBBSYou
By: Nelgin to Clifra Jones on Mon Jul 30 2018 02:05 pm
Clifra wrote:
sudo setcap CAP_NET_BIND_SERVICE=+eip
/sbbs/src/sbbs3/gcc.linux.x64.exe.release/sbbs
You don't have to do that every time if you put it in a systemd startup
file. There's a wiki page on how to do it.
I have a systemd unit file and it failed to open the ports after recompile.
only have to run the setcap command once, after that it works on everyreboot.
Clifra Jones wrote to Rmh <=-
Re: Re: Recompile SBBS
By: Rmh to Nelgin on Tue Jul 31 2018 10:24 am
Nelgin wrote to Clifra Jones <=-
Clifra wrote:
sudo setcap CAP_NET_BIND_SERVICE=+eip /sbbs/src/sbbs3/gcc.linux.x64.exe.release/sbbs
You don't have to do that every time if you put it in a systemd startup file. There's a wiki page on how to do it.
Example for Centos
I dont have the setcap in my using file, nor do I run the BBS as root.
| Sysop: | Winzlo |
|---|---|
| Location: | Minnesota, USA |
| Users: | 11 |
| Nodes: | 16 (0 / 16) |
| Uptime: | 495941:23:25 |
| Calls: | 82 |
| Files: | 1,070 |
| D/L today: |
27 files (11,920K bytes) |
| Messages: | 286,984 |