mirror of
https://gitlab.com/niansa/simpsh-httpd.git
synced 2025-03-06 20:53:36 +01:00
An usable bash-httpserver with easy configuration and very simple PHP
.gitlab-ci.yml | ||
ci-test.sh | ||
config.sh | ||
filelist.sh | ||
htmlfilelist.sh | ||
httpheaders.sh | ||
init.sh | ||
LICENSE.md | ||
main.sh | ||
mkdeb.sh | ||
mkpackage.sh | ||
README.md | ||
readrequest.sh | ||
sendfile.sh | ||
start-socat.sh | ||
urlcheck.sh |
simpsh-httpd
Installation
Recomended: Release installation
- Download a release from the Tags
- 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)
- Install build dependencies:
sudo apt install fakeroot curl git
- Build package:
curl https://gitlab.com/niansa/simpsh-httpd/raw/master/mkdeb.sh | bash -
- Install package:
sudo apt install ~/simpsh-httpd.deb
- Edit /etc/simpsh-httpd/config.sh:
sudoedit /etc/simpsh-httpd/config.sh
- Start simpsh-httpd:
simpsh-httpd-socat -d
Standart installation
- Install following packages:
bash socat dos2unix
- Download simpsh-httpd:
$ cd ~
$ git clone https://github.com/niansa/simpsh-httpd.git
$ cd ./simpsh-httpd
- Edit ./config.sh:
nano ./config.sh
- Make all files executable
chmod -R a+x ~/simpsh-httpd
- Start simpsh-httpd:
cd ~/simpsh-httpd
./start-socat.sh -d
- 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.