Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
install:nix [2019/07/02 22:07] – [Non-CVS] Remove reference to sbl (deprecated) digital man | install:nix [2020/01/31 11:38] – Clarify that modern Debian-Linux systems uses systemd and link to that howto page digital man |
---|
* Note: these commands will make and install a //RELEASE// build of the software. To make and install a //DEBUG// build instead, pass ''DEBUG=1'' on the ''make'' command-lines. | * Note: these commands will make and install a //RELEASE// build of the software. To make and install a //DEBUG// build instead, pass ''DEBUG=1'' on the ''make'' command-lines. |
* Note: if you installed with a specified ''CVSTAG'' value and wish to reset this "sticky tag" later (i.e. to get the latest and greatest files from CVS), execute ''cvs update -A -d'' from the installation directory and rebuild. | * Note: if you installed with a specified ''CVSTAG'' value and wish to reset this "sticky tag" later (i.e. to get the latest and greatest files from CVS), execute ''cvs update -A -d'' from the installation directory and rebuild. |
| * Note: due to files being moved in CVS between releases, the **CVSTAG=xxx** method of specifying a specific source release version may not always work. Get/extract the relevant tarball for the desired release (e.g. ''ssrc317b.zip'') instead, as detailed in the next section. |
==== Non-CVS ==== | ==== Non-CVS ==== |
Alternatively, if you don't have a working CVS client, you can use the following steps to install the latest nightly development build: | Alternatively, if you don't have a working CVS client, you can use the following steps to install the latest nightly development build: |
# chkconfig --add sbbs | # chkconfig --add sbbs |
| |
== Debian == | == Debian (systemd) == |
| |
If using a Debian based Linux, you should use either of the following methods to add the Synchronet system service to your startup configuration for the ''sbbs'' daemon to start automatically during system startup: | Modern Debian-based Linux systems use [[https://wiki.debian.org/systemd|systemd]] to start and control system services (daemons). See [[howto:systemd]] for detailed instructions on configuring Synchronet as a daemon that is started automatically and controlled via systemd. |
| |
| == Debian (SysVinit) == |
| |
| If using an **older** Debian-based Linux which still uses a SysV/init.d daemon/service control system, you should use either of the following methods to add the Synchronet system service to your startup configuration for the ''sbbs'' daemon to start automatically during system startup: |
| |
# insserv -v sbbs | # insserv -v sbbs |
==== Clean Rebuild ==== | ==== Clean Rebuild ==== |
| |
Occasionally, you may need to perform a //clean// rebuild. A clean build can generally be achieved by first executing: | Occasionally, you may need to perform a //clean// rebuild. A clean build can generally be achieved by going to the ''src/'' directory and executing: |
src/cleanall.sh RELEASE=1 | ./cleanall.sh RELEASE=1 |
| |
**Note**:\\ | **Note**:\\ |
If you elect to build //debug// binaries (instead of //release// binaries), then you'll need to //exclude// the ''RELEASE=1'' portion from the ''cleanall.sh'' command. Otherwise, you'll be cleaning the ''*.release'' output directories when you really need to be cleaning the ''*.debug'' output directories. Likewise, if you're building and running //release// binaries, then you need to //include// the ''RELEASE=1'' portion on the ''cleanall.sh'' commandsas well. Alternatively, you can set your default build type in the file ''localdefs.mk''. The ''localdefs.mk'' file should be created by you in either in the ''src/build'' directory (to apply to //all// builds), or within each directory you run ''make'': | If you elect to build //debug// binaries (instead of //release// binaries), then you'll need to //exclude// the ''RELEASE=1'' portion from the ''cleanall.sh'' command. Otherwise, you'll be cleaning the ''*.release'' output directories when you really need to be cleaning the ''*.debug'' output directories. Likewise, if you're building and running //release// binaries, then you need to //include// the ''RELEASE=1'' portion on the ''cleanall.sh'' commands as well. Alternatively, you can set your default build type in the file ''localdefs.mk''. The ''localdefs.mk'' file should be created by you in either in the ''src/build'' directory (to apply to //all// builds), or within each directory you run ''make'': |
RELEASE=1 | RELEASE=1 |
| |