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 the system | |
sudo apt update | |
#Upgrade the system | |
sudo apt upgrade | |
#Install Required Packages | |
sudo apt install build-essential linux-headers-generic | |
#Download VMware Workstation Player |
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 NGINX | |
#Update the system | |
sudo apt update | |
#Install nginx | |
sudo apt install nginx | |
#Allow connections to Nginx on firewall | |
sudo ufw allow 'Nginx HTTP' |
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 NGINX | |
#Update the system | |
sudo apt update | |
#Install nginx | |
sudo apt install nginx | |
#Allow connections to Nginx on firewall | |
sudo ufw allow 'Nginx HTTP' |
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 Erlang/OTP | |
#Import Erlang GPG Key | |
wget -O- https://packages.erlang-solutions.com/ubuntu/erlang_solutions.asc | sudo apt-key add - | |
#Add the Erlang Repository Ubuntu 18.04 system | |
echo "deb https://packages.erlang-solutions.com/ubuntu bionic contrib" | sudo tee /etc/apt/sources.list.d/rabbitmq.list | |
#Update your system package list and install Erlang | |
sudo apt update | |
sudo apt -y install erlang |
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
#Download Ruby | |
wget https://cache.ruby-lang.org/pub/ruby/2.5/ruby-2.5.3.zip | |
#Change directory to where to install | |
cd / | |
#create a directory | |
sudo mkdir ruby | |
#back to home | |
cd / | |
#Unzip ruby to the directory 'ruby' |
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 the system | |
sudo apt-get update | |
#Install redis | |
sudo apt-get install redis-server | |
#Modify redis.conf file | |
sudo nano /etc/redis/redis.conf | |
#Enable supervised to systemd to do so uncomment the line #supervised systemd |
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
##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
# 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 |