1
0
Fork 0
mirror of https://gitlab.com/niansa/simpsh-httpd.git synced 2025-03-06 20:53:36 +01:00

Update README.md

This commit is contained in:
niansa 2017-12-26 12:09:19 +01:00 committed by GitHub
parent aa8a063dba
commit f1e54576e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,7 +3,7 @@
An usable bash-httpserver with easy configuration and PHP.
### Installation as package (with init service)
### Installation as package
1. Build package: `cd ; curl https://raw.githubusercontent.com/niansa/simpsh-httpd/master/mkdeb.sh | bash -`
2. Install package: `sudo dpkg --install ./simpsh-httpd.deb`
3. Edit /etc/config.sh:
@ -16,10 +16,10 @@ An usable bash-httpserver with easy configuration and PHP.
* `ERROR404` This is the error page 404
* `ERROR403` This is the error page 403
4. Set owner: `sudo /usr/share/simpsh-httpd/setowner.sh`
5. Restart simpsh-httpd: `sudo systemctl restart simpsh-httpd`
5. Start simpsh-httpd: `simpsh-httpd-socat -d`
### Installation (without init service)
### Installation
1. Install following packages: `bash socat dos2unix`
2. Download simpsh-httpd:
@ -39,7 +39,7 @@ An usable bash-httpserver with easy configuration and PHP.
* `chmod -R a+x ~/simpsh-httpd`
5. Start simpsh-httpd:
* `cd ~/simpsh-httpd`
* `./start-socat.sh`
* `./start-socat.sh -d`
6. Have fun with simpsh-httpd!