Script to setup ec2 instances for mdgspace
- Run
find . -type f -name "*.sh" -exec chmod +x {} \;
to make all scripts executable - Run
./main.sh
to test the script - Run
./build.sh
to build the setup script
- Download the setup script using one of the methods -
- Copy the content of
setup.sh
. Runnano setup.sh
in 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.sh
to make the script executable - Run
./setup.sh
to setup the server - Remove the script and logs after inspecting the setup
- Logout and login again to apply the changes