This project is for everyday use of configuring new vps. These scripts has been tested in Digital Ocean droplet using Debian 8.6.
- Login as root in your new droplet using ssh.
- Copy 01-initial.sh to your server using
nano 01-initial.sh
. - Change permission of the file using
chmod 755 01-initial.sh
. - This file will create a new sudo user. To customize the user and password for it, edit it using
nano 01-initial.sh
in the lineSUDO_USER
andSUDO_PASSWD
. - Run the script
./01-initial.sh
.
- Assume you are still logged in as sudo user.
- Edit and use 02-lamp.sh script similar to section before.