Privacy and security are becoming increasingly important topics. Though it's impossible to be 100% secure, there are measures that you can take, especially on Linux, to help defend your online privacy and security when browsing the web.
Firefox is probably your best option when selecting a browser for these purposes. Google Chrome cannot be trusted. It's owned by Google, a company known for data collection, and it's closed source. Chromium may be okay, but can't be guaranteed. Only Firefox has maintained a degree of commitment to user rights.
There are some settings in Firefox that you can set to better protect your privacy. These are readily available and help to control the data that you share when you browse.
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.
In case you haven't realized already, encryption is important. For the web, that means using SSL certificates to secure web traffic. Recently, Mozilla and Google have gone as far as to mark sites without SSL certificates as insecure in Firefox and Chrome.
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.
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.