Microsoft Windows is a proprietary operating system which has captured 80% personal computers in the world and using their monopoly position dictates their rules of the game.
In addition, Microsoft collects your personal information and sells it to third parties, which endangers your security.
To change the situation, many people are looking for alternative operating systems, and one such alternatives is GNU Linux.
Many years Linux was leader operating system on web servers and mainframes, but on personal computers it occupied a miserable 3%. But now the situation has changed and GNU Linux is the best free and open source alternative for proprietary Microsoft Windows.
Monit is a free open source utility for managing and monitoring, processes, files, directories and filesystems on a UNIX system. Monit conducts automatic maintenance and repair and can execute meaningful causal actions in error situations.
To install Monit on Debian 10 GNU Linux (Buster) you need to add backports repository:
To start monit service and show running status use commands:
sudo systemctl start monit
sudo systemctl status monit
If you want to enable auto start monit when system starts use command:
sudo systemctl enable monit
Now let’s configure monit to monitoring Apache2 and Nginx services. Open monit configuration file:
sudo vim /etc/monit/monitrc
To change monitoring interval change option:
set daemon 120
To send email if monitored services is down edit this options:
set mailserver your.mail.server
set alert your.mail.address
You can enable Web-interface where you can view information about monitoring services. By default monit starts on 2812 port. Enable this two lines and change administrator password:
set httpd port 2812 and
allow admin:monit # require user 'admin' with password 'monit'
Don’t forget to open port 2812 in firewall and restart monit service:
sudo systemctl restart monit
Now open http://your-site.com:2812 and see monit web interface:
If you want to monitor some custom services on your server go to /etc/monit/conf-available and copy that configuration files to /etc/monit/conf.d:
i3 is a tiling window manager designed for X11, inspired by wmii and written in C. It supports tiling, stacking, and tabbing layouts, which it handles dynamically.
Configuration is achieved via plain text file and extending i3 is possible using its Unix domain socket and JSON based IPC interface from many programming languages.
Step 2: Write ISO image to USB drive using program Etcher:
Step 3: Install Debian 10 on your PC.
Don’t install any other programs and desktop environments, uncheck all check boxes in installation menu. You need clear operating system without any other software.
Installation i3wm and other software:
Now you have clear oerating system with command shell.
First authorize in system with root login, change repositories to testing branch in file /etc/apt/sources.list, it is needed to get latest packages:
Upgrade your system:
apt update
apt upgrade
Install sudo and add sudo privilegies to your username:
apt install sudo
usermod -aG sudo username
Now you can logout from user root and authorize with your username login, Install file manager MC and other additional software:
sudo apt install mc vim htop screenfetch
Install X-Window-Server, I3, and other software for desktop environment:
PulseAudio is a network-capable sound server program. A sound server is a background process accepting sound input from one or more sources (processes, capture devices, etc.), that is able to mix and redirect those sources to one or more sinks (sound cards, remote network PulseAudio servers, or other processes).
To install PulseAudio on Debian Linux first update package repository:
sudo apt update
Next install PulseAudio:
sudo apt install pulseaudio
Now reboot your computer.
Using PulseAudio Volume Control Graphical Utility:
PulseAudio has a graphical frontend PulseAudio Volume Control, which you can use to easily configure PulseAudio sounds graphically.
It is not installed by default. Run the following command to install PulseAudio Volume Control:
sudo apt install pavucontrol
Also to change sound volume by hotkeys you need amixer utility install it by command:
Visual Studio Code is a very powerful free and open source text editor, but before start usage it you need to but to use all its features, you need to configure it.
Visual Studio Code
First of all disable telemetry collection in File > Preferences > Settings menu:
To flush DNS cache in Debian GNU/Linux use command:
sudo systemd-resolve --flush-caches
If you get error message: “Failed to flush caches: Unit dbus-org.freedesktop.resolve1.service not found.“, enable the service on your system:
sudo systemctl enable systemd-resolved.service
Then again run the “systemd-resolve –flush-caches” command.
You can then check the statistics in order to make sure that your cache size is now zero, thus cleared. Run the following command in order to view the statistics: