Open Telegram and search for @BotFather user and message them the following:
You
/newbot
BotFather
/newbotGrafana Bota_new_grafana_bot/start. Thus you start chatting with the bot and this room is assigned chat id. (Thanks to @KES777)| #!/bin/bash | |
| set -e | |
| # Sets up an new myql instalation (Ubuntu 20.04)s | |
| # 1. Downloads mysql-server if necessary | |
| # 2. Secures the installation | |
| # 3. Sets the root password | |
| # 4. Creates an app related DB |
| 'use strict'; | |
| /** | |
| * @callback BeforeShutdownListener | |
| * @param {string} [signalOrEvent] The exit signal or event name received on the process. | |
| */ | |
| /** | |
| * System signals the app will listen to initiate shutdown. | |
| * @const {string[]} |
Hi there! Since this post was originally written, nvm has gained some new tools, and some people have suggested alternative (and potentially better) approaches for modern systems. Make sure to have a look at the comments to this article, before following this guide!
Trickier than it seems.
| cat > /etc/ssh/sshd_config << "EOF" | |
| Include /etc/ssh/sshd_config.d/*.conf | |
| #Port 22 | |
| #AddressFamily any | |
| #ListenAddress 0.0.0.0 | |
| #ListenAddress :: | |
| ... | |
| EOF |