1
0
Fork 0
mirror of https://gitlab.com/niansa/simpsh-httpd.git synced 2025-03-06 20:53:36 +01:00
simpsh-httpd/README.md
2019-05-31 16:57:21 +00:00

1.4 KiB

simpsh-httpd

Installation

Recomended: Release installation

  1. Download a release from the 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 "Standard 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

Standard 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 (Webpage is down) Another HTTPD which is written in bash.

Iwanttobash

https://github.com/plutesci/Iwanttobash A tool for bash scripting with options for python html etc.