wordpress_migration
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| wordpress_migration [2016/11/02 23:43] – xenadmin | wordpress_migration [2016/11/09 19:53] (aktuell) – xenadmin | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| ====== Wordpress Migration www.meinekleinefarm.net ====== | ====== Wordpress Migration www.meinekleinefarm.net ====== | ||
| - | == Alter Server == | + | === Alter Server |
| <code bash> | <code bash> | ||
| mysqldump -h localhost -u root -p meinekleinefarmwordpress > wp_meinekleinefarm.sql | mysqldump -h localhost -u root -p meinekleinefarmwordpress > wp_meinekleinefarm.sql | ||
| Zeile 7: | Zeile 7: | ||
| tar -czvf - * | ssh -p 22 root@192.168.1.2 'tar -xhzvf - -C / | tar -czvf - * | ssh -p 22 root@192.168.1.2 'tar -xhzvf - -C / | ||
| </ | </ | ||
| - | == Neuer Server == | + | === Neuer Server |
| <code bash> | <code bash> | ||
| chown www-data: | chown www-data: | ||
| Zeile 22: | Zeile 22: | ||
| nano / | nano / | ||
| </ | </ | ||
| - | <file php wp-config.php> | + | <hidden wp-config.php> |
| - | </ | + | <?php |
| + | define(' | ||
| + | |||
| + | define(' | ||
| + | define(' | ||
| + | define(' | ||
| + | define(' | ||
| + | define(' | ||
| + | define(' | ||
| + | |||
| + | define(' | ||
| + | define(' | ||
| + | define(' | ||
| + | define(' | ||
| + | define(' | ||
| + | define(' | ||
| + | define(' | ||
| + | define(' | ||
| + | </file></ | ||
| <code bash> | <code bash> | ||
| nano / | nano / | ||
| </ | </ | ||
| - | <file apache www.meinekleinefarm.net.conf> | + | <hidden %%www.meinekleinefarm.net.conf%%> |
| - | </ | + | < |
| + | ServerName meinekleinefarm.net | ||
| + | ServerAlias www.meinekleinefarm.net | ||
| + | Redirect permanent / https:// | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | < | ||
| + | ServerAdmin webmaster@meinekleinefarm.net | ||
| + | ServerName meinekleinefarm.net | ||
| + | ServerAlias www.meinekleinefarm.net | ||
| + | |||
| + | DocumentRoot / | ||
| + | |||
| + | < | ||
| + | AllowOverride All | ||
| + | </ | ||
| + | |||
| + | ErrorLog ${APACHE_LOG_DIR}/ | ||
| + | CustomLog ${APACHE_LOG_DIR}/ | ||
| + | |||
| + | SSLEngine on | ||
| + | SSLCertificateFile | ||
| + | SSLCertificateKeyFile | ||
| + | |||
| + | < | ||
| + | SSLOptions +StdEnvVars | ||
| + | </ | ||
| + | < | ||
| + | SSLOptions +StdEnvVars | ||
| + | </ | ||
| + | |||
| + | BrowserMatch "MSIE [2-6]" \ | ||
| + | nokeepalive ssl-unclean-shutdown \ | ||
| + | downgrade-1.0 force-response-1.0 | ||
| + | BrowserMatch "MSIE [17-9]" | ||
| + | </ | ||
| + | </ | ||
| + | </file></ | ||
| <code bash> | <code bash> | ||
| service apache2 reload | service apache2 reload | ||
| </ | </ | ||
| - | + | In die Administration einloggen, und das Setting für " | |
| - | FIXME | + | |
wordpress_migration.1478130211.txt.gz · Zuletzt geändert: von xenadmin
