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:
parent
aa8a063dba
commit
f1e54576e0
1 changed files with 4 additions and 4 deletions
|
@ -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!
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue