Ubuntu 18 upgrade to 20: Unterschied zwischen den Versionen

Aus crazylinux.de
Zur Navigation springen Zur Suche springen
K (<syntaxhighlight lang="sql">)
K (lang="")
Zeile 1: Zeile 1:
== Upgrade ==
== Upgrade ==
<syntaxhighlight>mount -o remount,rw,exec  /tmp
<syntaxhighlight lang="bash">mount -o remount,rw,exec  /tmp
vgck  --updatemetadata  vg0</syntaxhighlight>
vgck  --updatemetadata  vg0</syntaxhighlight>


== Apache ==
== Apache ==
<syntaxhighlight>
<syntaxhighlight lang="apache">
/etc/apache2/apache2.conf
/etc/apache2/apache2.conf
# Include the virtual host configurations:
# Include the virtual host configurations:
Zeile 14: Zeile 14:
== MySQL ==
== MySQL ==
=== Installation ===
=== Installation ===
<syntaxhighlight>/etc/apparmor.d/usr.sbin.mysqld
<syntaxhighlight lang="ini">/etc/apparmor.d/usr.sbin.mysqld
-  /srv/mysql/datadir55/ r,
-  /srv/mysql/datadir55/ r,
-  /srv/mysql/datadir55/** rwk,
-  /srv/mysql/datadir55/** rwk,
Zeile 21: Zeile 21:
datadir                = /srv/mysql/datadir55/</syntaxhighlight>
datadir                = /srv/mysql/datadir55/</syntaxhighlight>


<syntaxhighlight>
<syntaxhighlight lang="sql">
/etc/mysql/conf.d/mysqld.cnf
/etc/mysql/conf.d/mysqld.cnf
-----
-----
Zeile 37: Zeile 37:


=== Password ===
=== Password ===
<syntaxhighlight>[Warning] [MY-013360] [Server] Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'</syntaxhighlight>
<syntaxhighlight lang="linux">[Warning] [MY-013360] [Server] Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'</syntaxhighlight>


== Horde ==
== Horde ==
needed?
needed?


<syntaxhighlight>
<syntaxhighlight lang="bash">
horde
horde
libpam
libpam
Zeile 69: Zeile 69:
$cfg['Servers'][$i]['export_templates'] = 'pma__export_templates';
$cfg['Servers'][$i]['export_templates'] = 'pma__export_templates';
</syntaxhighlight>
</syntaxhighlight>
== CAKEPHP ==
vllt cakephp upgraden?, siehe
cd /srv/www/mygretchen.de/htdocs/admin/domain/cake
grep -r --no-ignore-case Object *
Das reservierte Wort "Object" kommt an zu vielen Stellen im Framework vor.
Wozu eigentliich dieses Framework?


== PHP-CACHE ==
== PHP-CACHE ==

Version vom 23. April 2024, 02:33 Uhr

Upgrade

mount -o remount,rw,exec  /tmp
vgck  --updatemetadata  vg0

Apache

/etc/apache2/apache2.conf
# Include the virtual host configurations:
Include sites-enabled/*.conf
#Include sites-enabled/


MySQL

Installation

/etc/apparmor.d/usr.sbin.mysqld
-  /srv/mysql/datadir55/ r,
-  /srv/mysql/datadir55/** rwk,

/etc/mysql/mysql.conf.d/mysqld.cnf
datadir                = /srv/mysql/datadir55/
/etc/mysql/conf.d/mysqld.cnf
-----
41gg
s#NO_AUTO_CREATE_USER,##

Upgrade

https://mariadb.com/kb/en/troubleshooting-row-size-too-large-errors-with-innodb/

[Warning] [MY-011825] [InnoDB] Cannot add field `favicon` in table `coaching_rander`.`o5bni_acymailing_mail` because after adding it, the row size is 8471 which is greater than maximum allowed size (8126) for a record on index leaf page.

Solution:

ALTER TABLE tab ROW_FORMAT=DYNAMIC;

Password

[Warning] [MY-013360] [Server] Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'

Horde

needed?

horde
libpam
apt install libpam0g-dev

PHPMYADMIN

Warning: Der phpMyAdmin-Konfigurationsspeicher ist nicht vollständig konfiguriert, einige erweiterte Funktionen wurden deaktiviert.

Lösung:

cd /srv/www/mygretchen.de/htdocs/member/sql/sql
mysqlpw
mysql -u root -p < upgrade_tables_mysql_4_1_2+.sql
..
vi config.inc.php:

/*
 * Tempdir
 */
$cfg['TempDir'] = '/tmp';

$cfg['Servers'][$i]['central_columns'] = 'pma__central_columns';
$cfg['Servers'][$i]['designer_settings'] = 'pma__designer_settings';
$cfg['Servers'][$i]['export_templates'] = 'pma__export_templates';

PHP-CACHE

As of PHP 8.0.0, apcu-bc is no longer supported.


AWSTATS

Verzeichnis existiert nicht. Welches?