Updated markdown
parent
2b09b736cb
commit
60eac6dcc6
24
README.md
24
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).
|
||||
|
||||
|
@ -425,7 +425,3 @@ Licence stuff
|
|||
* 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
|
Loading…
Reference in New Issue