Upgrade
1 2 3 4 |
sudo apt update sudo apt upgrade sudo apt autoremove sudo apt autoclean |
Next
1 |
sudo do-release-upgrade |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
Get:1 Upgrade tool signature [833 B] Get:2 Upgrade tool [1,277 kB] Fetched 1,278 kB in 0s (0 B/s) authenticate 'noble.tar.gz' against 'noble.tar.gz.gpg' extracting 'noble.tar.gz' Reading cache Checking package manager Continue running under SSH? This session appears to be running under ssh. It is not recommended to perform a upgrade over ssh currently because in case of failure it is harder to recover. If you continue, an additional ssh daemon will be started at port '1022'. Do you want to continue? Continue [yN] |
y
1 2 3 4 5 6 7 8 9 10 11 |
Starting additional sshd To make recovery in case of failure easier, an additional sshd will be started on port '1022'. If anything goes wrong with the running ssh you can still connect to the additional one. If you run a firewall, you may need to temporarily open this port. As this is potentially dangerous it's not done automatically. You can open the port with e.g.: 'iptables -I INPUT -p tcp --dport 1022 -j ACCEPT' To continue please press [ENTER] |
ENTER
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
Do you want to start the upgrade? 1 installed package is no longer supported by Canonical. You can still get support from the community. 79 packages are going to be removed. 186 new packages are going to be installed. 646 packages are going to be upgraded. You have to download a total of 1,016 M. This download will take about 3 minutes with a 40Mbit connection and about 27 minutes with a 5Mbit connection. Fetching and installing the upgrade can take several hours. Once the download has finished, the process cannot be canceled. Continue [yN] Details [d] |
y
What to do with the configuration file sshd_config?
Select keep the local version currently installed
to use the current configuration as is.
1 2 3 4 5 6 7 8 9 10 |
Configuration file '/etc/apache2/sites-available/default-ssl.conf' ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : start a shell to examine the situation The default action is to keep your current version. *** default-ssl.conf (Y/I/N/O/D/Z) [default=N] ? |
I want to use the edited version (keep your currently-installed version), so enter n and continue.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
Processing snap replacements refreshing snap lxd Searching for obsolete software Reading state information... Done Remove obsolete packages? 127 packages are going to be removed. Removing the packages can take several hours. Continue [yN] Details [d] |
y
1 2 3 4 5 6 7 8 |
System upgrade is complete. Restart required To finish the upgrade, a restart is required. If you select 'y' the system will be restarted. Continue [yN] |
Enter y
to restart.
Log in and if you see the following display, you are OK.
Welcome to Ubuntu 24.04.1 LTS (GNU/Linux 6.8.0-45-generic x86_64)
Change the version of php-fpm used by default
The default PHP version has been raised from 8.1 to 8.3, which makes phpMyAdmin inaccessible.
Check that the PHP-FPM corresponding to the PHP version is activated.
1 2 |
sudo systemctl list-units --type=service | grep php php8.3-fpm.service loaded active running The PHP 8.3 FastCGI Process Manager |
Activate the corresponding PHP-FPM.
1 |
sudo systemctl start php8.3-fpm |
Check the nginx configuration and rewrite it to a newer version if it is still an older version.
1 |
fastcgi_pass unix:/run/php/php8.3-fpm.sock; |
After modifying the configuration, restart nginx.
1 |
sudo systemctl restart nginx |
コメント