These scripts have been tested on Ubuntu Server 16.04 LTS installed on Azure VPS.
To download this scripts, connect to the VPS and run this line:
sudo apt-get install git
Once git is installed, move to your home directory and clone the scripts.
git clone https://github.com/webmetender/ConfigUbuntuOnAzure.git
After file download, make the scripts executable:
sudo chmod +x ./ConfigUbuntuOnAzure/01_sys_install_config.sh
sudo chmod +x ./ConfigUbuntuOnAzure/02_worker_compile_config.sh
You'd be now able to run the first file, it updates the OS and installs needed mudules. You'll be asked to agree by hitting 'y' several times during the process.
sudo ./ConfigUbuntuOnAzure/01_sys_install_config.sh
After this script ends, you need to log out and log back in to see memory configuration changes applied.
exit
Log back in, move to your home directory and run the second script.
sudo ./ConfigUbuntuOnAzure/02_worker_compile_config.sh