Docs + on HW install v0.2
This commit is contained in:
@@ -10,18 +10,14 @@ PiAlert will be installed in `home/pi/pialert/` and run on port number `20211`.
|
|||||||
## CURL
|
## CURL
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -o install.sh https://raw.githubusercontent.com/jokob-sk/Pi.Alert/main/install/install.sh
|
curl -o install.sh https://raw.githubusercontent.com/jokob-sk/Pi.Alert/main/install/install.sh && sudo chmod +x install.sh && sudo ./install.sh
|
||||||
chmod +x install.sh
|
|
||||||
./install.sh
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## WGET
|
## WGET
|
||||||
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
wget https://raw.githubusercontent.com/jokob-sk/Pi.Alert/main/install/install.sh
|
wget https://raw.githubusercontent.com/jokob-sk/Pi.Alert/main/install/install.sh -O install.sh && sudo chmod +x install.sh && sudo ./install.sh
|
||||||
chmod +x install.sh
|
|
||||||
./install.sh
|
|
||||||
```
|
```
|
||||||
|
|
||||||
These commands will download the `install.sh` script from the GitHub repository, make it executable with `chmod`, and then run it using `./install.sh`.
|
These commands will download the `install.sh` script from the GitHub repository, make it executable with `chmod`, and then run it using `./install.sh`.
|
||||||
|
|||||||
@@ -31,9 +31,7 @@ apt-get install -y \
|
|||||||
sudo apt-get install -y \
|
sudo apt-get install -y \
|
||||||
nginx nginx-core mtr mtr-tiny php-fpm php7.4-fpm
|
nginx nginx-core mtr mtr-tiny php-fpm php7.4-fpm
|
||||||
|
|
||||||
sudo apt install php-cli php8.2 php8.2-fpm -y
|
|
||||||
sudo apt install php-cli php7.4 php7.4-fpm -y
|
sudo apt install php-cli php7.4 php7.4-fpm -y
|
||||||
|
|
||||||
sudo apt install php7.4-sqlite3 -y
|
sudo apt install php7.4-sqlite3 -y
|
||||||
|
|
||||||
sudo phpenmod -v 7.4 sqlite3
|
sudo phpenmod -v 7.4 sqlite3
|
||||||
Reference in New Issue
Block a user