In this series the pi itself is installed using Raspbian Stretch Lite to keep it light. 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 "email@example.com"
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 send mail on a Raspberry Pi
sudo apt install -y sendmail
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