Fix startup script to use correct config folder

This commit is contained in:
Arjan H
2022-10-22 17:36:24 +02:00
parent 8455f256f6
commit 5c4fb7b6fb
3 changed files with 7 additions and 2 deletions

View File

@@ -39,12 +39,15 @@ Getting Boulder up and running has quite a learning curve though and that is whe
## Install
LabCA is best run on its own server / virtual machine to prevent any issues caused by conflicting applications. On a freshly installed Linux machine (currently tested with Debian 11/bullseye, Debian 10/buster and Ubuntu 18.04) run this command as root user (or as a regular user that already is in the sudo group):
LabCA is best run on its own server / virtual machine to prevent any issues caused by conflicting applications. On a freshly installed Linux machine (currently tested with Debian 11/bullseye, Debian 10/buster, Ubuntu 22.04 and Ubuntu 20.04) run this command as root user (or as a regular user that already is in the sudo group):
```sh
curl -sSL https://raw.githubusercontent.com/hakwerk/labca/master/install | bash
```
Alternatively, clone this git repository and run the install script locally.
Or a combination: run the above curl command, but abort (ctrl-c) the script after the `[✓] Clone https://github.com/hakwerk/labca/ to /home/labca/labca` line (it will be waiting for the FQDN input) so that this repository is cloned in its final location, and then inspect, tweak and/or run the script `/home/labca/labca/install`.
The first-time install will take a while, depending on the power of your server and your internet speed. On my machine it takes about 12 minutes. It will install the latest versions of some packages, download the relevant programs and configure everything. If all goes well it should look like this:
<img src="https://user-images.githubusercontent.com/44847421/48658718-dc557b00-ea46-11e8-8596-00709fad9197.jpg" width="300">

View File

@@ -49,7 +49,7 @@ wait_up() {
sleep 5
}
count() {
echo "0"
echo 0
}
dn=$(dirname $0)

View File

@@ -37,6 +37,8 @@ $SUDO patch -p1 < $cloneDir/patches/reloader_reloader.patch
$SUDO patch -p1 < $cloneDir/patches/startservers.patch
$SUDO patch -p1 < $cloneDir/patches/storer_storer.patch
sed -i -e "s|./test|./labca|" start.py
sed -i -e "s/berrors.RateLimitError(/berrors.RateLimitError(ra.rlPolicies.RateLimitsURL(), /g" ra/ra.go
sed -i -e "s/\+07:/\-07:/" log/log.go