Skip to content

Commit

Permalink
installation script for the local php server
Browse files Browse the repository at this point in the history
  • Loading branch information
Athlon1600 committed Apr 19, 2021
1 parent 45dc4a5 commit 4944258
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/sh

sudo apt-get -y install vnstat php-cli

mkdir /usr/local/vnstat-php -p
cd /usr/local/vnstat-php || exit

wget https://raw.githubusercontent.com/Athlon1600/vnstat-php/master/vnstat.php -O vnstat.php

nohup php -S 0.0.0.0:60222 vnstat.php > phpd.log 2>&1 &

0 comments on commit 4944258

Please sign in to comment.