Editor, Editors, USER, admin, Bureaucrats, Check users, dev, editor, founder, Interface administrators, member, oversight, Suppressors, Administrators, translator
11,492
edits
(6 intermediate revisions by the same user not shown) | |||
Line 562: | Line 562: | ||
<small>[1]- Killed sudo mysqld_safe --skip-grant-tables --skip-networking</small></blockquote>'''Termina il processo MySQL in modalità sicura:''' | <small>[1]- Killed sudo mysqld_safe --skip-grant-tables --skip-networking</small></blockquote>'''Termina il processo MySQL in modalità sicura:''' | ||
Line 594: | Line 601: | ||
===='''Riavvia MySQL in modalità normale'''==== | ===='''Riavvia MySQL in modalità normale'''==== | ||
Line 611: | Line 627: | ||
==3. Problemi con la configurazione del file MySQL== | ==3. Problemi con la configurazione del file MySQL== | ||
'''Errore comune:''' Parametro <code>bind-address</code> mal configurato. | '''Errore comune:''' Parametro <code>bind-address</code> mal configurato. | ||
Line 662: | Line 681: | ||
==4. Problemi con PHP== | ==4. Problemi con PHP== | ||
'''Errore comune:''' Moduli mancanti o versioni non compatibili. | '''Errore comune:''' Moduli mancanti o versioni non compatibili. | ||
Line 788: | Line 810: | ||
'''Errore comune:''' Apache non attivo o moduli disabilitati. | '''Errore comune:''' Apache non attivo o moduli disabilitati. | ||
Line 843: | Line 868: | ||
=='''6. Problemi con MediaWiki'''== | =='''6. Problemi con MediaWiki'''== | ||
'''Errore comune:''' Mancanza del file <code>LocalSettings.php</code>. | '''Errore comune:''' Mancanza del file <code>LocalSettings.php</code>. | ||
Line 866: | Line 894: | ||
==7. Problemi di sincronizzazione con Masticationpedia== | ==7. Problemi di sincronizzazione con Masticationpedia== | ||
'''Errore comune:''' Errori API o configurazioni mancanti | '''Errore comune:''' Errori API o configurazioni mancanti | ||
Line 881: | Line 912: | ||
<small>[Sun Jan 05 11:48:56.032352 2025] [core:notice] '''[pid 184298]''' AH00094: Command line: '/usr/sbin/apache2'</small></blockquote> | <small>[Sun Jan 05 11:48:56.032352 2025] [core:notice] '''[pid 184298]''' AH00094: Command line: '/usr/sbin/apache2'</small></blockquote> | ||
=Installazione e configurazione MadiaWiki = | =Installazione e configurazione MadiaWiki= | ||
==Scarica la versione 1.43:== | ==Scarica la versione 1.43:== | ||
Usa il comando <code>wget</code> per scaricare la versione indicata:<blockquote><small>parallels@ubuntu-linux-22-04-02-desktop:'''~$ wget <nowiki>https://releases.wikimedia.org/mediawiki/1.43/mediawiki-1.43.0.tar.gz</nowiki>'''</small> | |||
Usa il comando <code>wget</code> per scaricare la versione indicata: | |||
<blockquote><small>parallels@ubuntu-linux-22-04-02-desktop:'''~$ wget <nowiki>https://releases.wikimedia.org/mediawiki/1.43/mediawiki-1.43.0.tar.gz</nowiki>'''</small> | |||
<small>--2025-01-05 15:51:19-- <nowiki>https://releases.wikimedia.org/mediawiki/1.43/mediawiki-1.43.0.tar.gz</nowiki></small> | <small>--2025-01-05 15:51:19-- <nowiki>https://releases.wikimedia.org/mediawiki/1.43/mediawiki-1.43.0.tar.gz</nowiki></small> | ||
Line 901: | Line 937: | ||
<small>mediawiki-1.43.0.tar.gz 100%[==============================================================================================>] 87.69M 5.41MB/s in 18s </small> | <small>mediawiki-1.43.0.tar.gz 100%[==============================================================================================>] 87.69M 5.41MB/s in 18s </small> | ||
<small>2025-01-05 15:51:37 (4.89 MB/s) - ‘mediawiki-1.43.0.tar.gz’ saved [91947888/91947888]</small></blockquote>'''Estrai l'archivio scaricato''': Questo creerà una directory chiamata <code>'''mediawiki-1.43.0'''</code>. | <small>2025-01-05 15:51:37 (4.89 MB/s) - ‘mediawiki-1.43.0.tar.gz’ saved [91947888/91947888]</small></blockquote> | ||
'''Estrai l'archivio scaricato''': Questo creerà una directory chiamata <code>'''mediawiki-1.43.0'''</code>. | |||
llels@ubuntu-linux-22-04-02-desktop:'''~$ tar -xvzf mediawiki-1.43.0.tar.gz''' | llels@ubuntu-linux-22-04-02-desktop:'''~$ tar -xvzf mediawiki-1.43.0.tar.gz''' | ||
Line 907: | Line 948: | ||
Sostituisci la directory esistente: | |||
<blockquote><small>parallels@ubuntu-linux-22-04-02-desktop:'''~$ sudo mv /var/www/html/mediawiki /var/www/html/mediawiki_old'''</small> | |||
<small>sudo mv mediawiki-1.43.0 /var/www/html/mediawiki</small> | |||
<small>[sudo] password for parallels:</small> </blockquote> | |||
'''Verifica i permessi''': Assicurati che Apache possa accedere ai file: | |||
ffffffff | |||
==2. Configurazione del database== | |||
<p>'''Verifica la connessione al database''': MediaWiki 1.43 dovrebbe essere compatibile con il database esistente. Accedi al database per verificare: | |||
<small>parallels@ubuntu-linux-22-04-02-desktop:'''~$ mysql -u root -p'''</small> | |||
<small>Enter password:</small> {{Rosso inizio}}Errore {{Rosso Fine}}</p> | |||
fffff | |||
<small>ERROR 1698 (28000): Access denied for user 'root'@'localhost'</small>Desccrizione errore e risoluzione {{Tooltip|Errore "Access denied for user 'root'@'localhost"|L'errore si verifica quando MySQL nega l'accesso all'utente <code>root</code>. Cause comuni includono: 1) Autenticazione tramite <code>auth_socket</code>, 2) Password errata, 3) Privilegi insufficienti. Soluzione: Accedi con <code>sudo mysql</code>, cambia il metodo di autenticazione con <code>ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'nuova_password';</code>, oppure resetta la password avviando MySQL in modalità sicura (<code>mysqld_safe --skip-grant-tables</code>). Verifica sempre i privilegi e riavvia il servizio MySQL.}} | <small>ERROR 1698 (28000): Access denied for user 'root'@'localhost'</small>Desccrizione errore e risoluzione {{Tooltip|Errore "Access denied for user 'root'@'localhost"|L'errore si verifica quando MySQL nega l'accesso all'utente <code>root</code>. Cause comuni includono: 1) Autenticazione tramite <code>auth_socket</code>, 2) Password errata, 3) Privilegi insufficienti. Soluzione: Accedi con <code>sudo mysql</code>, cambia il metodo di autenticazione con <code>ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'nuova_password';</code>, oppure resetta la password avviando MySQL in modalità sicura (<code>mysqld_safe --skip-grant-tables</code>). Verifica sempre i privilegi e riavvia il servizio MySQL.}} | ||
Line 935: | Line 982: | ||
parallels@ubuntu-linux-22-04-02-desktop:'''~$ sudo mv /var/www/html/mediawiki /var/www/html/mediawiki_old''' sudo mv mediawiki-1.43.0 /var/www/html/mediawiki [sudo] password for parallels: ---- | parallels@ubuntu-linux-22-04-02-desktop:'''~$ sudo mv /var/www/html/mediawiki /var/www/html/mediawiki_old''' sudo mv mediawiki-1.43.0 /var/www/html/mediawiki [sudo] password for parallels: ---- | ||
#parallels@ubuntu-linux-22-04-02-desktop:'''~$ sudo chown -R www-data:www-data /var/www/html/mediawiki''' sudo chmod -R 755 /var/www/html/mediawiki ---- | |||
#parallels@ubuntu-linux-22-04-02-desktop:'''~$ mysql -u root -p''' Enter password: '''ERROR 1698 (28000)''': Access denied for user 'root'@'localhost' ---- | |||
#parallels@ubuntu-linux-22-04-02-desktop:'''~$ sudo mysql''' Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 9 Server version: 8.0.40-0ubuntu0.22.04.1 (Ubuntu) Copyright (c) 2000, 2024, Oracle and/or its affiliates. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. ---- | |||
#parallels@ubuntu-linux-22-04-02-desktop:'''~$ sudo mysql''' Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 10 Server version: 8.0.40-0ubuntu0.22.04.1 (Ubuntu) Copyright (c) 2000, 2024, Oracle and/or its affiliates. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'Rosa!01011925'; Query OK, 0 rows affected (0.27 sec) mysql> FLUSH PRIVILEGES; Query OK, 0 rows affected (0.04 sec) mysql> EXIT; ---- | |||
#parallels@ubuntu-linux-22-04-02-desktop:'''~$ mysql -u root -p''' Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 11 Server version: 8.0.40-0ubuntu0.22.04.1 (Ubuntu) Copyright (c) 2000, 2024, Oracle and/or its affiliates. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> Exit | |||
#parallels@ubuntu-linux-22-04-02-desktop:'''~$ cd /var/www/html/mediawiki''' ---- | |||
#parallels@ubuntu-linux-22-04-02-desktop:'''/var/www/html/mediawiki$ ls -l''' ---- | |||
<small> | |||
<blockquote> | <blockquote> | ||
* total 2184 | *total 2184 | ||
* -rwxr-xr-x 1 www-data www-data 1511 Dec 5 16:41 api.php | *-rwxr-xr-x 1 www-data www-data 1511 Dec 5 16:41 api.php | ||
* -rwxr-xr-x 1 www-data www-data 352410 Dec 5 16:42 autoload.php | *-rwxr-xr-x 1 www-data www-data 352410 Dec 5 16:42 autoload.php | ||
* drwxr-xr-x 2 www-data www-data 4096 Jan 5 15:58 cache | *drwxr-xr-x 2 www-data www-data 4096 Jan 5 15:58 cache | ||
* -rwxr-xr-x 1 www-data www-data 168 Dec 5 16:41 CODE_OF_CONDUCT.md | *-rwxr-xr-x 1 www-data www-data 168 Dec 5 16:41 CODE_OF_CONDUCT.md | ||
* -rwxr-xr-x 1 www-data www-data 8358 Dec 5 16:42 composer.json | *-rwxr-xr-x 1 www-data www-data 8358 Dec 5 16:42 composer.json | ||
* -rwxr-xr-x 1 www-data www-data 125 Dec 5 16:41 composer.local.json-sample | * -rwxr-xr-x 1 www-data www-data 125 Dec 5 16:41 composer.local.json-sample | ||
* -rwxr-xr-x 1 www-data www-data 19421 Dec 5 16:41 COPYING | *-rwxr-xr-x 1 www-data www-data 19421 Dec 5 16:41 COPYING | ||
* -rwxr-xr-x 1 www-data www-data 15957 Dec 5 16:42 CREDITS | *-rwxr-xr-x 1 www-data www-data 15957 Dec 5 16:42 CREDITS | ||
* -rwxr-xr-x 1 www-data www-data 1762 Dec 20 19:45 docker-compose.yml drwxr-xr-x 5 www-data www-data 4096 Jan 5 15:58 docs | *-rwxr-xr-x 1 www-data www-data 1762 Dec 20 19:45 docker-compose.yml drwxr-xr-x 5 www-data www-data 4096 Jan 5 15:58 docs | ||
* drwxr-xr-x 35 www-data www-data 4096 Jan 5 15:58 extensions | *drwxr-xr-x 35 www-data www-data 4096 Jan 5 15:58 extensions | ||
* -rwxr-xr-x 1 www-data www-data 95 Dec 5 16:41 FAQ -rwxr-xr | * -rwxr-xr-x 1 www-data www-data 95 Dec 5 16:41 FAQ -rwxr-xr | ||
* -x 1 www-data www-data 1639880 Dec 5 16:42 HISTORY | *-x 1 www-data www-data 1639880 Dec 5 16:42 HISTORY | ||
* drwxr-xr-x 2 www-data www-data 4096 Jan 5 15:58 images | * drwxr-xr-x 2 www-data www-data 4096 Jan 5 15:58 images | ||
* -rwxr-xr-x 1 www-data www-data 2221 Dec 5 16:41 img_auth.php | *-rwxr-xr-x 1 www-data www-data 2221 Dec 5 16:41 img_auth.php | ||
* drwxr-xr-x 96 www-data www-data 4096 Jan 5 15:58 includes | *drwxr-xr-x 96 www-data www-data 4096 Jan 5 15:58 includes | ||
* -rwxr-xr-x 1 www-data www-data 2213 Dec 5 16:41 index.php | *-rwxr-xr-x 1 www-data www-data 2213 Dec 5 16:41 index.php | ||
* -rwxr-xr-x 1 www-data www-data 3685 Dec 5 16:42 INSTALL | *-rwxr-xr-x 1 www-data www-data 3685 Dec 5 16:42 INSTALL | ||
* -rwxr-xr-x 1 www-data www-data 1302 Dec 5 16:41 jsdoc.json | * -rwxr-xr-x 1 www-data www-data 1302 Dec 5 16:41 jsdoc.json | ||
* drwxr-xr-x 5 www-data www-data 4096 Jan 5 15:58 languages | * drwxr-xr-x 5 www-data www-data 4096 Jan 5 15:58 languages | ||
* -rwxr-xr-x 1 www-data www-data 1464 Dec 5 16:41 load.php | *-rwxr-xr-x 1 www-data www-data 1464 Dec 5 16:41 load.php | ||
* drwxr-xr-x 11 www-data www-data 12288 Jan 5 15:58 maintenance | * drwxr-xr-x 11 www-data www-data 12288 Jan 5 15:58 maintenance | ||
* drwxr-xr-x 4 www-data www-data 4096 Jan 5 15:58 mw-config | * drwxr-xr-x 4 www-data www-data 4096 Jan 5 15:58 mw-config | ||
* -rwxr-xr-x 1 www-data www-data 1761 Dec 5 16:41 opensearch_desc.php | * -rwxr-xr-x 1 www-data www-data 1761 Dec 5 16:41 opensearch_desc.php | ||
* -rwxr-xr-x 1 www-data www-data 1643 Dec 5 16:41 README.md | *-rwxr-xr-x 1 www-data www-data 1643 Dec 5 16:41 README.md | ||
* -rwxr-xr-x 1 www-data www-data 54673 Dec 20 19:45 RELEASE-NOTES-1.43 | *-rwxr-xr-x 1 www-data www-data 54673 Dec 20 19:45 RELEASE-NOTES-1.43 | ||
* drwxr-xr-x 5 www-data www-data 4096 Jan 5 15:58 resources | *drwxr-xr-x 5 www-data www-data 4096 Jan 5 15:58 resources | ||
* -rwxr-xr-x 1 www-data www-data 1239 Dec 5 16:41 rest.php | *-rwxr-xr-x 1 www-data www-data 1239 Dec 5 16:41 rest.php | ||
* -rwxr-xr-x 1 www-data www-data 199 Dec 5 16:41 SECURITY | * -rwxr-xr-x 1 www-data www-data 199 Dec 5 16:41 SECURITY | ||
* drwxr-xr-x 6 www-data www-data 4096 Jan 5 15:58 skins | *drwxr-xr-x 6 www-data www-data 4096 Jan 5 15:58 skins | ||
* drwxr-xr-x 11 www-data www-data 4096 Jan 5 15:58 tests | * drwxr-xr-x 11 www-data www-data 4096 Jan 5 15:58 tests | ||
* -rwxr-xr-x 1 www-data www-data 1659 Dec 5 16:41 thumb_handler.php | * -rwxr-xr-x 1 www-data www-data 1659 Dec 5 16:41 thumb_handler.php | ||
* -rwxr-xr-x 1 www-data www-data 1357 Dec 5 16:41 thumb.php | *-rwxr-xr-x 1 www-data www-data 1357 Dec 5 16:41 thumb.php | ||
* -rwxr-xr-x 1 www-data www-data 4394 Dec 5 16:41 UPGRADE | *-rwxr-xr-x 1 www-data www-data 4394 Dec 5 16:41 UPGRADE | ||
* drwxr-xr-x 21 www-data www-data 4096 Jan 5 15:58 vendor ---- | *drwxr-xr-x 21 www-data www-data 4096 Jan 5 15:58 vendor ---- | ||
<br /> | |||
<br /> | |||
</small> | |||
A questo punto hai già scaricato e configurato i file di MediaWiki nella directory <code>/var/www/html/mediawiki</code>. Ora, il prossimo passaggio è completare l'installazione e configurazione di MediaWiki tramite il browser | |||
== 1. Verifica che Apache e MySQL siano in esecuzione'''e''' == | |||
Assicurati che il server Apache e il database MySQL siano attivi | |||
lels@ubuntu-linux-22-04-02-desktop:/var/www/html/mediawiki$ sudo systemctl status apache2 | |||
sudo systemctl status mysql | |||
[sudo] password for parallels: | |||
● apache2.service - The Apache HTTP Server | |||
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled) | |||
Active: active (running) since Sun 2025-01-05 11:48:55 CET; 5h 37min ago | |||
Docs: <nowiki>https://httpd.apache.org/docs/2.4/</nowiki> | |||
Process: 184294 ExecStart=/usr/sbin/apachectl start (code=exited, status=0/SUCCESS) | |||
Main PID: 184298 (apache2) | |||
Tasks: 6 (limit: 2258) | |||
Memory: 12.1M | |||
CPU: 837ms | |||
CGroup: /system.slice/apache2.service | |||
├─184298 /usr/sbin/apache2 -k start | |||
├─184299 /usr/sbin/apache2 -k start | |||
├─184300 /usr/sbin/apache2 -k start | |||
├─184301 /usr/sbin/apache2 -k start | |||
├─184302 /usr/sbin/apache2 -k start | |||
└─184303 /usr/sbin/apache2 -k start | |||
Jan 05 11:48:55 ubuntu-linux-22-04-02-desktop systemd[1]: Starting The Apache HTTP Server... | |||
Jan 05 11:48:55 ubuntu-linux-22-04-02-desktop systemd[1]: Started The Apache HTTP Server. | |||
● mysql.service - MySQL Community Server | |||
Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled) | |||
Active: active (running) since Sun 2025-01-05 11:15:31 CET; 6h ago | |||
Process: 178773 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=0/SUCCESS) | |||
Main PID: 178781 (mysqld) | |||
Status: "Server is operational" | |||
Tasks: 38 (limit: 2258) | |||
Memory: 366.2M | |||
CPU: 1min 49.336s | |||
CGroup: /system.slice/mysql.service | |||
└─178781 /usr/sbin/mysqld | |||
Jan 05 11:15:30 ubuntu-linux-22-04-02-desktop systemd[1]: Starting MySQL Community Server... | |||
Jan 05 11:15:31 ubuntu-linux-22-04-02-desktop systemd[1]: Started MySQL Community Server. | |||
=== '''2. Apri il browser e accedi all'installazione''' === | |||
Vai al browser e digita l'indirizzo: | |||
<nowiki>:</nowiki> | |||
==Installazione e Configurazione del 'Localsetting.php'== | |||
==Cosa Fare Ora== | |||
Se devi modificare il file di configurazione di MediaWiki, il percorso corretto è: | |||
<code>/var/www/html/mediawiki/LocalSettings.php</code> | |||
Puoi aprirlo per modificarlo con un editor di testo, ad esempio: | |||
===Usando nano=== | |||
<code>sudo nano /var/www/html/mediawiki/LocalSettings.php</code> | |||
===Usando vim=== | |||
<code>sudo vim /var/www/html/mediawiki/LocalSettings.php</code> | |||
===Per verificare rapidamente il contenuto=== | |||
<code>cat /var/www/html/mediawiki/LocalSettings.php</code> | |||
==Nota== | |||
*Assicurati di avere i permessi necessari per modificare il file. Se non sei sicuro, utilizza <code>sudo</code> come mostrato sopra. | |||
*Prima di apportare modifiche, è consigliabile eseguire un backup del file: | |||
<code>sudo cp /var/www/html/mediawiki/LocalSettings.php /var/www/html/mediawiki/LocalSettings.php.bak</code> | |||
Se hai bisogno di aiuto per modificare o configurare il file, fammi sapere! | |||
== Per iniziare a settare il Mediawiki == | |||
Per entrare nella directory del MediaWiki in Ubuntu: parallels@ubuntu-linux-22-04-02-desktop:'''~$ cd /var/www/html/mediawiki''' | |||
Per modifica necessita di un editor: parallels@ubuntu-linux-22-04-02-desktop:'''/var/www/html/mediawiki$ sudo nano /var/www/html/mediawiki/LocalSettings.php''' | |||
[sudo] password for parallels: Rosa01011925 | |||
<?php | |||
<nowiki>#</nowiki> This file was automatically generated by the MediaWiki 1.43.0 installer. | |||
<nowiki>#</nowiki> Manual changes should be tracked in case you need to recreate them. | |||
<nowiki>#</nowiki> ============================================================================= | |||
<nowiki>#</nowiki> **PROTEZIONE CONTRO ACCESSI NON AUTORIZZATI** | |||
<nowiki>#</nowiki> ============================================================================= | |||
if ( !defined( 'MEDIAWIKI' ) ) { | |||
exit; | |||
} | |||
<nowiki>#</nowiki> ============================================================================= | |||
<nowiki>#</nowiki> **CONFIGURAZIONE DEL SITO** | |||
<nowiki>#</nowiki> ============================================================================= | |||
$wgSitename = "Masticationpedia"; | |||
<nowiki>#</nowiki> URL base del sito e directory degli script | |||
$wgScriptPath = ""; | |||
$wgServer = "<nowiki>http://10.211.55.3</nowiki>"; | |||
$wgResourceBasePath = $wgScriptPath; | |||
<nowiki>#</nowiki> Configurazione del logo | |||
$wgLogos = [ | |||
'1x' => "$wgResourceBasePath/resources/assets/change-your-logo.svg", | |||
'icon' => "$wgResourceBasePath/resources/assets/change-your-logo-icon.svg", | |||
]; | |||
<nowiki>#</nowiki> ============================================================================= | |||
<nowiki>#</nowiki> **CONFIGURAZIONE EMAIL** | |||
<nowiki>#</nowiki> ============================================================================= | |||
$wgEnableEmail = true; | |||
$wgEnableUserEmail = true; # UPO (User Preference Option) | |||
$wgEmergencyContact = ""; # Email di emergenza | |||
$wgPasswordSender = ""; # Mittente delle email di sistema | |||
<nowiki>#</nowiki> Notifiche email | |||
$wgEnotifUserTalk = false; # Notifiche sulle discussioni utente | |||
$wgEnotifWatchlist = false; # Notifiche sulla watchlist | |||
$wgEmailAuthentication = true; # Richiesta autenticazione per email | |||
<nowiki>#</nowiki> ============================================================================= | |||
<nowiki>#</nowiki> **CONFIGURAZIONE DATABASE** | |||
<nowiki>#</nowiki> ============================================================================= | |||
$wgDBtype = "mysql"; # Tipo di database | |||
$wgDBserver = "localhost"; # Server database | |||
$wgDBname = "mediawiki_db"; # Nome del database | |||
$wgDBuser = "root"; # Utente del database | |||
$wgDBpassword = "Rosa!01011925"; # Password del database | |||
<nowiki>#</nowiki> Opzioni specifiche per MySQL | |||
$wgDBprefix = "Wiki"; # Prefisso per le tabelle | |||
$wgDBssl = false; # SSL disabilitato per il database | |||
$wgDBTableOptions = "ENGINE=InnoDB, DEFAULT CHARSET=binary"; # Opzioni per le tabelle | |||
<nowiki>#</nowiki> Tabelle condivise | |||
$wgSharedTables[] = "actor"; | |||
<nowiki>#</nowiki> ============================================================================= | |||
<nowiki>#</nowiki> **PRESTAZIONI E CACHE** | |||
<nowiki>#</nowiki> ============================================================================= | |||
$wgMainCacheType = CACHE_NONE; # Nessuna cache abilitata | |||
$wgMemCachedServers = []; # Nessun server di memorizzazione configurato | |||
<nowiki>#</nowiki> ============================================================================= | |||
<nowiki>#</nowiki> **CONFIGURAZIONE DEI FILE E RISORSE** | |||
<nowiki>#</nowiki> ============================================================================= | |||
$wgEnableUploads = false; # Caricamenti disabilitati | |||
<nowiki>#</nowiki>$wgUseImageMagick = true; # Abilitare ImageMagick (commentato) | |||
<nowiki>#</nowiki>$wgImageMagickConvertCommand = "/usr/bin/convert"; # Percorso di ImageMagick | |||
<nowiki>#</nowiki> InstantCommons | |||
$wgUseInstantCommons = false; # Disabilita utilizzo immagini da Commons | |||
<nowiki>#</nowiki> ============================================================================= | |||
<nowiki>#</nowiki> **LINGUA E FUSO ORARIO** | |||
<nowiki>#</nowiki> ============================================================================= | |||
$wgLanguageCode = "it"; # Lingua del sito | |||
$wgLocaltimezone = "Europe/Berlin"; # Fuso orario | |||
<nowiki>#</nowiki> ============================================================================= | |||
<nowiki>#</nowiki> **SICUREZZA E CHIAVI DI CONFIGURAZIONE** | |||
<nowiki>#</nowiki> ============================================================================= | |||
$wgSecretKey = "2157bf3f06ccf1cd0be352687f133e3fe15a7ba6a5f951bcce3ed74d18964259"; # Chiave segreta | |||
$wgAuthenticationTokenVersion = "1"; # Versione del token di autenticazione | |||
<nowiki>#</nowiki> ============================================================================= | |||
<nowiki>#</nowiki> **LICENZE E DIRITTI** | |||
<nowiki>#</nowiki> ============================================================================= | |||
$wgRightsPage = ""; # Pagina Wiki con informazioni sulla licenza | |||
$wgRightsUrl = ""; # URL della licenza | |||
$wgRightsText = ""; # Testo sulla licenza | |||
$wgRightsIcon = ""; # Icona della licenza | |||
<nowiki>#</nowiki> ============================================================================= | |||
<nowiki>#</nowiki> **SKINS (TEMI GRAFICI)** | |||
<nowiki>#</nowiki> ============================================================================= | |||
$wgDefaultSkin = "vector-2022"; # Skin predefinita | |||
<nowiki>#</nowiki> Skin abilitati | |||
wfLoadSkin( 'MinervaNeue' ); | |||
wfLoadSkin( 'MonoBook' ); | |||
wfLoadSkin( 'Timeless' ); | |||
wfLoadSkin( 'Vector' ); | |||
<nowiki>#</nowiki> ============================================================================= | |||
<nowiki>#</nowiki> **ALTRE CONFIGURAZIONI** | |||
<nowiki>#</nowiki> ============================================================================= | |||
<nowiki>#</nowiki> Aggiungere configurazioni personalizzate qui sotto. | |||
<nowiki>#</nowiki> End of automatically generated settings. | |||
<nowiki>#</nowiki> Add more configuration options below. | |||
{{:Score:Ubuntu_Roadmap}} | |||
{{:Score:Ubuntu_Localsetting config}} |
edits