Tag archive for: system administration

How to change the hostname of your Raspberry Pi via raspi-config in Raspbian Stretch

When you install Raspbian Stretch as the operating system for your Raspberry Pi, the default hostname is raspberrypi.

Since a Raspberry Pi is one of the things that programmers buy, we could deploy several at home.

When you have several Raspberry Pis deployed in your house, you may want them to be identified by hostnames.

So how can we change the hostname of our Raspberry Pi running Raspbian Stretch? This post shows how you can change the hostname of your Raspberry Pi via raspi-config in Raspbian Stretch.

How to change password of the current user in Raspbian Stretch using raspi-config

Especially when you enable SSH server on Raspbian Stretch, you should change the default password of the pi user.

When you want to change the default password of the current user in Raspbian Stretch, you can do it via raspi-config.

In case you need it, this post shows how to change password of the current user in Raspbian Stretch using raspi-config.

How to expand Raspbian Stretch file system via raspi-config

When you need more space for your existing Raspbian Stretch image, you need to rewrite it onto a larger microSD card. In order to use the additional storage space, you need to tell Raspbian Stretch to expand its file system.

In this situation, follow this post to expand Raspbian Stretch file system via raspi-config.

Different ways to enable SSH server on Raspbian Stretch

When you have an SSH server running on your operating system, you will be able configure it remotely. Since the SSH server is such a convenient tool, Raspbian Stretch comes with an SSH server.

When you are looking for a way to configure your Raspberry Pi without attaching a keyboard to it, enabling SSH server on Raspbian Stretch is a viable way.

Given that, this post discusses some ways for us to enable SSH server on Raspbian Stretch.

How to setup Raspbian Stretch on Raspberry Pi 3 for developing Python 3 applications

Previously, I had shared:

Although Raspbian Stretch Lite is ideal for running Python 3 applications on Raspberry Pis, it is not so handy for developing Python 3 applications.

For example, if you are building a Python application that interfaces with the GPIO ports and CSI camera of your Raspberry Pi 3, it is hard to test it out on Raspbian Stretch Lite.

Since Raspbian Stretch includes a desktop environment, it is more convenient for developing Python 3 applications for Raspberry Pi. With this purpose in mind, this is how to setup Raspbian Stretch on Raspberry Pi 3 for developing Python 3 applications.

How to create a virtual environment for your Python 3 application with python3-venv in Linux or Unix

The python3-venv module allows us to create lightweight “virtual environments” with their own site directories, optionally isolated from system site directories. Given that, we will be able to run multiple Python 3 environments with varying dependencies on the same computer.

This post shows how to create a virtual environment for your Python 3 application with python3-venv in Linux or Unix.

How to make your Raspberry Pi fill up your entire monitor screen by disabling overscan in Raspbian Stretch

After you had booted up Raspbian Stretch for the first time, you may notice that your Raspberry Pi does not fill up your entire monitor screen:

Raspbian Stretch 20181113 not filling entire computer screen

In such a situation, the overscan function in Raspbian could be what you should disable. Given that, this post shows how to make your Raspberry Pi fill up your entire monitor screen by disabling overscan in Raspbian Stretch.

How to setup Jupyter Notebook on Ubuntu 16.04 of your Nvidia Jetson TX2 developer kit

When you want to quickly test out your machine learning algorithm, you can create Python 3 notebooks via Jupyter Notebook.

Therefore, Jupyter Notebook is one of the things that you may want to setup after getting started with your Nvidia Jetson TX2 developer kit.

With this in mind, this post shows how to setup Jupyter Notebook on Ubuntu 16.04 of your Nvidia Jetson TX2 developer kit.