Raspberry Pi

Raspbian GNU/Linux upgrade from Stretch to Raspbian Buster 10

The upgrade from Raspbian Stretch to Raspbian 10 Buster is a relatively simple procedure. However, exercise caution, as there is always a chance to break the entire system. The fewer installed 3rd-party packages and services, the more likely you are able successfully to upgrade your Raspbian Linux system.

What’s New

  • UEFI Secure Boot
  • AppArmor enabled per default
  • Optional hardening of APT
  • Unattended-upgrades for stable point releases
  • Substantially improved man pages for German speaking users
  • Network filtering based on nftables framework by default
  • Cryptsetup defaults to on-disk LUKS2 format
  • driverless printing with CUPS 2.2.10
  • Basic support for Allwinner A64 based devices

Read more

Debian 10 Buster Linux System

How to upgrade Debian 9 Stretch to Debian 10 Buster

Objective

This article explains a system upgrade procedure from Debian 9 Stretch Linux to Debian 10 Buster.

What’s New

  • UEFI Secure Boot
  • AppArmor enabled per default
  • Optional hardening of APT
  • Unattended-upgrades for stable point releases
  • Substantially improved man pages for German speaking users
  • Network filtering based on nftables framework by default
  • Cryptsetup defaults to on-disk LUKS2 format
  • driverless printing with CUPS 2.2.10
  • Basic support for Allwinner A64 based devices

SOURCE: debian.org

Debian 10 Buster Linux System

Debian 10 Buster Linux System

Read more

How to install the latest NVIDIA drivers on Debian 9 Stretch Linux

Introduction

NVIDIA graphics cards have long been the favorite for Linux gamers.

Their proprietary drivers have been very well supported for the last few years, and they continue to be.

The open source Nouveau drivers have been far less reliable, mostly due to NVIDIA’s refusal to work with the open source community.

Either way, though, the drivers are available to install on Debian Stretch.

To install Nvidia driver on other Linux distributions, follow our Nvidia Linux Driver guide.

Open Source

For the most part, when you install Debian Stretch, the Nouveau drivers will also be installed.

However, one exception here is the firmware blobs needed for the drivers to reach their full potential.

Before you continue, you should make sure that your graphics card is supported by Nouveau.

Since the Nouveau driver has to be reverse engineered, it tends to lag behind graphics card releases.

You can check your card’s support at https://nouveau.freedesktop.org/wiki/FeatureMatrix/.

Read more

Install With Debian Backports.

How To Install And Use Debian Backports

Debian Stable is extremely stable, but it’s also very slow moving. As a result, you can get stuck with ridiculously outdated software. The backports repositories allow you to install newer versions of some software on your Debian Stable system. This guide explains how to use backports on Debian Stable.

In this tutorial you will learn:

  • How to Add The Debian Backports Repositories.
  • How to Install a Package From Backports.
  • How to Do a Complete Update From Backports.

Read more

Debian package

Easy way to create a Debian package and local package repository

This article describes a simple way to create a home made debian package and include it into a local package repository. Although we could use an existing Debian/Ubuntu package, we will start from scratch by creating and packaging our own trivial application. Once our package is ready, we will include it into our local package repository. This article illustrates a very simplistic approach, however it may serve as a template in many different scenarios.

In this tutorial you will learn:

  • How to create a trivial debian package
  • How to create a local debian repository
  • How to add the repository to the list of software sources

Read more

Nextcloud on Debian 10

How To Install Nextcloud on Debian 10 Buster Linux

Whether you’re setting up Nextcloud on a home server or making it accessible online through a VPS, Debian makes an excellent platform. You can even host it on a Raspberry Pi. This guide will get you started with a basic setup.

In this tutorial you will learn:

  • How to Install the Required Packages
  • How to Set Up Your Database
  • How to Download Nextcloud
  • How to Install Nextcloud

Read more

Nextcloud Client on Debian 10

How to Install Nextcloud Client on Debian 10 Buster

If you already have a Nextcloud server in place, you’re going to need to set up your client devices to connect to it. Setting up the Nextcloud client on Debian is very simple, and so is setting up your folders to sync.

In this tutorial you will learn:

  • How to Install the Nextcloud Client
  • How to Connect to the Server
  • How to Set up a Folder to Sync

Read more

PHPinfo on LEMP on Debian 10

How to Set Up a LEMP Server on Debian 10 Buster

LEMP is an excellent alternative to traditional LAMP servers. Nginx is lighter weight and faster than Apache in some situations. It can also be configured to do other useful things, like serve as a reverse proxy. Just like with LAMP, Debian is an excellent platform for LEMP servers. Everything you need is available in the Debian repositories, so it’s simple to get started.

In this tutorial you will learn:

  • How to Set Up MariaDB
  • How to Install PHP
  • How to Install Nginx
  • How to Configure Nginx
  • How to Test Your Server

Read more

WPA Supplicant Configuration on Debian 10

How to Connect To WiFi From the CLI on Debian 10 Buster

Not all Debian systems have a GUI, and even though using WiFi on a server isn’t common, there are plenty of instances where you’re using WiFi with a headless setup, like on a Raspberry Pi. It’s not difficult to connect using only the tools provided out of the box in Debian.

In this tutorial you will learn:

  • How to Scan for a Network
  • How to Generate a WPA_Supplicant Config
  • How to Set up a WPA_Supplicant Config File
  • How to Connect to Your WiFi

Read more

Check what Debian version you are running on your Linux system

The easiest way on how to check what Debian version you are running is to simply read a content of /etc/issue file. Example:

root@debian:~# cat /etc/issue
Debian GNU/Linux 9 \n \l

However, the above command may not show the current Debian update point releases. Thus you may get more accurate info with the following linux command:

root@debian:~# cat /etc/debian_version
9.0

Next, you can check for /etc/os-release release file:

# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
NAME="Debian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

Read more

UFW on Debian 10

How to Use UFW on Debian 10 Buster Linux

UFW is very simple to use and configure. It’s available right in the Debian repositories, and it integrates well into a Debian system. The simplified controls and ability to easily start and stop your firewall make in an excellent option for desktops and small servers.

In this tutorial you will learn:

  • How to Install UFW
  • How to Set the Defaults on UFW
  • How to Allow Ports
  • How to Allow Interfaces
  • How to Allow Protocol
  • How to Allow IP Addresses
  • How to Enable UFW

Read more

RVM Ruby on Debian 10

How to Set Up RVM on Debian 10 Buster

If you plan on doing any sort of Ruby development, RVM is a must. Even though Debian does have its own Ruby packages, they’re bound to Debian’s release schedules, making them an inflexible option for your projects. RVM is simple to get set up, and it allows a much greater decree of flexibility, no matter what sort of projects you’re working on.

In this tutorial you will learn:

  • How to Install cURL
  • How to Import the RVM GPG Key
  • How to Run The RVM Install
  • How to Install Ruby

Read more