From 4a126881bbcf899a027920a3eded21679b752bb0 Mon Sep 17 00:00:00 2001 From: Elias Ojala Date: Mon, 5 Nov 2018 09:27:17 +0200 Subject: [PATCH] Improved formatting of markdown --- README.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 0fb734ac6..bf6806cb9 100644 --- a/README.md +++ b/README.md @@ -76,12 +76,12 @@ NO OTHER SOFTWARE IS REQUIRED! Startup and Shutdown of YaCy: - on GNU/Linux and OpenBSD: -to start: execute ./startYACY.sh -to stop : execute ./stopYACY.sh + - to start: execute `./startYACY.sh` + - to stop : execute `./stopYACY.sh` - on Windows: -to start: double-click startYACY.bat -to stop : double-click stopYACY.bat + - to start: double-click `startYACY.bat` + - to stop : double-click `stopYACY.bat` - on Mac OS X: please use the Mac Application and start or stop it like any @@ -135,10 +135,14 @@ More details for YaCy on Heroku in [Heroku.md](Heroku.md). ## Port 8090 is bad, people are not allowed to access that port You can forward port 80 to 8090 with iptables: +```bash iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8090 +``` + On some operation systems, you must first enable access to the ports you are using like: +```bash iptables -I INPUT -m tcp -p tcp --dport 8090 -j ACCEPT - +``` ## How can I scale this; how much ram is needed; disk space?