Skip to content

Commit

Permalink
Merge pull request #4 from sammcj/master
Browse files Browse the repository at this point in the history
Updated for Debian 9 with PHP 7
  • Loading branch information
Fmstrat authored Jan 17, 2018
2 parents 602a74a + bd576d0 commit db1762a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ If you would like to do things step by step to understand how things work, the f
First, let's get all the software we need:
```
sudo apt-get update
sudo apt-get -y install libav-tools screen lighttpd php5 php5-cgi git
sudo apt-get -y install libav-tools screen lighttpd php php-cgi git
cd /opt
sudo git clone https://github.com/Fmstrat/diy-ipmi
sudo chown pi diy-ipmi -R
Expand Down Expand Up @@ -130,6 +130,7 @@ echo 'PIN=2' | sudo tee --append /etc/ipmi.conf
sudo service lighttpd force-reload
sudo systemctl restart lighttpd
sudo systemctl enable lighttpd
```

Lastly, get everything running right by completing some tasks and updating `/etc/rc.local` to ensure they happen at boot:
Expand Down
3 changes: 2 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

echo " -=- Getting software -=-"
sudo apt-get update
sudo apt-get -y install libav-tools screen lighttpd php5 php5-cgi git
sudo apt-get -y install libav-tools screen lighttpd php php-cgi git
cd /opt
sudo git clone https://github.com/Fmstrat/diy-ipmi
sudo chown pi diy-ipmi -R
Expand Down Expand Up @@ -44,6 +44,7 @@ echo 'PIN=2' | sudo tee --append /etc/ipmi.conf
echo " -=- Restarting the web server -=-"
sudo service lighttpd force-reload
sudo systemctl restart lighttpd
sudo systemctl enable lighttpd

echo " -=- Final steps -=-"
sudo chmod a+rw /dev/video0
Expand Down

0 comments on commit db1762a

Please sign in to comment.