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

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

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

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

There are two very simple ways to create a Python virtual environment on Debian 10. They're very similar and offer nearly the same benefits. As an added bonus, you won't need to install anything outside of the default Debian repositories to use them.

In this tutorial you will learn:
  • How to Install the Dependencies
  • How to Use Python 3's Venv
  • How to Use Virtualenv

Debian is one of the best Linux server distributions, and LAMP is one of the most common ways to host a website. Together, they make a perfect match. It's very simple to get LAMP up and running on Debian 10 using packages right out of the default repositories.

In this tutorial you will learn:
  • How to Set Up MariaDB
  • How to Install PHP
  • How to Install Apache
  • How to Test Your Server

Samba allows you to share your files over a local network to computers running any operating system. Samba also makes it simple to control access to these shares using a single configuration file. On Debian, that configuration is mostly set up for you, making configuring a Samba server on Debian a smooth experience.

In this tutorial you will learn:
  • How to Install Samba
  • How to Change Samba's Global Settings
  • How to Configure a New Share
  • How to Set Up A Samba User
  • How to Connect to a Share

There are two basic ways to set up a static IP address on Debian 10. The simplest for desktops is through NetworkManager's graphical interface. For servers or systems without NetworkManager, you can use a configuration file too.

In this tutorial you will learn:
  • How to Configure a Static IP with NetworkManager
  • How to Configure a Static IP From the CLI

The Android development tools, ADB(Android Debug Tool) and Fastboot, allow you unprecedented access to your Android device. These tools are essential for developers, and they make it possible to root and flash custom ROMs. Since Google uses Debian, installing them is very simple.

In this tutorial you will learn:
  • How to Install the Android Tools
  • How to Enable USB Debugging on Android
  • How to Connect Your Phone to Debian

VeraCrypt is the successor to TrueCrypt. It offers many of the same features and is fully backward compatible. VeraCrypt is fully cross platform and offers a convenient installer that you can use to get started on Debian 10.

In this tutorial you will learn:
  • How to Download the VeraCrypt Installer
  • How to Unpack the Installers
  • How to Run the GUI Installer
  • How to Open VeraCrypt on Debian 10

There are plenty of reasons why you'd want to share files across computers on your network, and Debian makes a perfect file server, whether you're running it from a workstation, dedicated server, or even a Raspberry Pi. Since NFS functionality comes from the kernel, everything is fairly simple to set up and well integrated.

In this tutorial you will learn:
  • How to Install the NFS Packages
  • How to Configure Your Shares
  • How to Connect to a Share

If you plan on gaming on Debian, you're going to want Lutris. It's taken the cumbersome process of installing and playing games with Wine and automated everything to a point that makes everything nearly as easy as on Windows. Lutris is available from the developers through a Debian repository, so all you need to do is add it to your system to get started.

In this tutorial you will learn:
  • How to Install Wine Staging
  • How to Import the Repository Key
  • How to Add the Repository
  • How to Install Lutris
  • How to Create Your Lutris Account
  • How to Launch Lutris and Sign in

Wine's Staging branch is miles ahead of standard Wine in terms of both performance and features. You can install the latest Staging releases on Debian just as easily as the default version and get the latest updates as soon as they're released.

In this tutorial you will learn:

  • How to Enable 32bit Support
  • How to Import the Wine GPG Key
  • How to Add the Wine Repository
  • How to Install Wine Staging
  • How to Open the Configuration and Test

Steam has made constant improvements since it came to Linux, and that's not slowing down. With the introduction of Steam Play and Proton, Steam's version of Wine, you can now play your favorite Windows games directly through your Linux Steam client. Even better, you don't need to install any outside repositories to do it.

In this tutorial you will learn:
  • How to Install Your Graphics Drivers
  • How to Enable 32bit Support
  • How to Enable the Non-free Repository
  • How to Install Steam
  • How to Enable Steam Play

Starting with Debian 10 buster the way how the su command is used has been changed. By default execution of the su command no longer provides you with expected user environmental variables.

In the case of a simple switch to administrative user root by executing su with no arguments the expected root's PATH variable is no set properly.

Symptoms

Here is an example:
$ su
Password:
# reboot
bash: reboot: command not found                                                                        
# adduser                                                            
bash: adduser: command not found
bash: reboot: command not found  - Debian GNU/Linux missing path to /sbin/ directory
bash: reboot: command not found - Debian GNU/Linux missing path to /sbin/ directory

Solution

The trick on how to fix this inconvenience is to explicitly tell the su to set environment variable as if the user logs in directly. This is can be done by the use of - switch.

SUBSCRIBE TO NEWSLETTER
Subscribe to Linux Career NEWSLETTER and receive latest Linux news, jobs, career advice and tutorials.


NOTE
Excerpt from the man su manual page. -, -l, --login will provide an environment similar to what the user would expect had the user logged in directly.
To set a correct path for the root user user make sure to execute the su command with - or -l or --login swith. Example:
$ su -
OR
$ su -l
Debian su command execution to gain root access
Note the different PATH settings for both attempts to gain a root access using su command.
FIND LATEST LINUX JOBS on LinuxCareers.com
Submit your RESUME, create a JOB ALERT or subscribe to RSS feed.
LINUX CAREER NEWSLETTER
Subscribe to NEWSLETTER and receive latest news, jobs, career advice and tutorials.
DO YOU NEED ADDITIONAL HELP?
Get extra help by visiting our LINUX FORUM or simply use comments below.

You may also be interested in: