In this series Raspbian Lite is used when Installing the Pi. Some extra’s will come in handy.
sudo apt install git -y
After installing git, set your credentials
git config --global user.name "John Doe" git config --global user.email firstname.lastname@example.org
! Wp-cli will not work without php installed
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar chmod +x wp-cli.phar sudo mv wp-cli.phar /usr/local/bin/wp wp --info
curl -O https://getcomposer.org/composer.phar chmod +x composer.phar sudo mv composer.phar /usr/local/bin/composer sudo composer self-update composer --version
You might want image optimization & compression. In the main php article
php-gp was installed. But that is not enough.
sudo apt install -y optipng gifsicle libjpeg-progs
Installing PHP on a Raspberry Pi
PHP is covered in it’s own article.
Installing mariaDB/mysql on a Raspberry Pi
MariaDB or Mysql is covered in it’s own article.
Installing NginX on a Raspbery Pi
NginX is covered in it’s own article