Skip to content

Commit bd576d0

Browse files
committed
Updated for Debian 9 with PHP 7
1 parent 602a74a commit bd576d0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ If you would like to do things step by step to understand how things work, the f
8282
First, let's get all the software we need:
8383
```
8484
sudo apt-get update
85-
sudo apt-get -y install libav-tools screen lighttpd php5 php5-cgi git
85+
sudo apt-get -y install libav-tools screen lighttpd php php-cgi git
8686
cd /opt
8787
sudo git clone https://github.com/Fmstrat/diy-ipmi
8888
sudo chown pi diy-ipmi -R
@@ -130,6 +130,7 @@ echo 'PIN=2' | sudo tee --append /etc/ipmi.conf
130130
131131
sudo service lighttpd force-reload
132132
sudo systemctl restart lighttpd
133+
sudo systemctl enable lighttpd
133134
```
134135

135136
Lastly, get everything running right by completing some tasks and updating `/etc/rc.local` to ensure they happen at boot:

install.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

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

4849
echo " -=- Final steps -=-"
4950
sudo chmod a+rw /dev/video0

0 commit comments

Comments
 (0)