Raspberry Pi
-
Multiple Versions of Python on your Raspberry Pi
Mengapa anda harus mempunyai konsep dalam penggunaan Python pada linux OS atau MAC OS? Setiap versi Linux OS dan MAC OS, dibuat dengan versi linux tertentu. Seandainya anda menggunakan OS ini adalah penting sekali bagi anda untuk memisahkan Python Versi OS System anda, dengan Python yang anda butuhkan untuk tujuan Projekt atau Program anda. Hal yang paling mudah untuk menerapkan hal ini adalah dengan menggunakan pyenv & pipenv Installiert pyenv: Tambahkan Pyenv di .bashrc: Agar supaya perubahan itu aktiv anda harus aktivasi di Bash shell dengan : Instaliert System Paket: Konfigurasi pyenv:
-
Build wxPython On Raspberry Pi Bookworm
set pyenv to your python version: switch to your project directory: First update these following Package for you PI: create virtualenv with pipenv: Start Build wxPython in your PI: start build process in wxPython-4.2.1 folder: Created .whl file is in ~/wxPython-4.2.2/dist/ Error on Rasbian (Rasberry pi 4): Ref:
-
Install Maria DB on Pi
nstall MariaDB: sudo apt install mariadb-server php-mysql -y sudo service apache2 restart sudo mysql_secure_installation Set root password? -> Y Remove anonymous users? -> Y Disallow root login remotely? -> N Remove test database and access to it? -> N Reload privilege tables now? -> Y
-
Install PHP on Pi
Install PHP: sudo apt-get install php sudo service apache2 restart check Installation with your web-browser http://localhost/phpinfo.php http:///phpinfo.php
-
Install Apache Web Server on Pi
Install Apache: sudo apt-get install apache2 -y sudo service apache2 restart Check installation with your web-browser http://localhost/ http://your raspi IP
-
Update Raspberry pi OS(Rasbian)
Used Console for sending command as sudo: sudo apt-get update && sudo apt-get upgrade -y sudo apt-get dist-upgrade -y sudo apt-get autoremove -y && sudo apt-get autoclean Verify with with command: cat /etc/os-release.