[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Diferencias
Muestra las diferencias entre dos versiones de la página.
Ambos lados, revisión anteriorRevisión previaPróxima revisión | Revisión previaPróxima revisiónAmbos lados, revisión siguiente | ||
es:howtos:general_admin:openrc [2019/02/11 00:45 (UTC)] – [Enabling some services] slackwarespanol | es:howtos:general_admin:openrc [2019/02/11 01:14 (UTC)] – [Sources] slackwarespanol | ||
---|---|---|---|
Línea 134: | Línea 134: | ||
$ rc-update -v | $ rc-update -v | ||
- | ====== | + | ====== |
- | OpenRC | + | Los servicios de OpenRC |
- | Some common configuration files include: | + | Algunos archivos de configuración comunes incluyen: |
/ | / | ||
Línea 144: | Línea 144: | ||
/ | / | ||
- | ===== Service management | + | ===== Gestión de servicios |
- | Services can be started/stopped/restarted as: | + | Los servicios se pueden iniciar |
# rc-service < | # rc-service < | ||
- | For example, | + | |
+ | Por ejemplo, | ||
# rc-service sshd start | # rc-service sshd start | ||
| | ||
- | ===== Shutdown/reboot ===== | + | ===== Apagar |
- | + | ||
- | To shutdown or reboot, one will need to use **openrc-shutdown**. To shutdown from a desktop environment using ConsoleKit2, | + | |
- | + | ||
- | ====== Troubleshooting ====== | + | |
- | At the moment only a subset of the included services have been tested, so some of them may not run correctly. | + | Para apagar o reiniciar, uno tendrá que usar ** openrc-shutdown **. Para cerrar desde un entorno de escritorio con ConsoleKit2, |
+ | ====== Solución de problemas ====== | ||
- | If some service does not work, try the system provided one in /// | + | En este momento solo se ha probado un subconjunto de los servicios incluidos, por lo que es posible que algunos de ellos no se ejecuten correctamente. |
+ | Si algún servicio no funciona, pruebe el sistema provisto en /// | ||
==== mysqld ==== | ==== mysqld ==== | ||
- | Try adding the following lines to /// | + | Intente agregar las siguientes líneas a /// |
[mysqld] | [mysqld] | ||
Línea 176: | Línea 175: | ||
socket = / | socket = / | ||
- | ==== Dealing with crashed services | + | ==== Tratar con servicios colapsados |
- | Sometimes | + | A veces, |
- | If one tries to start a crashed service, `rc-service` | + | Si se intenta iniciar un servicio bloqueado, los informes de `rc-service`: |
* WARNING: < | * WARNING: < | ||
+ | Así que uno intenta detenerlo antes de volver a empezar. | ||
- | So one tries to stop it before starting again. | + | Sin embargo, en algunas situaciones, el servicio no se detiene. Esto conduce |
- | + | ||
- | However in some situations, the service does not stop. This leads to a deadlock where one can neither stop the service nor start it. For such cases: | + | |
# rc-service < | # rc-service < | ||
Línea 195: | Línea 193: | ||
===== openrc-init ===== | ===== openrc-init ===== | ||
- | Since version | + | Desde la versión |
- | This allows switching between | + | Esto permite cambiar entre OpenRC |
- | For more info, check out the [[https:// | + | Para obtener más información, consulte la [[https:// |
- | ===== Migrating from / | + | ===== Migración de / |
- | OpenRC 0.39+, | + | OpenRC 0.39+, |
- | This is being done to maintain greater compatibility with a vanilla | + | Esto se está haciendo para mantener una mayor compatibilidad con una instalación |
- | Existing services will need to be migrated, details below on how it can be done. | + | Los servicios existentes deberán migrarse, a continuación se detallan los detalles sobre cómo se puede hacer. |
- | === 1. Install | + | === 1. Instale |
- | These packages ship the configuration and service files in /// | + | Estos paquetes envían los archivos de configuración y servicio en /// |
- | === 2. Migrate existing services | + | === 2. Migra los servicios existentes |
- | This involves | + | Esto implica |
# migrate existing services | # migrate existing services | ||
Línea 270: | Línea 268: | ||
done | done | ||
- | Config changes found above can be updated by hand or copy pasted in new location. | + | Los cambios de configuración encontrados anteriormente se pueden actualizar manualmente o pegar en una nueva ubicación. |
- | === 3. Check and reboot | + | === 3. Revisar y reiniciar |
- | Verify if '' | + | Verifique si '' |
- | Reboot and check whether things are working expected, make changes as necessary. | + | Reinicie y verifique si las cosas funcionan correctamente, realice los cambios necesarios. |
- | The old files and folders can be renamed | + | Los archivos y carpetas antiguos pueden ser renombrados |
mv /etc/init.d / | mv /etc/init.d / | ||
Línea 285: | Línea 283: | ||
mv / | mv / | ||
mv / | mv / | ||
- | + | | |
- | Finally, any changes done to the default | + | Finalmente, cualquier cambio realizado en el sistema |
+ | |||
mv / | mv / | ||
- | ====== | + | ====== |
[[https:// | [[https:// | ||
Línea 298: | Línea 296: | ||
[[https:// | [[https:// | ||
- | [[https:// | + | [[https:// |
[[https:// | [[https:// | ||
Línea 309: | Línea 307: | ||
<!-- * Original source: [[http:// | <!-- * Original source: [[http:// | ||
<!-- Authors are allowed to give credit to themselves! --> | <!-- Authors are allowed to give credit to themselves! --> | ||
- | * Originally written by [[wiki: | + | * Originalmente escrito por[[wiki: |
+ | * Traducido por: [[wiki: | ||
<!-- * Contributions by [[wiki: | <!-- * Contributions by [[wiki: | ||