Menú alternativo
Toggle preferences menu
Menú alternativo personal
No has accedido
Tu dirección IP será visible si haces alguna edición

Diferencia entre revisiones de «Ubuntu»

De TechShareRoom wiki
 
(No se muestran 7 ediciones intermedias del mismo usuario)
Línea 1: Línea 1:
== Tutoriales ==
= Tutoriales =
*Escritorio remoto
===== Escritorio remoto =====
**[[Configurar acceso remoto Ubuntu | Configurar acceso remoto]] - Conectarse a Ubuntu desde otro equipo.
*[[Configurar acceso remoto Ubuntu | Configurar acceso remoto]] - Conectarse a Ubuntu desde otro equipo.


== Comandos ==
= Recursos =
*Actualizar a versión superior del sistema
*[https://en.wikipedia.org/wiki/Ubuntu_version_history#Table_of_versions Tabla de versiones]
 
= Mantenimiento =
*[[Mantenimiento Ubuntu básico]]
*[[Mantenimiento Ubuntu avanzado]]
 
= Solución a problemas =
*[[Recuperar grub en Ubuntu | Recuperar grub]]
*[[My /boot partition hit 100% and now I can't upgrade. Can't remove old kernels to make room]]
*[https://www.techrepublic.com/article/how-to-fix-apts-the-following-packages-have-been-kept-back-issue/ The following packages have been kept back]
*[[Cannot load /usr/lib/apache2/modules/libphp8.1.so into server, cannot open shared object file: no such file or directoy]]
 
= Comandos =
===== Actualizar a versión superior del sistema =====
<syntaxhighlight lang="bash ">
<syntaxhighlight lang="bash ">
do-release-upgrade
do-release-upgrade
Línea 19: Línea 32:


También te tocará volver a habilitar los repositorios de terceros que se deshabilitaron por la actualización.
También te tocará volver a habilitar los repositorios de terceros que se deshabilitaron por la actualización.
== Recursos ==
*[https://en.wikipedia.org/wiki/Ubuntu_version_history#Table_of_versions Tabla de versiones]
== Mantenimiento ==
*[[Mantenimiento Ubuntu básico]]
*[[Mantenimiento Ubuntu avanzado]]
== Solución a problemas ==
*[https://askubuntu.com/questions/171209/my-boot-partition-hit-100-and-now-i-cant-upgrade-cant-remove-old-kernels-to/1165681#1165681 '''My /boot partition hit 100% and now I can't upgrade. Can't remove old kernels to make room''']
**[https://launchpad.net/linux-purge/+announcement/15313 linux-purge]
**Instalar con:
<syntaxhighlight lang="bash ">
sh -c 'cd /tmp && wget -N https://git.launchpad.net/linux-purge/plain/install-linux-purge.sh && chmod +x ./install-linux-purge.sh && sudo ./install-linux-purge.sh && rm ./install-linux-purge.sh' && [ "$BASH" ] && echo Replaced current shell in order to make the Bash completion work && exec bash
apt install dialog
</syntaxhighlight>
Para saber los kernel que hay instalados:
<syntaxhighlight lang="bash ">
dpkg --list | grep linux-image
</syntaxhighlight>
Then run this in terminal, use "sudo" if proceed in your case:
<syntaxhighlight lang="bash ">
linux-purge --clear-boot
</syntaxhighlight>
Then go on removing kernels by e.g.
<syntaxhighlight lang="bash ">
linux-purge --keep 1 --choose
</syntaxhighlight>
*[https://www.techrepublic.com/article/how-to-fix-apts-the-following-packages-have-been-kept-back-issue/ The following packages have been kept back]
*'''Cannot load /usr/lib/apache2/modules/libphp8.1.so into server, cannot open shared object file: no such file or directoy'''
Si has actualizado Ubuntu, en este caso de la versión 22.04 a la versión 24.04 y utilizas php, te habrás encontrado con que te ha dejado de funcionar. Esto es debido a que en esta nueva versión se utiliza la versión 8.3. Por lo que habrá que deshabilitar el módulo de la 8.1 y habilitar el de la 8.3.
<syntaxhighlight lang="bash ">
a2dismod php8.1
a2enmod php8.3
systemctl restart apache2
</syntaxhighlight>
*[https://askubuntu.com/questions/1515321/apache2-on-24-04-wont-start-when-php-is-installed Fuente]

Revisión actual - 01:24 28 ago 2025

Tutoriales

Escritorio remoto

Recursos

Mantenimiento

Solución a problemas

Comandos

Actualizar a versión superior del sistema
do-release-upgrade

Tras realizar la actualización y reiniciar, posiblemente algunas cosas dejene de funcionar.

Un ejemplo de ellos es si usabas ufw o similares, debes reinstalarlo (la actualización lo puede borrar) y reiniciar los servicios o el sistema y todo debería funcionar como siempre.

apt install ufw
ufw enable

También te tocará volver a habilitar los repositorios de terceros que se deshabilitaron por la actualización.