It is possible to have multiple versions of Python installed on the Raspberry Pi simultaneously. It is also simple enough to switch between the versions, which may come in handy for Python programmers that need to support a mix of legacy and modern Python code. Or, perhaps you want to try out a new beta or nightly Python build, without replacing the more stable copy you already have. In this tutorial, you will see how to change between various Python versions on the Raspberry Pi.
development
Ubuntu Server 20.04: Connect to WiFi from command line
In this tutorial, you will learn how to connect to WiFi from command line on Ubuntu using Netplan. While this method can be used on Ubuntu desktop systems with a GUI, it is especially useful if you’re running a headless Ubuntu 20.04 system like a Raspberry Pi or need to connect to Wifi on Ubuntu Server. Follow along with us below as we connect to a WiFi on command line via SSID and network key.
How to use bash array in a shell script
In this tutorial, we will see how to use Bash arrays and perform fundamental operations on them. Bash, the Bourne Again Shell
, is the default shell on practically all major Linux distributions: it is really powerful and can also be considered as a programming language, although not as sophisticated or feature-reach as Python or other “proper” languages. Furthermore, Bash scripting is a must-have skill for any Linux system administration job.
How to reset Kali Linux root password
It’s possible to reset Kali Linux password in the event that you are no longer able to login to the root user account. This happens if you haven’t logged in for a while and have since forgot Kali Linux password. In case you have not already tried, the default Kali password for root user is toor
(root backwards) on VMWare and live images. Try logging in with this password before resetting the Kali Linux password.
How to install Node.js on Raspberry Pi
A Raspberry Pi can function as a lightweight web server, hosting and serving content to thousands of users for a very low cost. Raspberry Pi models can host web server environments such as Node.js, which is a JavaScript runtime environment that is used for hosting websites. It offers users the ability to write websites in JavaScript, in which the code executes on the server instead of a client’s browser. This puts some additional load on the server when compared to a static site, but a Raspberry Pi can easily handle light traffic to the site.
Automating Raspberry Pi: How to Autostart Programs
Getting programs to start up automatically on your Raspberry Pi will help you to automate the device for certain tasks. Most users are likely not going to use their Raspberry Pi as a daily driver, so they will need services and programs to start up automatically without further user intervention. Whenever we can automate such tasks, it makes less work for us. In this tutorial, we will go over the step by step instructions to enable programs to autostart via command line and GUI on a Raspberry Pi.
Getting started with Toolbx
Fedora Silverblue is an immutable variant of Fedora Workstation: every installation of this distribution is identical to the others, which is ideal for testing and predictability. On Fedora Silverblue, flatpaks are used as the primary method of installing software together with rpm-ostree which basically creates an additional layer over the immutable filesystem each time an rpm is installed. The toolbx utility is included in Fedora Silverblue as a way to create isolated, mutable environments using podman and the containers technology, allowing the user to install development tools and libraries without touching the main system. Toolbx can be used also on regular Fedora versions.
How to locate and set JAVA home directory on Linux
The Java home directory is the installation directory for the Java Runtime Environment and Java Development Kit (see: Java JDK vs JRE. This directory contains all of the files that come with Java and are used to run Java programs or compile them. The location for this directory can change depending on your system (Linux, MacOS, Windows, etc.) and the version of Java that you have installed.
How to install PyCharm on Ubuntu 20.04 Linux Desktop
PyCharm is a graphical IDE (integrated development environment) that can be installed on Ubuntu Desktop. Many Python programmers enjoy using PyCharm because it can be used to analyze code, debug programs, and is integrated with Git and other version control systems, as well as web development applications. PyCharm is developed by JetBrains. It is free and open source, or at least the community edition is.
How to Use Kubernetes Namespaces
In order to have a logical separation for different groups of resources, Kubernetes gives us the namespaces feature. It is also convenient when you have a big environment that is managed by multiple users or teams, and each one needs their own “space” for the resources that they are assigned to manage and administer. This is a much better solution than creating numerous Kubernetes clusters just to facilitate different groups of services or deployments, and to isolate teams to their own space.
How to Use Scale Command in Kubernetes
One of the most important features of Kubernetes is the ability to easily scale our containerized applications. This allows administrators to deal with increased traffic by adding more replicas that can handle the uptick in activity. Kubernetes can handle the load intelligently by distributing the work evenly to pods in the cluster, ensuring that none of them become overwhelmed.
Introduction to Vagrant
Vagrant is a free and open source tool developed by Hashicorp, defined as a “a tool for building and distributing development environments”. What Vagrant does is basically acting as an abstraction layer/wrapper around virtual machines providers such as Virtualbox, VMware and libvirt, allowing us to build, provision and easily replicate virtual machines environments on different operating systems, using a common syntax.