mirror of
https://gitlab.com/niansa/simpsh-httpd.git
synced 2025-03-06 20:53:36 +01:00
1.2 KiB
1.2 KiB
simpsh-httpd
An usable bash-httpserver with easy configuration and PHP.
Recomended: Release installation
- Download a release from the Tags
- Follow step 4 and 5 of "Installation as package" if you selected to download 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!
Tip: You don't need to restart simpsh-httpd after most updates/configchanges!