mirror of
https://gitlab.com/niansa/simpsh-httpd.git
synced 2025-03-06 20:53:36 +01:00
40 lines
No EOL
1.3 KiB
Markdown
40 lines
No EOL
1.3 KiB
Markdown
# simpsh-httpd
|
|
|
|
|
|
## Installation
|
|
|
|
### *Recomended*: Release installation
|
|
1. Download a release from the [Tags](https://gitlab.com/niansa/simpsh-httpd/tags/) page
|
|
2. Follow step 4 and 5 of "Installation as package" if you selected to download and install the Prebuild Debian package. Otherwise follow step 3-6 of "Standart installation"
|
|
|
|
### Installation as package (Debian based distros only)
|
|
1. Install build dependencies: `sudo apt install fakeroot curl git`
|
|
2. Build package: `curl https://gitlab.com/niansa/simpsh-httpd/raw/master/mkdeb.sh | bash -`
|
|
3. Install package: `sudo apt install ~/simpsh-httpd.deb`
|
|
4. Edit /etc/simpsh-httpd/config.sh: `sudoedit /etc/simpsh-httpd/config.sh`
|
|
5. Start simpsh-httpd: `simpsh-httpd-socat -d`
|
|
|
|
### Standart installation
|
|
1. Install following packages: `bash socat dos2unix`
|
|
2. Download simpsh-httpd:
|
|
* `$ cd ~`
|
|
* `$ git clone https://github.com/niansa/simpsh-httpd.git`
|
|
* `$ cd ./simpsh-httpd`
|
|
3. Edit ./config.sh: `nano ./config.sh`
|
|
4. Make all files executable
|
|
* `chmod -R a+x ~/simpsh-httpd`
|
|
5. Start simpsh-httpd:
|
|
* `cd ~/simpsh-httpd`
|
|
* `./start-socat.sh -d`
|
|
6. Have fun with simpsh-httpd!
|
|
|
|
|
|
## Similar projects
|
|
|
|
### XMB-HTTPD-2
|
|
http://xmb.ovh/codes/xmb-httpd-2
|
|
Another HTTPD which is written in bash.
|
|
|
|
### Iwanttobash
|
|
https://github.com/plutesci/Iwanttobash
|
|
A tool for bash scripting with options for python html etc. |