Skip to content
Snippets Groups Projects
Commit 4197e1b3 authored by Elian Loraux's avatar Elian Loraux
Browse files

first modif of readme

parent 69a60e8a
No related branches found
No related tags found
1 merge request!21Services desk 81 redistributivite securimag
# NoCloud Auto Installer
NoCloud-Auto-Installer is designed to automatically install all applications for the [NoCloud solution](https://gitlab.tetras-libre.fr/nocloud).
## Install
1. intall `apt-get install vim git tmux`
2. `tmux new -s installation`
3. `cd /opt; git clone https://gitlab.tetras-libre.fr/nocloud/NoCloud-Auto-Installer; ln -s /opt/NoCloud-Auto-Installer /root`
4. `cd NoCloud-Auto-Installer`
5. `cp main.env.sample main.env`
6. Edit the 'main.env' file to put the right modules and domains do not touch the 'MAINTENANCE_LEVEL' **if you dont do that, Tetras Libre get access to your server**
7. `bash run.sh`
8. Test the connection with the ssh key (in case of hosting by OVH, remove the waring in '.ssh/authorized_keys')
9. **Delete temporary user as needed** `deluser [user] && rm -r /home/[user]`
10. `. main.env; bash validate.sh`
If dockerweb doesn't have the right uid, you can change it **only if it's not already in use** thanks to:
```sh
groupmod -g 1000 dockerweb
usermod -u 1000 -g 1000 dockerweb
id dockerweb
```
At this point, you have a NoCloud server ready with the intended modules not configured and no DNS
11. Set up your DNS through your provider
12. `apt dist-upgrade`
13. Reboot
14. `/opt/NoCloud-Auto-Installer/validate.sh`
15. Reverse DNS configuration (in the OVH order or at the ISP depending on the order)
16. Sending a test email `echo -e "Subject: test\n\nThis is a test" | sendmail -t root` and check its receipt
Well done.
# Listes of modules : Base GlpiAgent WebServer MySQL Nextcloud Collabora Dolibarr TetrasBack
# You always need : Base GlpiAgent
# You always need : Base
# To use Docker you need : Traefik
export MODS="Base GlpiAgent Traefik"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment