(more…)
Missing Python Idle
It’s missing as the most of tools and applications in Pi 64-bit Buster, so far (Sep 2020), but it could be handy. So, idle3 could be back with:
sudo apt install idle
Source: Missing Python 3 Idle in the Programming Menu – Raspberry Pi Forums
Woodworm: Remote Desktop (XRDP)
Logitech’s Unifying Receiver on Linux
- Tested on Mint, all 64 bit distros for Raspberry Pi
- Shows options and state for all devices connected only for root user
sudo apt install solaar
Source: ‘Solaar’ Lets You Manage Logitech’s Unifying Receiver on Linux – OMG! Ubuntu
Unable to create directory
the title was “WordPress: Unable to create directory”, but unfortunately, error “unable to create directory” occurred with trying to add theme, plugin, media file, update WordPress or any other websites uploaded with sftp
First step is to add the current user to the group www-data (Apache):
sudo gpasswd -a "$USER" www-data
sudo chown -R “$USER”:www-data /var/www – not sure in this step
Change the rights for group for modifications and executions
(more…)Change default Python version (Obsolete)
Change to default python3 version on Raspberry Pi OS:
sudo update-alternatives --install /usr/bin/python python /usr/bin/python2.7 1 sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.7 2 # check the list sudo update-alternatives --list python /usr/bin/python2.7 /usr/bin/python3.7 # Change the default version sudo update-alternatives --config python There are 2 choices for the alternative python (providing /usr/bin/python). Selection Path Priority Status ------------------------------------------------------------ * 0 /usr/bin/python3.7 2 auto mode 1 /usr/bin/python2.7 1 manual mode 2 /usr/bin/python3.7 2 manual mode Press <enter> to keep the current choice[*], or type selection number: # now Python 3 is default python Python 3.7.3 (default, Jul 25 2020, 13:03:44) [GCC 8.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>>
Source: Change default python version on Raspbian GNU/Linux – LinuxConfig.org
Install PostgreSQL on Ruspberry Pi OS (Debian) 64bit
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…)
Setup Samba Server on Raspberry Pi
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…)