Introduction

Ruby on Rails is the web framework that revolutionized web development a few years ago and powers many of the hottest start-ups today. It allows developers to rapidly develop working prototypes and even full sites without having to reinvent the wheel or worry about loads of configuration.

Ruby runs best on Unix-like systems, making Linux an excellent choice for developing for Rails. Debian Stretch comes loaded with up-to-date version of Ruby and Rails as well as providing support for the popular RVM Ruby manager.

Installing Ruby and Rails

There are two basic ways to install Ruby and Rails on Debian Stretch. The first is to use RVM(Ruby Version Manager). It allows you to change and select any current version of Ruby and compartmentalize installs.

The other option is to use the packages in the Debian repositories. They are stable and kept relatively current. They also can be used system wide.

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.

Introduction

The Cloud can be a great thing. It can also be a terrifying Orwellian nightmare where some faceless corporate entity has every picture you've ever taken of your family. To prevent the latter, there's Nextcloud.

You many have heard of Owncloud. It was the primary solution for open source self hosted cloud storage for quite some time. Unfortunately, due to internal struggles, Owncloud split. Owncloud still remains, but it is currently owned by the people that caused the split. Nextcloud, on the other hand, is run by the original founder and the people who wanted to continue to work with the open source community.

Before you start the Nextcloud install process, you should follow our other guide on setting up a LAMP server on Debian Stretch. Nextcloud is a PHP application that utilizes a database and works best when paired with Apache. Having a LAMP server set up will be the best starting point.

Objective

The following Spotify setup procedure outlines installation steps as provided by spotify.com. Nonetheless, may you encounter some difficulties along the way of the Spotify installation on Debian Stretch, read the appendix below to resolve them.

Requirements

Privileged access to your Debian Stretch system is required.

Difficulty

EASY

Conventions

Objective

Replace systemd with SysV Init as the init system on Debian Stretch

Distributions

Debian Stretch

Requirements

A working Debian Stretch install with root privileges.

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

Introduction

Not everyone loves systemd, and for those that don't, there really aren't many options. That's especially true if you want something like a stable server. Fear not, SysV Init is actually still supported under Debian, and it's not hard to switch.

**Note:** don't try this if you're running GNOME or another desktop environment that has a hard dependency on systemd. It will just break your system.

Add Devuan Repositories

This part isn't strictly necessary if you just want to switch the init system and leave systemd installed as a compatibility layer. That would work fine. If you absolutely don't want systemd on your system at all, you need to make some arrangements to make the things that depend on it work.

Devuan, the systemd-less Debian fork is lagging a bit behind. Their Stretch release, ASCII, isn't ready, and running Devuan's testing releases isn't super stable right now. However, the did build some crucial packages to make systemd-dependent programs work without it, and you can use them in Debian.

First, create a new .list file in /etc/apt/sources.list.d/ for Devuan. Then, add the following line to it.

ARE YOU LOOKING FOR A LINUX JOB?
Submit your RESUME, create a JOB ALERT or subscribe to RSS feed on LinuxCareers.com.
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.