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 | |
https://github.com/HospitalRun/hospitalrun-server/fork | |
#Clone it to your local machine | |
git clone https://github.com/rakibulinux/hospitalrun-server.git | |
#Avigate to the cloned folder: | |
cd hospitalrun-server |
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 | |
sudo git clone git@github.com:djfarrelly/MailDev.git | |
sudo apt-get install nodejs-dev node-gyp libssl1.0-dev | |
sudo apt-get install npm | |
sudo npm install -g ./MailDev | |
maildev |
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 | |
sudo apt-get update | |
sudo apt-get install nginx mariadb-server php7.2 php7.2-cli php7.2-fpm php7.2-common php7.2-mysql php7.2-curl php7.2-json php7.2-zip php7.2-gd php7.2-xml php7.2-mbstring php7.2-opcache php7.2-pgsql curl git unzip -y | |
sudo systemctl start nginx | |
sudo systemctl enable nginx | |
sudo systemctl start mariadb | |
sudo systemctl enable mariadb |
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 | |
mkdir golang_source | |
cd golang_source | |
wget https://dl.google.com/go/go1.14.1.linux-amd64.tar.gz | |
sudo tar -zxvf go1.14.1.linux-amd64.tar.gz -C /usr/local | |
#Setup GOROOT and PATH environment variables: |
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 | |
#Installing VirtualBox | |
sudo apt install virtualbox | |
#Installing Vagrant | |
sudo apt update | |
curl -O https://releases.hashicorp.com/vagrant/2.2.6/vagrant_2.2.6_x86_64.deb | |
sudo apt install ./vagrant_2.2.6_x86_64.deb |
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 | |
sudo apt update | |
sudo apt install -y ntp ntpdate | |
sudo ntpdate -u 0.ubuntu.pool.ntp.org | |
sudo nano /etc/hosts | |
192.168.1.10 server.itzgeek.local server | |
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 | |
sudo apt update | |
sudo apt-add-repository ppa:ansible/ansible | |
sudo apt update | |
sudo apt install ansible | |
#Setting Up the Inventory File. Be sure to replace the highlighted IPs with the IP addresses of your Ansible hosts. | |
sudo nano /etc/ansible/hosts |
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 | |
#https://youtu.be/oW0ahpCJsPU | |
sudo apt update | |
sudo apt install apt-transport-https ca-certificates curl software-properties-common | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable" | |
sudo apt update | |
apt-cache policy docker-ce |
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/bash | |
sudo apt update | |
sudo apt install software-properties-common apt-transport-https wget | |
wget -q http://www.webmin.com/jcameron-key.asc -O- | sudo apt-key add - | |
sudo add-apt-repository "deb [arch=amd64] http://download.webmin.com/download/repository sarge contrib" | |
sudo apt install webmin | |
#Webmin install complete. You can now login to https://your_server_ip_or_hostname:10000/ as root with your root password, or as any user who can use sudo to run commands as root. | |
#Adjust the Firewall |
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/bash | |
sudo apt update | |
sudo apt upgrade | |
#Download Metasploit Combined Installer | |
wget https://downloads.metasploit.com/data/releases/metasploit-latest-linux-x64-installer.run | |
chmod +x metasploit-latest-linux-x64-installer.run | |
sudo ./metasploit-latest-linux-x64-installer.run |