./upload-initial-setup-script [email protected]
ssh [email protected]
./initial-setup
This script will update the system, install sudo, create the deployer user, configure the timezone and build the locales you need.
It will ask a password for your new user, information for the new user, your timezone and the locales you want to build.
Leave empty the default system locale.
From your local machine:
./ssh-copy-id [email protected]
You should be able to connect to the server without a password:
./upload-server-scripts [email protected]
You can edit the secure-server script and change the $SSH_PORT variable to another port.
Then run:
ssh [email protected]
./server_scripts/secure-server
You won't be able to connect through ssh with the root user anymore.
You won't be able to login through ssh with password auth anymore.
iptables will only allow external connections to http, https and ssh ports.
You can run the different application installation scripts from server_scripts/applications.