Raspbian GNU/Linux upgrade from Jessie to Raspbian Stretch 9

Introduction

The upgrade from Raspbian Jessie to Raspbian 9 Stretch 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.
apt-get update

Recommendations

  • Remove unnecessary or obsolete packages
  • Make a data and configuration backup
  • Perform an upgrade directly using console
  • Installed 3rd-party software on Raspbian Stretch 9

Read more

Debian apt-get jessie sources.list

Related sources.list repositories:
Wheezy,
Jessie,
Stretch,
Buster

Security Updates

# /etc/apt/sources.list :
deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free

Australia Mirror

# /etc/apt/sources.list :
deb http://ftp.au.debian.org/debian/ jessie main contrib non-free
deb-src http://ftp.au.debian.org/debian/ jessie main contrib non-free

Read more

How to Setup a VPN with OpenVPN on Debian 9 Stretch Linux

Distributions

This guide is tested for Debian 9 Stretch Linux, but it may work with other recent Debian versions.

Requirements

  • This guide assumes that you’re running Debian on a VPS or a remote server, since that’s the most likely scenario for a VPN.
  • A working install of Debian Stretch with root access

Difficulty

MEDIUM

Conventions

  • # – requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
  • $ – requires given linux commands to be executed as a regular non-privileged user

Configuring Iptables

Setting up your own VPN is no small task, but there are plenty of reasons that you’d want to do it. For one, when you run your own VPN, you have complete control of it and know exactly what it’s doing.

Security is an important factor for VPNs. It’s possible to set up a simple one in a few minutes, but it won’t be secure at all. You need to take the appropriate steps to ensure that both the server and your connections remain private and encrypted.

Before embarking down this road, you may want to consider encrypting your disks, beefing up kernel security with SELinux or PAX, and making sure everything else is locked down.

Iptables is a big part of server security. You need iptables to ensure that information doesn’t leak out of your VPN. Iptables also works to prevent unauthorized connections. So, the first step in setting up a VPN on Debian is setting up iptables.

Read more

How to upgrade Debian 8 Jessie to Debian 9 Stretch

Objective

This article explains a system upgrade procedure from Debian 8 Jessie Linux to Debian 9 Stretch.

What’s New

Apart from the up to date Linux kernel, Stretch comes with a considerable amount of new and updated software as well as a number of packages had been rendered obsolete:

This new release of Debian again comes with a lot more software than its predecessor jessie; the distribution includes over 15346 new packages, for a total of over 51687 packages. Most of the software in the distribution has been updated: over 29859 software packages (this is 57% of all packages in jessie). Also, a significant number of packages (over 6739, 13% of the packages in jessie) have for various reasons been removed from the distribution.
SOURCE: debian.org

Read more

How to Install a LAMP Server on Debian 9 Stretch Linux

Introduction

The LAMP server is the cornerstone of Linux web hosting. In the early days of dynamic web content LAMP was what won Linux the crown in the web space, and it still is responsible for powering a very large portion of the Internet’s sites.

If you’re looking to set up a LAMP stack to host your website, it’d be hard to find a better option to build it on than Debian Stretch. Debian is, after all, well known for its stability, security, and massive package repositories, and Stretch is certainly no exception.

Read more

How to configure Samba Server share on Debian 9 Stretch Linux

Objective

The objective is to perform a basic configuration of Samba server on Debian 9 Stretch Linux to provide access to Samba shares via MS Windows client machine.

Operating System and Software Versions

  • Operating System: – Debian 9 Stretch
  • Software: – Samba 4.5.8-Debian

Requirements

Privileged access to your Debian system will be required.

Difficulty

EASY

Conventions

Read more

How to install MySQL community server on Debian 9 Stretch Linux

Objective

MySQL is no longer a default SQL database on Debian Linux starting with Debian 9 Stretch. The objective is to install MySQL community server using official MySQL repositories.

Operating System and Software Versions

  • Operating System: – Debian 9 Stretch
  • Software: – MySQL Community Server 5.7.18

Requirements

Privileged access to to your Debian server will be required.

Difficulty

EASY

Conventions

Read more

How to setup a Static IP address on Debian Linux

Objective

The objective is to configure a static IP address on Debian Linux server.

Please note that for Desktop installations it is recommended to use GUI tools, such as network-manager. If you wish to configure your network interfaces directly via /etc/network/interfaces file on your Desktop, make sure you disable any other possibly interfering network configuration daemons. For example, the below commands will disable network-manager:

# systemctl stop NetworkManager.service
# systemctl disable NetworkManager.service

Operating System and Software Versions

  • Operating System: – Debian 9 (Stretch)

Requirements

Privileged access to your Debian Linux system is required.

Difficulty

EASY

Conventions

Read more

How to install AMDGPU drivers on Debian 9 Stretch Linux

Introduction

So, you’ve got an AMD GPU, and you want to use it on Debian Stretch. Well, you’re actually in luck.

Installing the open source AMD drivers on Debian Stretch may just be the easiest and simplest install process in the history of Linux graphics drivers.

Anyone who tried to install the open source AMDGPU drivers when they first launched alongside AMD’s Polaris cards will tell you that the process is long and painful, and they were right.

Now, all of the packages required have entered the mainstream, and most are actually installed by default with your Debian Stretch installation.

Read more

VNC server/client setup on Debian 9 Stretch Linux

Objective

The objective is to configure a basic client/server VNC setup on Debian 9 Stretch Linux

Operating System and Software Versions

  • Operating System: – Debian 9 Stretch Linux
  • Software: – vnc4server 4.1.1

Requirements

Privileged access to access do your Debian system may be required to install VNC server and client packages. Fully functional and configured X server.

Difficulty

MEDIUM

Conventions

Read more