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
Get New Instance | |
apt-get update -y | |
apt-get upgrade -y | |
apt-get install libffi-dev python3-pip python3-dev python3-testresources libssl-dev wkhtmltopdf gcc g++ make -y | |
curl -sL https://deb.nodesource.com/setup_12.x | bash - | |
apt-get install nodejs redis-server -y | |
node --version | |
npm install -g yarn | |
apt-get install mariadb-server mariadb-client -y | |
mysql_secure_installation |
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
#!/bin/sh | |
# FORK THIS GIST AND UPDATE FOR YOU BEFORE USE | |
#Things To Do After Installing Ubuntu 20.04 LTS Desktop | |
sudo -i | |
apt update -y | |
apt upgrade -y | |
apt install build-essential checkinstall | |
apt install ubuntu-restricted-extras |
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
# !/bin/sh | |
# Install yarn from root previlage | |
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - | |
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list | |
apt update | |
apt install cmdtest | |
apt install yarn | |
yarn --version | |
yarn 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
sudo apt-get install python3 python3-dev python3-pip libxml2-dev libxslt1-dev zlib1g-dev libffi-dev libssl-dev | |
#python3-dev, zlib1g-dev, libxml2-dev and libxslt1-dev are required for lxml | |
#libssl-dev and libffi-dev are required for cryptography | |
pip install virtualenv | |
virtualenv venv |
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 install Osmedeus run the following command: | |
git clone https://github.com/j3ssie/Osmedeus | |
cd Osmedeus | |
./install.sh | |
# After installation use the following commands for different scanning system for a website: | |
# For Scanning subdomain and Subdomain TakeOver | |
./osmedeus.py -m subdomain -t example.com | |
# For Screenshot the target |
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
sudo -i | |
[email protected]:HospitalRun/hospitalrun-server.git ###<clone this | |
#enter the directory you've clone hospitalrun | |
git checkout master | |
git checkout | |
git init | |
git add . | |
git commit -m "test" | |
git push | |
git pull |
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 Apache2 | |
sudo apt update | |
sudo apt install apache2 | |
sudo systemctl start apache2.service | |
sudo systemctl enable apache2.service | |
sudo systemctl restart apache2.service | |
#Install MariaDB | |
sudo apt-get install mariadb-server mariadb-client |
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: Create Odoo User | |
sudo useradd -m -d /opt/odoo -U -r -s /bin/bash odoo | |
###Install PostgreSQL | |
sudo apt install postgresql postgresql-contrib | |
sudo su - postgres -c "createuser -s odoouser" | |
sudo su - postgres -c "createdb odoodb" | |
sudo -u postgres psql | |
grant all privileges on database odoodb to odoouser; |
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 OpenJDK | |
Simply run the commands below to install OpenJDK: | |
sudo apt update | |
sudo apt install default-jdk | |
Step 2: Create Tomcat Service Account | |
sudo groupadd tomcat | |
sudo useradd -s /bin/false -g tomcat -d /opt/tomcat 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 system | |
sudo apt update && sudo apt upgrade | |
sudo apt install wget build-essential subversion | |
# Download Asterisk | |
cd /usr/src/ | |
sudo wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-16-current.tar.gz | |
sudo tar zxf asterisk-16-current.tar.gz | |
cd asterisk-16.*/ |
NewerOlder