From 60eac6dcc6357a23a767a0f15022f6ed715495af Mon Sep 17 00:00:00 2001 From: fuzzykitten Date: Tue, 4 Feb 2025 15:16:59 -0500 Subject: [PATCH] Updated markdown --- README.md | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 638b88d..e823031 100644 --- a/README.md +++ b/README.md @@ -198,39 +198,39 @@ The same for securing your server and making sure it doesn't blab. Update your system and install needed components: -# apt update && apt upgrade -y -# apt install -y php php-json php-mbstring php-sqlite3 php-fpm nginx +``` apt update && apt upgrade -y``` +``` apt install -y php php-json php-mbstring php-sqlite3 php-fpm nginx``` Make directories: -# mkdir -p /srv/endboard /etc/opt/endboard /var/opt/endboard +``` mkdir -p /srv/endboard /etc/opt/endboard /var/opt/endboard``` Distribute files to webroot (from directory of the endboard archive): -# cp -rv ./srv/* /srv/endboard/ +``` cp -rv ./srv/* /srv/endboard/``` Distribute config file to etc (from directory of the endboard archive): -# cp -v ./etc/config.php /etc/opt/endboard/ +``` cp -v ./etc/config.php /etc/opt/endboard/``` Give ownership of working directory to webserver: -# chown -R www-data:www-data /var/opt/endboard +``` chown -R www-data:www-data /var/opt/endboard``` Copy config file for nginx (from directory of the endboard archive): -# cp ./etc/endboard /etc/nginx/sites-available/ +``` cp ./etc/endboard /etc/nginx/sites-available/``` Edit the two config files according to your needs (at the very least, define the landing page and the name of the admin account). Enable the site: -# ln -s /etc/nginx/sites-available/endboard /etc/nginx/sites-enabled/ +``` ln -s /etc/nginx/sites-available/endboard /etc/nginx/sites-enabled/``` Then, test and restart web server: -# nginx -t && systemctl reload nginx +``` nginx -t && systemctl reload nginx``` First use @@ -244,7 +244,7 @@ your admin password. Be sure to do that first. You will need the admin token generated by the server, you can get it like this: -# tail -n 1 /var/opt/endboard/admin_$name_token.txt +``` tail -n 1 /var/opt/endboard/admin_$name_token.txt``` (where $name is the name you have defined for the admin account). @@ -424,8 +424,4 @@ Licence stuff * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -* POSSIBILITY OF SUCH DAMAGE. - - - -The source of terminus.i2p \ No newline at end of file +* POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file