In this series the pi itself is installed using Raspbian Stretch Lite to keep it light. Some extra’s will come in handy.
Installing git on a Raspberry Pi
sudo apt install git -y
After installing git, set your credentials
git config --global user.name "John Doe"
git config --global user.email "[email protected]"
Git documentation
Installing wp-cli on a Raspberry pi
wp-cli will not work without php installed, and is also useless without WordPress
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
WP-cli documentation
Installing composer on a Raspberry pi
composer will not work without php and git
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
Composer documentation
Installing optipng gifsicle libjpeg-progs on a Raspberry Pi
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 webp
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