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 heroku cli | |
#Login to heroku | |
heroku login | |
#Clone the app in local and changes working dir to the app dir - here azadbd is the app dir | |
heroku git:clone -a azadbd | |
cd azadbd | |
#Initialize git | |
git init |
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
##Install and Configure LAMP | |
#Update and Upgrades System | |
sudo apt-get update && upgrade | |
#install apache,mariadb, php and other required packages | |
apt-get install apache2 mariadb-server libapache2-mod-php7.2 php7.2 php7.2-cli php7.2-mysql php7.2-common php7.2-zip php7.2-mbstring php7.2-xmlrpc php7.2-curl php7.2-soap php7.2-gd php7.2-xml php7.2-intl php7.2-ldap php7.2-imap unzip wget | |
#Make some changes in php.ini file | |
################################### | |
#file_uploads = On |
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 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 |
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
##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 powershell | |
snap isntall powershell --clasic | |
#Start powershell | |
pwsh |
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 powershell | |
snap isntall powershell --clasic | |
#Start powershell | |
pwsh |
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 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 |
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 |