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
a615cd4e7f
commit
73d5989380
1 changed files with 6 additions and 6 deletions
12
README.md
12
README.md
|
@ -3,10 +3,11 @@
|
|||
An usable bash-httpserver with easy configuration and PHP.
|
||||
|
||||
|
||||
### Installation as package
|
||||
1. Build package: `cd ; curl https://gitlab.com/niansa/simpsh-httpd/raw/master/mkdeb.sh | bash -`
|
||||
2. Install package: `sudo dpkg --install ./simpsh-httpd.deb && sudo apt -f install`
|
||||
3. Edit /etc/config.sh:
|
||||
### Installation as package (Debian based distros only)
|
||||
1. Install build dependencies: `sudo apt install fakeroot`
|
||||
2. Build package: `cd ; curl https://gitlab.com/niansa/simpsh-httpd/raw/master/mkdeb.sh | bash -`
|
||||
3. Install package: `sudo dpkg --install ./simpsh-httpd.deb && sudo apt -f install`
|
||||
4. Edit /etc/simpsh-httpd/config.sh: `sudoedit /etc/simpsh-httpd/config.sh`:
|
||||
* `FILES` Here is the webroot (homefolder for the website).
|
||||
* `HTMLTITLE` This is the title for the filelist.
|
||||
* `OUTFILE` The finished Document will saved here. ${OUTFILEID} must be included!
|
||||
|
@ -15,11 +16,10 @@ An usable bash-httpserver with easy configuration and PHP.
|
|||
* `WEBSITE` This is the URL of the website (Example: "http://localhost:$PORT")
|
||||
* `ERROR404` This is the error page 404
|
||||
* `ERROR403` This is the error page 403
|
||||
4. Set permissions: `sudo /usr/share/simpsh-httpd/setowner.sh`
|
||||
5. Start simpsh-httpd: `simpsh-httpd-socat -d`
|
||||
|
||||
|
||||
### Installation
|
||||
### Standard installation
|
||||
|
||||
1. Install following packages: `bash socat dos2unix`
|
||||
2. Download simpsh-httpd:
|
||||
|
|
Loading…
Add table
Reference in a new issue