Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
centos:web_c7:phpmyadmin [29.01.2015 21:32. ] – [menügeführte Konfiguration] djangocentos:web_c7:phpmyadmin [22.07.2019 14:43. ] (aktuell) django
Zeile 2: Zeile 2:
 {{:centos:web_c7:phpmyadmin-logo.png?nolink&175 |Bild: phpMyAdmin Logo}} {{:centos:web_c7:phpmyadmin-logo.png?nolink&175 |Bild: phpMyAdmin Logo}}
 \\ \\ \\ \\
-Zur komfortablen Administration unseres [[centos:mysql|mySQL-Datenbankserver unter CentOS 7.x]] greifen wir auf das PHP-Projekt [[http://phpmyadmin.sourceforge.net/|phpMyAdmin]] zurück.+Zur komfortablen Administration unseres [[centos:mariadb|MariaDB-Datenbankserver unter CentOS 7.x]] greifen wir auf das PHP-Projekt [[http://phpmyadmin.sourceforge.net/|phpMyAdmin]] zurück.
  
 ===== Installation ===== ===== Installation =====
Zeile 1572: Zeile 1572:
 | mysql              | | mysql              |
 | opendmarc          | | opendmarc          |
-| opendocman         | 
 | phpmyadmin         | | phpmyadmin         |
 | postfix            | | postfix            |
Zeile 1630: Zeile 1629:
 === Datenbank(tabellen) erstellen === === Datenbank(tabellen) erstellen ===
 Zum Erstellen der benötigten Tabelle greifen wir auf die Datei //**/usr/share/phpMyAdmin/examples/create_tables.sql**// zurück. Diese Musterdatei kopieren wir uns zunächst in das Verzeichnis //**/root/**//. Zum Erstellen der benötigten Tabelle greifen wir auf die Datei //**/usr/share/phpMyAdmin/examples/create_tables.sql**// zurück. Diese Musterdatei kopieren wir uns zunächst in das Verzeichnis //**/root/**//.
-   # cp /usr/share/phpMyAdmin/examples/create_tables.sql /root/create_pmadb_tables.sql+   # cp /usr/share/phpMyAdmin/sql/create_tables.sql /root/create_pmadb_tables.sql
  
 <WRAP round important> \\ Vor dem Start des Scriptes, muss dieses unbedingt noch den lokalen Gegebenheiten nach angepasst werden!</WRAP> <WRAP round important> \\ Vor dem Start des Scriptes, muss dieses unbedingt noch den lokalen Gegebenheiten nach angepasst werden!</WRAP>
Zeile 2329: Zeile 2328:
  
  
 +==== abschließende Konfiguration ====
  
- +Die erstelle Konfigurationsdatei verschieben wir nun in das Konfigurationsverzeichnis //**/etc/phpMyAdmin**// von phpMyAdmin.
- +
- +
-######################################################## +
- +
-{{ :centos:web_c7:pma_19.png?direct&725 |Bild: Bildschirmhardcopy phpMyAdmin Setup}} +
-{{ :centos:web_c7:pma_20.png?direct&725 |Bild: Bildschirmhardcopy phpMyAdmin Setup}} +
-{{ :centos:web_c7:pma_21.png?direct&725 |Bild: Bildschirmhardcopy phpMyAdmin Setup}} +
- +
- +
- +
- +
- +
- +
-===== erweiterte Konfiguration ===== +
- +
- +
- +
- +
-FIXME //do geds weida ...// FIXME +
- +
- +
- +
-<file php config.inc.php><?php +
-/* +
- * Generated configuration file +
- * Generated by: phpMyAdmin 4.3.6 setup script +
- * Date: Thu, 29 Jan 2015 15:51:43 +0100 +
- */ +
- +
-/* Servers configuration */ +
-$i = 0; +
- +
-/* Server: db.dmz.nausch.org [1] */ +
-$i++; +
-$cfg['Servers'][$i]['verbose'] = ''; +
-$cfg['Servers'][$i]['host'] = 'db.dmz.nausch.org'; +
-$cfg['Servers'][$i]['port'] = ''; +
-$cfg['Servers'][$i]['socket'] = ''; +
-$cfg['Servers'][$i]['connect_type'] = 'tcp'; +
-$cfg['Servers'][$i]['auth_type'] = 'cookie'; +
-$cfg['Servers'][$i]['user'] = 'root'; +
-$cfg['Servers'][$i]['password'] = ''; +
-$cfg['Servers'][$i]['AllowRoot'] = false; +
-$cfg['Servers'][$i]['pmadb'] = 'phpmyadmin'; +
-$cfg['Servers'][$i]['controluser'] = 'controluser'; +
-$cfg['Servers'][$i]['controlpass'] = 'controlpassword'; +
-$cfg['Servers'][$i]['bookmarktable'] = 'pma__bookmark'; +
-$cfg['Servers'][$i]['relation'] = 'pma__relation'; +
-$cfg['Servers'][$i]['userconfig'] = 'pma__userconfig'; +
-$cfg['Servers'][$i]['users'] = 'pma__users'; +
-$cfg['Servers'][$i]['usergroups'] = 'pma__usergroups'; +
-$cfg['Servers'][$i]['navigationhiding'] = 'pma__navigationhiding'; +
-$cfg['Servers'][$i]['table_info'] = 'pma__table_info'; +
-$cfg['Servers'][$i]['column_info'] = 'pma__column_info'; +
-$cfg['Servers'][$i]['history'] = 'pma__history'; +
-$cfg['Servers'][$i]['recent'] = 'pma__recent'; +
-$cfg['Servers'][$i]['favorite'] = 'pma__favorite'; +
-$cfg['Servers'][$i]['table_uiprefs'] = 'pma__table_uiprefs'; +
-$cfg['Servers'][$i]['tracking'] = 'pma__tracking'; +
-$cfg['Servers'][$i]['table_coords'] = 'pma__table_coords'; +
-$cfg['Servers'][$i]['pdf_pages'] = 'pma__pdf_pages'; +
-$cfg['Servers'][$i]['savedsearches'] = 'pma__savedsearches'; +
-$cfg['Servers'][$i]['central_columns'] = 'pma__central_columns'; +
-$cfg['Servers'][$i]['tracking_version_auto_create'] = true; +
-$cfg['Servers'][$i]['ssl'] = true; +
- +
-/* End of servers configuration */ +
- +
-$cfg['blowfish_secret'] = '54ac43fea9b587.19721214'; +
-$cfg['UploadDir'] = ''; +
-$cfg['SaveDir'] = ''; +
-$cfg['ForceSSL'] = true; +
-$cfg['DefaultLang'] = 'de'; +
-$cfg['ServerDefault'] = 1; +
-?> +
-</file> +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
-===== abschließende Konfiguration ===== +
- +
-Diese Datei verschieben wir nun in das Konfigurationsverzeichnis //**/etc/phpMyAdmin**// von phpMyAdmin.+
    # mv /var/lib/phpMyAdmin/config/config.inc.php /etc/phpMyAdmin -f    # mv /var/lib/phpMyAdmin/config/config.inc.php /etc/phpMyAdmin -f
  
Zeile 2430: Zeile 2339:
    # rmdir /usr/share/phpMyAdmin/setup/    # rmdir /usr/share/phpMyAdmin/setup/
  
-Nun können wir die Applikation **phpMyAdmin** mit dem Browser unserer Wahl starten+Für die **Import / Export** Funktion benötigen wir noch die RPM-Pakete **recode** und **php-recode**; diese installieren wir nun unter zuhilfenahme von **yum**. 
-   $ firefox http://phpmyadmin.nausch.org/setup/+   # yum install recode php-recode -y
  
-{{ :centos:web_c7:pma_018.png?direct&525 |BildBildschirmhardcopy phpMyAdmin Login Seite}}+Haben wir eine mySQL-Datenbank, wie sie z.B. unter CentOS 6 noch verwendet wurde, kann es beim Aufruf der Webseite http://phpmyadmin.nausch.org zu folgender Fehlermeldung kommen.
  
-Nach erfolgter Anmeldung befinden wir uns im Hauptadministrationsfenster von **phpMyAdmin**. +{{ :centos:web_c7:pma_20.png?direct&725 |Bild: Bildschirmhardcopy phpMyAdmin Setup}}
- +
-{{ :centos:web_c7:pma_020.png?direct&666 |Bild: Bildschirmhardcopy phpMyAdmin Seite}}+
  
 <WRAP center round tip 80%> <WRAP center round tip 80%>
 **Hinweis:** **Hinweis:**
- 
 Fehlermeldung **phpMyAdmin - Fehler** Fehlermeldung **phpMyAdmin - Fehler**
 //Sie sollten auf MySQL 5.5.0 oder neuer aktualisieren.// //Sie sollten auf MySQL 5.5.0 oder neuer aktualisieren.//
  
 +Damit wir unsere alte Datenbank mit **phpMyAdmin** administrieren können, ändern wir wie nachfolgend aufgezeigt, die Datei **common.inc.php**.
  
    # vim /usr/share/phpMyAdmin/libraries/common.inc.php    # vim /usr/share/phpMyAdmin/libraries/common.inc.php
Zeile 2459: Zeile 2366:
 </WRAP> </WRAP>
  
-   # yum install php-recode +===== Programmstart/-aufruf ===== 
- +Nun können wir die Applikation **phpMyAdmin** mit dem Browser unserer Wahl starten. 
 +   $ firefox http://phpmyadmin.nausch.org/setup/
  
 +{{ :centos:web_c7:pma_19.png?direct&725 |Bild: Bildschirmhardcopy phpMyAdmin Login Seite}}
  
 +Nach erfolgter Anmeldung befinden wir uns im Hauptadministrationsfenster von **phpMyAdmin**.
  
 +{{ :centos:web_c7:pma_020.png?direct&725 |Bild: Bildschirmhardcopy phpMyAdmin Seite}}
  
 +====== Links ======
 +  * **[[centos:web_c7:start| ⇐ Zurück zu Kapitel "Webserverinstallation unter CentOS 7.x"]]**
 +  * **[[wiki:start|Zurück zu Projekte und Themenkapitel]]**
 +  * **[[http://dokuwiki.nausch.org/doku.php/|Zurück zur Startseite]]**
  
  
  • centos/web_c7/phpmyadmin.1422567136.txt.gz
  • Zuletzt geändert: 29.01.2015 21:32.
  • von django