This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Update your existing list of packages | |
sudo apt update | |
#Install a few prerequisite packages | |
sudo apt install apt-transport-https ca-certificates curl software-properties-common | |
#Add the GPG key for the official Docker repository | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
#Add the Docker repository to APT sources |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##Install OpenJDK | |
#Update system | |
sudo apt update | |
#Install the OpenJDK package | |
sudo apt install default-jdk | |
#Create Tomcat User | |
sudo useradd -r -m -U -d /opt/tomcat -s /bin/false tomcat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Update your system | |
sudo apt update | |
sudo apt -y upgrade | |
sudo reboot | |
#Import apt repository | |
wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add - | |
wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add - | |
#Add the VirtualBox Repository |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#add the ppa repo, update your system | |
sudo add-apt-repository ppa:mrazavi/openvas | |
sudo apt-get update | |
#install the required packages | |
sudo apt install sqlite3 | |
sudo apt install openvas9 | |
sudo apt install texlive-latex-extra --no-install-recommends | |
sudo apt install texlive-fonts-recommended | |
sudo apt install libopenvas9-dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Update system & reboot | |
sudo apt update && sudo apt -y upgrade | |
sudo reboot | |
#Install Asterisk 16 LTS dependencies | |
sudo apt -y install git curl wget libnewt-dev libssl-dev libncurses5-dev subversion libsqlite3-dev build-essential libjansson-dev libxml2-dev uuid-dev | |
#Add universe repository and install subversio | |
sudo add-apt-repository universe | |
sudo apt update && sudo apt -y install subversion |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##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- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##Install the Apache web server | |
sudo apt-get install apache2 -y | |
#Start and enable Apache to start automatically upon server reboot | |
sudo systemctl start apache2 | |
sudo systemctl enable apache2 | |
#Check Apache server is up and running | |
systemctl status apache2 |
NewerOlder