1
0
Fork 0
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
Find a file
2018-07-15 09:41:29 +00:00
.gitlab-ci.yml Update .gitlab-ci.yml 2018-07-12 14:14:15 +00:00
ci-test.sh Update ci-test.sh 2018-07-15 08:48:01 +00:00
config.sh Update config.sh, sendfile.sh files 2018-07-15 09:41:29 +00:00
filelist.sh Update filelist.sh 2018-07-03 16:14:42 +00:00
htmlfilelist.sh Update htmlfilelist.sh 2018-07-03 16:15:48 +00:00
httpheaders.sh Update httpheaders.sh 2018-07-03 16:16:35 +00:00
init.sh Add files via upload 2017-08-21 08:55:46 +02:00
LICENSE.md Update and rename LICENSE to LICENSE.md 2018-01-06 16:19:06 +01:00
main.sh Update main.sh 2018-07-03 16:19:22 +00:00
mkdeb.sh Update mkdeb.sh, config.sh, sendfile.sh files 2018-07-15 09:30:30 +00:00
mkpackage.sh Update mkpackage.sh 2018-07-15 07:41:23 +00:00
README.md Update README.md 2018-07-15 09:13:54 +00:00
readrequest.sh Update readrequest.sh 2018-07-03 16:25:42 +00:00
sendfile.sh Update config.sh, sendfile.sh files 2018-07-15 09:41:29 +00:00
start-socat.sh Update start-socat.sh 2018-07-15 08:28:50 +00:00
urlcheck.sh Update urlcheck.sh 2018-07-03 16:29:38 +00:00

simpsh-httpd

Installation

Recomended: Release installation

  1. Download a release from the Tags
  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
  1. Edit ./config.sh: nano ./config.sh
  2. Make all files executable
  • chmod -R a+x ~/simpsh-httpd
  1. Start simpsh-httpd:
  • cd ~/simpsh-httpd
  • ./start-socat.sh -d
  1. 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.