I will develop this project as a tutorial for myself. But in order not to write empty code, I can simultaneously solve routine tasks that I often encounter in my daily work, for example, deploying a server with a basic web setup.
This process includes creating users for the service and executing code, deploying a node, nginx, php, git, and a gitlab runner. At the same time, everything should work like clockwork and be configured literally in one command.
- Create "Sudo" user
- Create "Execution" user
- Add basic commands before any installation (apt update && apt upgrade)
- Install and configure Nginx
- Install and configure Php
- Install and configure Gitlab Runner
- Install MySQL
- Install Node
- Install Git
Attention! This is an experimental program. Something may be working incorrectly. All problems can be sent to the "Problems" section.
Go home dir:
cd ~Download binary file:
wget https://github.com/Sinersis/simple-server/releases/download/0.0.1/easy-serverSet chmod:
chmod +x ./easy-serverAnd just run:
./easy-server default