Changes

Jump to navigation Jump to search
no edit summary
Line 1: Line 1:  +
[[Category:Infrastructure]]
 
= Cluster setup =
 
= Cluster setup =
   Line 63: Line 64:     
=== Docker in a container ===
 
=== Docker in a container ===
 +
'''Deprecated:''' We don't use this at it leads to weird bugs and there is no support for this configuration.
 +
 
When Docker is run inside a container, it needs a few tweaks:
 
When Docker is run inside a container, it needs a few tweaks:
   Line 78: Line 81:  
= Usages =
 
= Usages =
   −
== SSH connexion ==
+
== SSH connection ==
    
User accounts and SSH keys are directly created using data from github accounts.
 
User accounts and SSH keys are directly created using data from github accounts.
Line 105: Line 108:  
</pre>
 
</pre>
 
Then you can connect yourself with a simpler command:
 
Then you can connect yourself with a simpler command:
<pre>$ ssh robotoff</pre>
+
<pre>$ ssh robotoff</pre>Tip to copy files from the host to your machine:
 +
$ scp -i ~/.ssh/id_rsa -J CharlesNepote@ovh1.openfoodfacts.org CharlesNepote@10.1.0.200:/home/CharlesNepote/file.csv ./myfile.csv
 +
 +
$ # or simpler, if you have created a new Host in your ~/.ssh/config file:
 +
 +
$ scp host_name:/home/CharlesNepote/file.csv ./myfile.csv
    
== Container creation ==
 
== Container creation ==
Line 164: Line 172:  
* System: Leave all system settings to default
 
* System: Leave all system settings to default
 
* Hard Disk: select disk size (leave other settings to default)
 
* Hard Disk: select disk size (leave other settings to default)
* CPU: ...
+
* CPU:
* Memory:  
+
** Type: host
 +
** Leave default for other settings
 +
* Memory: select the RAM you want
 +
* Network: leave all settings to default
 +
Then install OS with noVNC in the proxmox UI.
 +
 
 +
Tips for Debian install:
 +
 
 +
* IP: 10.1.0.201/8 for the installation and then switch to /24 when install is done
 +
* Gateway IP: 10.0.0.1/8 for the installation and then switch to 10.0.0.1/24 when install is done
 +
* Filesystem: ext4
    
= See also, inspirations =
 
= See also, inspirations =
 
* [https://wiki.openstreetmap.org/wiki/FR:Serveurs_OpenStreetMap_France FR:Serveurs OpenStreetMap France] (french)
 
* [https://wiki.openstreetmap.org/wiki/FR:Serveurs_OpenStreetMap_France FR:Serveurs OpenStreetMap France] (french)
 
* [https://wiki.openstreetmap.org/wiki/FR:Serveurs/Utilisation_des_serveurs FR:Serveurs/Utilisation des serveurs] (french)
 
* [https://wiki.openstreetmap.org/wiki/FR:Serveurs/Utilisation_des_serveurs FR:Serveurs/Utilisation des serveurs] (french)

Navigation menu