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 | |
# 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 |
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 update | |
sudo apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev libsqlite3-dev wget libbz2-dev | |
sudo apt-get install build-essential checkinstall | |
sudo apt autoremove | |
sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev libffi-dev zlib1g-dev | |
cd /opt | |
sudo wget https://www.python.org/ftp/python/3.8.6/Python-3.8.6.tgz | |
sudo tar xzf Python-3.8.6.tgz | |
ls -la | |
sudo rm -f Python-3.8.6.tgz |
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 usermod -a -G docker $(whoami) | |
##To run the Open edX devstack on your local machine please follow the instructions. | |
##Creating a proper environment | |
###Run the following commands to create the project directory in your $HOME directory. | |
$ mkdir arbisoft | |
$ cd arbisoft |
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 install curl | |
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash - | |
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - | |
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list | |
sudo apt-get update | |
sudo apt-get install git-core zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev software-properties-common libffi-dev nodejs yarn | |
sudo apt-get install libgdbm-dev libncurses5-dev automake libtool bison libffi-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 Apache | |
sudo apt update | |
sudo apt upgrade | |
sudo apt install apache2 | |
apache2 -v | |
sudo service apache2 start | |
sudo systemctl enable apache2 | |
sudo service apache2 stop | |
sudo service apache2 start | |
sudo service apache2 restart |
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
wget https://www.mautic.org/download/latest | |
The file will be saved as latest. Use unzip command to unzip it to /var/www/mautic/ directory. | |
sudo apt install unzip | |
sudo unzip latest -d /var/www/mautic/ | |
Then make the web server user (www-data) as the owner of this directory. |
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, Install prerequisites: | |
sudo apt install -y git curl wget zip unzip | |
Install PHP 7+ | |
============== | |
sudo apt install php libapache2-mod-php php-mysql | |
sudo apt install php7.2-common php7.2-cli php7.2-gd php7.2-mysql php7.2-curl php7.2-intl php7.2-mbstring php7.2-bcmath php7.2-imap php7.2-xml php7.2-zip | |
php --version | |
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 update && apt upgrade | |
sudo apt-get install nginx | |
sudo systemctl start nginx | |
sudo systemctl enable nginx | |
sudo systemctl restart nginx | |
sudo systemctl status nginx | |
# Install MySQL & check | |
sudo apt install mysql-server | |
sudo 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
##Step 1: Install MongoDB | |
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 9DA31620334BD75D9DCB49F368818C72E52529D4 | |
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 | |
sudo apt update | |
sudo apt install -y mongodb-org | |
sudo systemctl stop mongod.service |
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 Apache to check from web browser using 0.0.0.0 or localhost, check version, start,stop & restart Apache into Ubuntu | |
sudo apt update | |
sudo apt upgrade | |
sudo apt install apache2 | |
apache2 -v | |
sudo service apache2 start | |
sudo systemctl enable apache2 | |
sudo service apache2 stop | |
sudo service apache2 start | |
sudo service apache2 restart |