FROM DEVELOPMENT TO PRODUCTION AN EVIL PLAN IN WORDPRESS

Documenti analoghi
Instant WordPress (4.4.2) is a complete standalone, portable WordPress development environment (NB It will even run from a USB key!

Downloading and Installing Software Socio TIS

Configurazione avanzata di XAMPP

Quando mi collego ad alcuni servizi hosting ricevo un messaggio relativo al certificato di protezione del sito SSL, come mai?

TecnologieWeb LABORATORIO a.a. 2015/2016

Introduzione a XAMPP. Andrea Atzeni (shocked@polito.it) Marco Vallini (marco.vallini@polito.it) Politecnico di Torino Dip. Automatica e Informatica

Introduzione a XAMPP. Andrea Atzeni (shocked@polito.it) Marco Vallini (marco.vallini@polito.it) Politecnico di Torino Dip. Automatica e Informatica

LiveBox Manual WINDOWS PHONE APPLICATION V (465)

Bozza Guida ufficiale vs 1.0

Compatibilità del Portale Piaggio con Internet Explorer 10 e 11. Internet Explorer 10

Resources and Tools for Bibliographic Research. Search & Find Using Library Catalogues

ISTRUZIONI INSTALLAZIONE PMANGO

Laboratorio di Amministrazione di Sistema (CT0157) parte A : domande a risposta multipla

Installazione LAMP. Installare un server lamp su Linux Ubuntu. Per installare un server LAMP in Ubuntu come prima cosa apriamo il terminale:

I CAMBIAMENTI PROTOTESTO-METATESTO, UN MODELLO CON ESEMPI BASATI SULLA TRADUZIONE DELLA BIBBIA (ITALIAN EDITION) BY BRUNO OSIMO

LA SACRA BIBBIA: OSSIA L'ANTICO E IL NUOVO TESTAMENTO VERSIONE RIVEDUTA BY GIOVANNI LUZZI

LA SACRA BIBBIA: OSSIA L'ANTICO E IL NUOVO TESTAMENTO VERSIONE RIVEDUTA BY GIOVANNI LUZZI

sdforexcontest2009 Tool

IL GIOVANE HOLDEN FRANNY E ZOOEY NOVE RACCONTI ALZATE LARCHITRAVE CARPENTIERI E SEYMOUR INTRODUZIONE BY JD SALINGER

Configurazione manuale di ASM in IIS 7

INSTALLAZIONE DI JOOMLA! Guida alla installazione di Joomla!

Modulo 6 Proviamo Wordpress gratuitamente

LA SACRA BIBBIA: OSSIA L'ANTICO E IL NUOVO TESTAMENTO VERSIONE RIVEDUTA BY GIOVANNI LUZZI

Installare Apache 2.2

Posta elettronica per gli studenti for the students

ISPConfig: configurazione di un sito

RELAZIONE SCRITTA RELATIVA AL PROGRAMMA DI GESTIONE TABELLA ATTORI

Guida rapida di installazione

Clicca sulle immagini di preview qui sotto per aprire e visualizzare alcuni esempi di presentazioni dinamiche create con Focusky:

Wordpress. Acquistare un sito web. Colleghiamoci con il sito

Aggiornamento dispositivo di firma digitale

6. Predisposizione di un Web server di sviluppo

RELAZIONE SCRITTA RELATIVA AL PROGRAMMA DI GESTIONE CISALFA

Introduzione ad EasyPHP

XAMPP - Cos'è e installazione in locale

UNIVERSITÀ DEGLI STUDI DI TORINO

LA SACRA BIBBIA: OSSIA L'ANTICO E IL NUOVO TESTAMENTO VERSIONE RIVEDUTA BY GIOVANNI LUZZI

Laboratorio di Progettazione Web

AVERE 30 ANNI E VIVERE CON LA MAMMA BIBLIOTECA BIETTI ITALIAN EDITION

CCTV DIVISION GUIDA RAPIDA PER LA CONFIGURAZIONE DELL IP STATICO SU SISTEMI TVCC QUICK GUIDE FOR STATIC IP CONFIGURATION ABOUT CCTV SYSTEM

Il server web: Apache, IIS e PWS

Introduzione a XAMPP. Rio Chierego ISIS Guido Tassinari Articolazione: INFORMATICA

WELCOME. Go to the link of the official University of Palermo web site Click on the box on the right side Login unico

Individuare Web Shell nocive con PHP Shell

FASE 1: Definizione del tema, degli obiettivi e del target con il cliente... (da cui dipendono le scelte successive!)

Associazione Culturale VERDEBINARIO

UNIVERSITÀ DEGLI STUDI DI TORINO

Fiori di campo. Conoscere, riconoscere e osservare tutte le specie di fiori selvatici più note

Installazione interfaccia e software di controllo mediante PC Installing the PC communication interface and control software

a creare una pagina per consentire la gestione di un carrello della spesa online Pacchetti con Web server, motore php e dbms server

Installazione di NoCat

Note sugli esempi php e struttura del sito

Scuola M edia di SOTTOM ONTAGNA

Guida all avviamento di Bomgar B300v

100 consigli per vivere bene (Italian Edition)

Benvenuti. Luca Biffi, Direttore Tecnico di Achab Achab techjam Archive Server for MDaemon

XAMPP Installazione e configurazione

Opss. Vedi un po tu anche il sito linux.com è fatto con Joomla

Come trasferire il vostro sito in Joomla da locale in remoto?

Get Instant Access to ebook D Lgs PDF at Our Huge Library D LGS PDF. ==> Download: D LGS PDF

Hosting Applicativo Upgrade Web Client

Configurare un server LAMP con Ubuntu

Marketing non Convenzionale: Viral, Guerrilla e prospettive future (Italian Edition)

User Guide Guglielmo SmartClient

Versione 1.0 Data 25/06/2014. Commenti Dichiarazione di copyright. Abstract Questo documento spiega come installare MOVIO in locale.

LA SACRA BIBBIA: OSSIA L'ANTICO E IL NUOVO TESTAMENTO VERSIONE RIVEDUTA BY GIOVANNI LUZZI

LA SACRA BIBBIA: OSSIA L'ANTICO E IL NUOVO TESTAMENTO VERSIONE RIVEDUTA BY GIOVANNI LUZZI

Guida all installazione rapida

SHAREPOINT CONNECTOR PLUG-IN - short guide-

Introduzione a XAMPP

How to use the WPA2 encrypted connection

CCTV DIVISION. Guida Alla Lettura del Numero Seriale, Codice Prodotto, Versione Firmware, Versione Software, Codice Libretto

LE MACRO DI EXCEL PER TUTTE PDF

INSTALLARE PALLADIO USB DATA CABLE IN WINDOWS XP/ME/2000/98

(1) Network Camera

Introduzione Kerberos. Orazio Battaglia

Hosting Applicativo Installazione Web Client

Argomenti Percorso 7 Apache HTTP

Portale Materiali Grafiche Tamburini. Grafiche Tamburini Materials Portal

Se c'è un problema con la configurazione di PHP, il risultato del comando darà alcuni consigli su cosa sistemare e su come farlo.

SVILUPPO DEL BLOG Autori: Ilari Michele, Cimini Oscar, Zaleski Dawid

Ansia e Attacchi di Panico - Breve Corso di Auto- Terapia per Risolvere il Problema (Italian Edition)

Un client su arduino invia i dati acquisiti ad un database

REGISTRATION GUIDE TO RESHELL SOFTWARE

LETTERA D INSTALLAZIONE DELLA PROCEDURA SERVIZI SOCIALI

Insegna eco a muro. Production time: 2 to 6 working days. Tempi di produzione: da 2 a 6 giorni lavorativi AREA PER LA GRAFICA AREA FOR GRAPHICS

APP INVENTOR 2 CON DATABASE MYSQL (ITALIAN EDITION) BY ANTONIO TACCETTI

Laboratorio Progettazione Web PHP e MySQL. Andrea Marchetti IIT-CNR 2016/2017

Italian 102 Daily Syllabus

Completamento installazione

PG5 Starter Training Applicazione File System Daniel Ernst EN Stefano Peracchi IT

Introduzione a phpmyadmin

Corso GNU/Linux - Lezione 6. Davide Giunchi - davidegiunchi@libero.it

PDF Icon. PDF Icon. PDF Icon. PDF Icon. PDF Icon. PDF Icon FOOTER

Accedere ad ASM in modo sicuro via HTTPS

RELAZIONE RELATIVA ALLA GESTIONE DEL SITO DI E-COMMERCE

CONFIGURAZIONE XAMPP + SSL (HTTPS)

MySQL Controllare gli accessi alla base di dati A cura di Silvio Bonechi per

Transcript:

FROM DEVELOPMENT TO PRODUCTION AN EVIL PLAN IN WORDPRESS giorgio.beggiora@artigianidelweb.com

THESE SLIDES before lunch didn t exist

WORDPRESS Generic requirements: PHP MySQL or MariaDB Apache

XAMPP www.apachefriends.org

INSTALL XAMPP Download portable version Unzip in root (example: D:\xampp) Run setup_xampp.bat every time you move it Launch with xampp-control.exe Note: by default, Skype uses the 80 and 443 ports creating a conflict with Apache, so you have to disable this Skype feature: Tools > Options > Advanced > Connection

BROWSER Dal proprio computer: http://localhost http://127.0.0.1 http://192.168.0.14 (esempio) http://miosito.it (se il file host è configurato) Da altri dispositivi nella stessa rete: http://192.168.0.14 (esempio) http://miosito.it (se il file host è configurato) Per conoscere il proprio IP su Windows, dal prompt dei comandi scrivere: ipconfig

VIRTUAL HOST D:\xampp\apache\conf\extra\httpd-vhosts.conf ## This code is for one site, but you can have multiple sites, ## just copy, paste and change values <VirtualHost *:80> DocumentRoot "D:/xampp/htdocs" ServerName miosito.it ## windows 403 fix <Directory /> AllowOverride none Require all granted </Directory> </VirtualHost>

FILE HOST Windows Aprire il blocco note come amministratore Inserire la password di amministratore e fare click su "Consenti" Aprire il file hosts (non ha estensione) localizzato in C:\Windows\System32\drivers\etc\ Aggiungere una riga con indirizzo IP e domini corrispondenti e poi salvare. 127.0.0.1 miosito.it www.miosito.it Altri sistemi https://support.serverplan.com/guide/61/0/come-visualizzare-il-sito-prima-delpuntamento-dns

LOCALE 4EVER? Valutate di sviluppare in produzione se: il vostro computer vi chiede un Gatorade state scrivendo codice PHP custom usate plugin vecchi o con funzioni particolari il server è vecchio o ha una configurazione particolare

SVILUPPARE IN PRODUZIONE?? #eresia Volevo dire: nel server di produzione. Per evitare che il sito sia visibile da chiunque possono essere usati alcuni accorgimenti, come: DNS + file host (consigliato) https://support.serverplan.com/guide/61/0/come-visualizzare-i l-sito-prima-del-puntamento-dns HTTP authentication WP plugin Maintenance (o simile) https://it.wordpress.org/plugins/maintenance/

INSTALL WP 1/2 Empty the D:\xampp\htdocs\ folder Download and extract wp in D:\xampp\htdocs\ so the wp-config.php file s path will be D:\xampp\htdocs\wp-config.php Create a database from http://localhost/phpmyadmin

INSTALL WP 2/2 Visit http://localhost/ Follow the white rabbit wizard Default database username: root Default database password: none (leave empty!) Done!

NOTA SUL PATH/ Consiglio di installare wordpress in un sottodominio piuttosto che in una sottocartella, sia per evitare problemi con i link che per evitare di mischiare le password salvate.

INSTALL WP BITNAMI Only 1 wordpress per XAMPP Wordpress will be installed in a wordpress folder and in a bitnami_wordpress database. Run Apache and MySQL services. Download the installer from https://bitnami.com/stack/xampp Run it. Indicate the XAMPP folder. The application password is the default wordpress administrator s password (username: user ). You don t need Wordpress in the cloud. Launch Bitnami Wordpress module. Finish!

MOVE WP TO PRODUCTION 1/2 Export (aka backup in a file, or create a dump of ) your development database using PHPMyAdmin (may be painful for large databases, but usually it s not) Import the dump file in an online database using production preinstalled PHPMyAdmin. If you don t have access to it, upload it by yourself in a wpcontent subfolder, but check the server requirements before, and remember to delete it after) Copy all the files via FTP

MOVE WP TO PRODUCTION 2/2 If the development url is different from the production url: Open wp-config.php file and edit the database credentials (and, if present, the site url) Using PHPMyAdmin, find the wp_options table and change the option_value of the records with siteurl and home as their option_name (DO NOT put a slash after the URL) If you get broken links or images in posts content, try to run this query from PHPMyAdmin: UPDATE wp_posts SET guid = REPLACE(guid, "localhost", "www.miosito.it"); In htaccess, find/replace localhost with www.miosito.it From wp admin, save permalinks Disable access restrictions to publish

...OR TRY DUPLICATOR https://it.wordpress.org/plugins/duplicator/ Great! But: result not guarantee (i.e. big websites, particular server configurations) needs (temporary) about the double of the disk space, and you find the available space only in the hosting settings.

THANK YOU TWITTER: @giorgiobeggiora GITHUB: giorgiobeggiora EMAIL: giorgio.beggiora@artigianidelweb.com