Ambos lados, revisión anteriorRevisión previa | Próxima revisiónAmbos lados, revisión siguiente |
es:howtos:network_services:weave [2019/02/17 13:11 (UTC)] – [Configuration] slackwarespanol | es:howtos:network_services:weave [2019/02/17 13:18 (UTC)] – [Configuración] slackwarespanol |
---|
os.environ['PYTHON_EGG_CACHE'] = '/var/tmp/python-eggs' | os.environ['PYTHON_EGG_CACHE'] = '/var/tmp/python-eggs' |
</code> | </code> |
* Next, edit the file "''development.ini''" (that filename is configured in "''sync.wsgi''" in case you want to use another name). In that file change the location of the error logfile so that it is created in "''/var/tmp''". The line <code> | *A continuación, edite el archivo "'' development.ini ''" (ese nombre de archivo se configura en "'' sync.wsgi ''" en caso de que quiera usar otro nombre). En ese archivo, cambie la ubicación del archivo de registro de errores para que se cree en "'' /var/tmp ''". La línea <code> |
args = (‘/tmp/sync-error.log’,) | args = (‘/tmp/sync-error.log’,) |
</code> changes to: <code> | </code> cambie a <code> |
args = ('/var/tmp/sync-error.log',) | args = ('/var/tmp/sync-error.log',) |
</code> | </code> |
* The "''development.ini''" file also mentions the name of the actual sync configuration file "etc/sync.conf". Note that this path is relative to the Weave server’s root directory. It requires some editing! For instance, create the SQL database file in the "''weave''" user’s own home directory. The line <code> | * El archivo "'' development.ini ''" también menciona el nombre del archivo de configuración de sincronización real "etc/sync.conf". Tenga en cuenta que esta ruta es relativa al directorio raíz del servidor Weave. ¡Requiere un poco de edición! Por ejemplo, cree el archivo de base de datos SQL en el directorio de inicio propio del usuario "'' weave ''". La línea <code> |
sqluri = sqlite:////tmp/test.db | sqluri = sqlite:////tmp/test.db |
</code> becomes: <code> | </code> poner: <code> |
sqluri = sqlite:////home/weave/my_weave_server.db | sqluri = sqlite:////home/weave/my_weave_server.db |
</code> The default value for the quota assigned to each sync account is too low (it’s set to 5 MB). Mozilla states that 99.9% of all clients which connect to its public server use less than 25 MB of quota, so use that value as a default. The line <code> | </code> El valor predeterminado para la cuota asignada a cada cuenta de sincronización es demasiado bajo (se establece en 5 MB). Mozilla afirma que el 99.9% de todos los clientes que se conectan a su servidor público usan menos de 25 MB de cuota, por lo tanto, use ese valor como predeterminado. La línea<code> |
quota_size = 5120 | quota_size = 5120 |
</code> changes to: <code> | </code> cambie a: <code> |
quota_size = 25600 | quota_size = 25600 |
</code> Then, look for the following line and make absolutely certain that it is changed to the Apache %%http://%% URL of your Sync Server, i.e. the URL that the sync clients are going to use: <code> | </code> Luego, busque la siguiente línea y asegúrese de que se cambie a la URL Apache %% http: // %% de su Sync Server, es decir, la URL que los clientes de sincronización van a usar: <code> |
fallback_node = http://localhost:5000/ | fallback_node = http://localhost:5000/ |
</code> You can play with other options in this file to see what they can offer. For instance, you can disable "//captcha//" and not enable SSL, but you may decide that this is important to your setup. | </code> Puedes jugar con otras opciones en este archivo para ver lo que pueden ofrecer. Por ejemplo, puede deshabilitar "// captcha //" y no habilitar SSL, pero puede decidir que esto es importante para su configuración. |
| |
<note important>Don’t forget to restart your apache server if you have not yet done so.</note> | <note important>No olvides reiniciar tu servidor apache si aún no lo has hecho.</note> |
| |
===== USing the Sync Server ===== | ===== USing the Sync Server ===== |