I hereby claim:
- I am linuxoracledev on github.
- I am linuxoracledev (https://keybase.io/linuxoracledev) on keybase.
- I have a public key whose fingerprint is 91A6 DBA7 78C5 B2AB BFDB 10C6 ABD2 CAC9 47AD 8386
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| # update & upgrade system | |
| sudo apt update & sudo apt upgrade --fix-missing | |
| # install apache & add to firewall | |
| sudo apt install apache2 | |
| sudo ufw allow 'Apache' | |
| # restart, enable, stop, start, status, reload apache |
| #To see if existing SSH keys are present. Lists the files in .ssh directory, if they exist | |
| ls -al ~/.ssh | |
| #By default, the filenames of the public keys are one of the following: | |
| #id_dsa.pub | |
| #id_ecdsa.pub | |
| #id_ed25519.pub | |
| #id_rsa.pub | |
| #If you don't have an existing public and private key pair, or don't wish to use any that are available to connect to #GitHub, then generate a new SSH key as bellow | |
| ssh-keygen -t rsa -b 4096 -C "your_git_email@example.com" |
| ##Step 1: Install MongoDB | |
| #import the MongoDB public GPG key | |
| sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 9DA31620334BD75D9DCB49F368818C72E52529D4 | |
| #Create the list file - /etc/apt/sources.list.d/mongodb-org-4.0.list | |
| echo "deb [ arch=amd64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.0.list | |
| #Update the local package repository | |
| sudo apt update |
| #Update and Upgrade the system | |
| sudo apt-get update | |
| sudo apt-get upgrade | |
| #Download and install Ntopng repository | |
| wget http://apt.ntop.org/18.04/all/apt-ntop.deb | |
| sudo dpkg -i apt-ntop.deb | |
| sudo apt-get clean all | |
| sudo apt-get update | |
| sudo apt-get install pfring-dkms nprobe ntopng n2disk cento |
| # Install powershell | |
| snap isntall powershell --clasic | |
| #Start powershell | |
| pwsh |
| # Install powershell | |
| snap isntall powershell --clasic | |
| #Start powershell | |
| pwsh |
| ##Installation | |
| # Run `bash` for shell | |
| bash | |
| # install Netdata directly from GitHub source | |
| bash <(curl -Ss https://my-netdata.io/kickstart.sh) | |
| #Modify the server configuration file | |
| sudo nano /etc/netdata/netdata.conf | |
| #uncomment following lines- |
| ##Istallation | |
| #Install gtk and gtk3 module | |
| sudo apt-get install libcanberra-gtk-module | |
| sudo apt-get update | |
| #Create a new repository file called tor.list | |
| #cat <<EOF | sudo tee /etc/apt/sources.list.d/tor.list | |
| #deb https://deb.torproject.org/torproject.org bionic main | |
| #deb-src https://deb.torproject.org/torproject.org bionic main | |
| #EOF |
| #update and upgrade Ubuntu | |
| sudo apt update && sudo apt-get upgrade --fix-missing | |
| # Install the package build-essentia,checkinstall for putting it into your package manager | |
| sudo apt install build-essential checkinstall | |
| # Install Ubuntu Restricted Extras | |
| sudo apt install ubuntu-restricted-extras | |
| # Automatically Import All Missing Launchpad PPA GPG Keys |