I hereby claim:
- I am kngvamxx on github.
- I am kngvamxx (https://keybase.io/kngvamxx) on keybase.
- I have a public key whose fingerprint is 171E 4172 5D2A D407 A6C3 5A36 E97B 2877 684F 72DB
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
wget https://github.com/RocketChat/Rocket.Chat.Electron/releases/download/2.15.5/rocketchat_2.15.5_amd64.deb | |
sudo dpkg -i rocketchat_2.15.5_amd64.deb | |
sudo apt install -f | |
#!/bin/sh | |
# This command will update & upgrade your system | |
sudo apt update && sudo apt-get upgrade --fix-missing | |
# Install the package build-essential for making the package and checkinstall for putting it into your package manager | |
sudo apt install build-essential checkinstall | |
# Install Ubuntu Restricted Extras | |
sudo apt install ubuntu-restricted-extras |
# setup and configure git | |
sudo add-apt-repository ppa:git-core/ppa | |
sudo apt update | |
sudo apt install git | |
sudo git config --global user.name "YourName" | |
sudo git config --global user.email youremail@gmail.com | |
git --version | |
wget https://cache.ruby-lang.org/pub/ruby/2.5/ruby-2.5.3.zip | |
sudo unzip ruby-2.5.3.zip | |
cd ruby-2.5.3 | |
sudo ./configure | |
sudo make | |
sudo make install | |
sudo make test | |
ruby --version | |
# Youtube: https://youtu.be/OsV6GxZhrS0 |
#Step 1 – Installing Nginx | |
#Because Nginx is available in Ubuntu’s default repositories, it is possible to install it from these repositories using the apt packaging system. | |
#Since this is our first interaction with the apt packaging system in this session, we will update our local package index so that we have access to the most recent package listings. Afterwards, we can install nginx: | |
sudo apt update | |
sudo apt install nginx | |
#After accepting the procedure, apt will install Nginx and any required dependencies to your server. | |
#Step 2 – Adjusting the Firewall |
echo "deb http://www.rabbitmq.com/debian/ testing main" | sudo tee /etc/apt/sources.list.d/rabbitmq.list > /dev/null | |
wget https://www.rabbitmq.com/rabbitmq-signing-key-public.asc | |
sudo apt-key add rabbitmq-signing-key-public.asc | |
sudo apt-get update | |
sudo apt-get install rabbitmq-server -y | |
sudo service rabbitmq-server start | |
sudo rabbitmq-plugins enable rabbitmq_management | |
sudo service rabbitmq-server restart |
#Install NGINX | |
sudo apt-get update | |
sudo apt-get install nginx | |
sudo systemctl start nginx | |
sudo systemctl enable nginx | |
sudo systemctl restart nginx | |
sudo systemctl stop nginx | |
sudo systemctl start nginx | |
sudo systemctl status nginx | |
nginx -v |
Youtube: https://www.youtube.com/watch?v=wo5A6O8h6QY | |
#!/bin/sh | |
# Install openssh server: | |
$ sudo apt update | |
$ sudo apt upgrade | |
$ sudo apt install openssh-server | |
$ sudo systemctl status ssh |
ufw - Uncomplicated Firewall | |
The default firewall configuration tool for Ubuntu is ufw. Developed to ease iptables firewall configuration, ufw provides a user-friendly way to create an IPv4 or IPv6 host-based firewall. | |
ufw by default is initially disabled. From the ufw man page: | |
“ ufw is not intended to provide complete firewall functionality via its command interface, but instead provides an easy way to add or remove simple rules. It is currently mainly used for host-based firewalls. ” | |
The following are some examples of how to use ufw: | |
First, ufw needs to be enabled. From a terminal prompt enter: |