• All steps to a clean OVH VPS install
• Script to make a VPS more secure
• Scripts to install Potherca projects on OVH VPS(This Gist)
Scripts to setup/install Potherca projects on OVH VPS
Recently I moved various web-apps I have created to an OVH VPS.
I strongly believe in automating things and making virtual setups easy to throw away/start again.
This project contains various scripts that, when used together, completely populate an empty OVH VPS
to a working
This includes a
cloud9.peachey-schoorl.com Cloud IDE.
Contents of the VPS
Besides installing Apache and PHP, the following is also part of the stack:
- The Cloud9 editor
- Several Potherca projects:
- Setup an SSH key
- Log in to the VPS
- Clone this repository
- Run the installer script
1. Setup an SSH key
The SSH private key (that is used to unlock any secrets committed to this repo) needs to be manually uploaded to the VPS first.
2. Log in to the VPS
Use your favorite SSH client to log in to the VPS.
3. Clone this repository
git clone https://gist.github.com/556b7a2bdff6318bb5932bcf7ef60379.git ovh-install-scripts
4. Run the installer script
There are still some shortcuts in the code that need to be addressed before I can consider this effort successful.
Most notably, the PHP Modules (and other steps) should not be installed the way they currently are.
There should be a script that installs whatever is needed based on information from the project it is installing.
Also, instead of certain actions being run in the VPS, they should be run by a separate (external) build process. The created assets should then be pushed to the VPS.
Finally, the file-system for Cloud9 (in
/home/potherca/workspace) should not be local but loaded from a cloud service (through
Only then will the VPS truely be throw-away.