Script to setup ec2 instances for mdgspace
- Run
find . -type f -name "*.sh" -exec chmod +x {} \;to make all scripts executable - Run
./main.shto test the script - Run
./build.shto build the setup script
- Download the setup script using one of the methods -
- Copy the content of
setup.sh. Runnano setup.shin the server, paste the content and save - Run
wget https://raw.githubusercontent.com/mdgspace/server-setup/master/setup.sh - Run
curl -o setup.sh https://raw.githubusercontent.com/mdgspace/server-setup/master/setup.sh
- Copy the content of
- Run
chmod +x setup.shto make the script executable - Run
./setup.shto setup the server - Remove the script and logs after inspecting the setup
- Logout and login again to apply the changes