Upgrade/Install phpMyAdmin on Debian
(more…)Rule #1: “Do not fix, if it’s not broken”
I’ve had version phpMyAdmin 5.0.2 since 2020 without any problem (PHP 7.+, 8.0) until I decided to look at PHP 8.1. Number of “Deprecated” messages from twig/twig package just killed the system, and Composer failed to update outdated packages.
Rule #2 extends #1: If you do not have a VERY GOOD REASON to use PHP 8.1, stay with the current version
Install pgAdmin 4 on Debian Buster
Make sure you have the latest version of pip
python3 -m pip install --upgrade pip
Create the virtual environment
python3 -m venv pgadmin4(more…)
Install PostgreSQL on Ruspberry Pi Debian Buster
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - sudo apt update
Install the latest available version of PostreSQL (any other required using postgresql-VERSION)
sudo apt install postgresql(more…)
Install MongoDB on Raspberry Pi
[64-bit Raspberry OS Buster]
We are going to use instructions for Ubuntu 64-bit:
ADDED OPTION -L to support re-direct… (May, 7, 2022)
curl -s -L https://www.mongodb.org/static/pgp/server-4.4.asc | sudo apt-key add - echo "deb [ arch=arm64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.4.list sudo apt update
Now we can install MongoDB server:
sudo apt install mongodb-org # enable and start sudo systemctl enable mongod sudo systemctl start mongod
Visual Studio Code on Raspberry Pi 64-bit
Note: Do not try to install .deb using remote access (at least XRDP): the promt for your credentials could be displayed on the monitor connected to Pi directly.
Source: https://pimylifeup.com/raspberry-pi-visual-studio-code/
MongoDB and PHP on Raspberry OS (32-bit & 64-bit)
sudo apt install php-dev sudo pecl install mongodb
Docker On Raspberry Pi (64-bit)
…of course:
sudo apt update && sudo apt upgrade
Install docker:
Method 1:
sudo apt install docker.io
Install Node.js and NPM on Raspberry Pi
[1: Recommended] for 64-bit only. Raspberry OS 32-bit is already coming with Node-Red pre-installed
you will get:
- node.js and npm installed (LTS version)
- pigpio module
bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)
Install/Upgrade Composer on Raspberry OS
To install/upgrade the Composer:
- make sure you are in the home directory (cd ~)
- download the installer
- [optional] verify the installer (the line is commented, check the current hash from the Composer website)
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" # php -r "if (hash_file('sha384', 'composer-setup.php') === '756890a4488ce9024fc62c56153228907f1545c228516cbf63f885e036d37e9a59d27d63f46af1d4d07ee0f76181c7d3') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"