You can run WordPress, or any blog platform, from a USB stick. È possibile eseguire WordPress, blog o qualsiasi piattaforma, da una chiavetta USB. It’s easy and useful. E 'facile e utile. If you are anything like me, you are probably laughing while asking the question “ Why would anyone need to run WordPress from a USB drive? ” I laughed too, until recently. Se si è nulla come me, si sono probabilmente ridere mentre porre la domanda: "Perché nessuno avrebbe bisogno di utilizzare WordPress da un drive USB?" Io rideva troppo, fino a poco tempo fa.
About two months ago I received a notice for jury duty. Circa due mesi fa ho ricevuto un avviso per la giuria dovere. Just a couple days ago I served for jury duty. Solo un paio di giorni fa ho servito per la giuria dovere. I wasn’t called into a trial, but I did make the most of my day. Non sono stato chiamato in un processo, ma mi ha fatto fare il la maggior parte della mia giornata. All thanks to my WordPress on a stick. Grazie a tutti i miei WordPress su un bastone. I didn’t know if the court house had internet access and didn’t feel like reading a book all day, so I dove into a little project to run WordPress from a stick. Non sapevo se il giudice casa aveva accesso a Internet e non ha voglia di leggere un libro tutto il giorno, così ho colomba in un piccolo progetto per l'esecuzione di WordPress da un bastone. After all I had a long list of website tweaks I wanted to perform and this could be the perfect day to do them. Dopo tutto ho avuto un lungo elenco di modifiche sito web ho voluto eseguire e questo potrebbe essere il giorno perfetto per fare loro.
After a day of working with my remote blog platform I came to realize there are many reasons why this is valuable…here is a short list I came up with: Dopo una giornata di lavoro con il mio telecomando piattaforma blog sono venuto a realizzare vi sono molte ragioni per cui questo è prezioso… ecco un breve elenco sono arrivato fino a:
- Work on your blog while at jury duty (ha) Lavoro sul tuo blog, mentre a dovere giuria (ha)
- Want to work on your theme or template and not worry about caching and refresh to see your changes (yes, I’ma hacker too) Vogliono lavorare sul tema o un modello e non preoccuparti per il caching e di aggiornamento per visualizzare le modifiche (sì, io sono troppo hacker)
- Your boss monitors what you do on the net and you want to tweak your WordPress template, plugins, themes while
getting paidon-the-job. Il tuo capo monitor ciò che si fa sulla rete e si desidera modificare il tuo modello di WordPress, plugin, temi, mentrericevere un pagamentosul posto di lavoro. - Web developers can make their environment portable for showing to clients or provide a delivery platform for a finished product. Gli sviluppatori Web possono dare il loro ambiente portatili per mostrare ai clienti o fornire una piattaforma di trasmissione per un prodotto finito.
- You travel a lot and internet time can get expensive at hotels so a portable environment lets you work at your pace. Si viaggia molto e internet tempo possibile ottenere costosi alberghi a così un ambiente portatile vi consente di lavorare al vostro ritmo.
- Making long airplane trips and WordPress on a stick kills time (it really does). Fare lungo aereo viaggi e WordPress su un bastone uccide tempo (è davvero).
- Off line, firesafe remote back up. Off line, firesafe il backup remoto. This is absolutely invaluable when you have a large blog with lots of valuable info to keep safe. Questo è assolutamente prezioso quando si dispone di un grande blog con un sacco di informazioni preziose per mantenere sicuro.
- A great way to learn and play around with Apache, MySQL features and configurations without killing your site or server. Un ottimo modo per imparare e giocare con Apache, MySQL caratteristiche e configurazioni senza uccidere il tuo sito o il server.
Sure, there are many reasons why WordPress on USB is beneficial but lets stop talking about it and start making it happen. Certo, ci sono molte ragioni per cui a WordPress USB è benefico, ma consente di smettere di parlare in proposito e iniziare a fare questo traguardo. This is my Questo è il mio USB Tutorial USB Tutorial on how to put WordPress to USB. su come mettere a WordPress USB.
Taking Care of the Server Stuff Avendo cura di server Stuff
You need a full list of server tools to make this happen and luckily there is a pre-configured zip file ready for the taking. Avete bisogno di un elenco completo dei server di strumenti per rendere questo accada e per fortuna non vi è una pre-configurato file zip pronto per il prelievo. Jump over to Vai a PortableApps.com and grab the XAMPP zip file under the Development category ( e cogli XAMPP il file zip sotto la categoria di sviluppo ( link collegamento ). This has everything you need to put your blog platform to USB. Questo è tutto ciò di cui avete bisogno per mettere il tuo blog piattaforma per USB. Apache, mySQL, PHP, phpMyAdmin and some other items. Apache, MySQL, PHP, phpMyAdmin e di alcuni altri elementi.
For my homebrew project I downloaded the XAMPP Lite version as I didn’t need everything in the full version and the Lite version is smaller in size. Homebrew per il mio progetto ho scaricato la versione Lite XAMPP come non ho bisogno di tutto nella versione completa e la versione Lite è più piccolo in termini di dimensioni. Please note, this Si prega di notare che questa USB tutorial USB tutorial is for the Lite version only and using the full version might require changes. è per la versione Lite e utilizzando solo la versione completa potrebbe richiedere modifiche.
Once you download and unzip the contents, drag-n-drop the new folder (called xampplite ) to your USB stick (Don’t try and unzip the file from your flash drive, this = slooow). Una volta scaricato e decomprimere il contenuto, drag-n-drop la nuova cartella (chiamato xampplite) al tuo chiavetta USB (Non provare e decomprimere i file dal tuo flash drive, questo = slooow). To copy the contents to your flash drive will probably take more time than anything else. Per copiare il contenuto al tuo flash drive potrebbe richiedere più tempo di qualsiasi altra cosa.
Once the xampplite folder is on your flash drive, get into the new xampplite directory and open the xampp-control file and the xampp application starts up. Una volta che la cartella è xampplite sul tuo flash drive, per entrare in nuovi xampplite directory e aprire il XAMPP-file di controllo e la XAMPP applicazione si avvia. This is where you turn ON the Apache server software and MySQL database server software. È qui che si accende il software server Apache e MySQL database server software. Just click the two start buttons, that’s it! È sufficiente fare clic su due pulsanti di avvio, il gioco è fatto!
*Note: Do not run the setup_xampp.bat file . * Nota: non setup_xampp.bat eseguire il file. This will assign a drive letter to the USB stick and make the stick inoperable when a different drive letter is assigned when used on a diff computer. Questo assegnerà una lettera di unità per la chiavetta USB e rendere inutilizzabile il bastone quando un'altra lettera di unità è assegnato quando viene utilizzato su un computer diff.


**Be sure not to check the “ Svc ” check boxes as this will leave a footprint on the host machine ( which partly defeats the purpose of running the web server off a stick ). ~Thanks Brian ! ** Assicurarsi di non selezionare la casella "Svc" caselle di controllo in quanto ciò lasciare un impronta sulla macchina host (che in parte Sconfitte lo scopo di eseguire il server web fuori un bastone). ~ Grazie Brian!
Next, open your browser and navigate to the remote server we just downloaded, installed and activated on your USB drive. Quindi, aprire il browser e navigare verso il server remoto che abbiamo appena scaricato, installato e attivato sul tuo drive USB. Get your seat belt on. Ottenere il vostro cintura di sicurezza.
Open your browser and type in: http://localhost Aprire il browser e digitare: http://localhost
This will open your web interface to the MySQL, Status, examples and other fun tid-bits. Si aprirà il tuo interfaccia web per MySQL, Stato, altri esempi e divertimento tid-bit.
So now we have the remote USB server running, the next step is loading up WordPress (or other blog platform) and activating it to get your WordPress on a stick and running. Così ora abbiamo il server remoto USB in esecuzione, il prossimo passo è di carico fino WordPress (o di altri piattaforma blog) e attivazione di esso per ottenere il tuo WordPress su un bastone e di esecuzione.

Click the phpMyAdmin link from your http://localhost location. PhpMyAdmin fare clic sul link dal tuo http://localhost posizione. Here we create the name of your database for WordPress. Qui per creare il nome della vostra base di dati per WordPress. Type in wordpress in the blank field for “create new database” and click “ Create .” Tipo in WordPress nel campo vuoto per "creare una nuova banca dati" e fai clic su "Crea".

You didn’t actually make all the database fields for running WordPress you simply created the database name. Non hai effettivamente rendere la banca dati tutti i campi per l'esecuzione di WordPress semplicemente creato il nome del database.
Taking Care of the WordPress Stuff Avendo cura di WordPress il Stuff
The next step is copying the WordPress software ( Il passo successivo è la copia del software WordPress ( link collegamento ) to your USB drive. ) Per il tuo drive USB. To prepare you for placing the WordPress software in the correct location know that all web pages must be in the htdocs folder . Per prepararvi per l'immissione di WordPress il software nella corretta posizione sapere che tutte le pagine web devono essere nella cartella htdocs. You can drop in a quick test.html into the htdocs folder and double click it and open to make sure everything works, but trust me, it will. Si può cadere in un rapido test.html nella cartella htdocs e doppio clic su di esso e aperto per assicurarsi che tutto funzioni, ma la fiducia di me, è volontà.
Inside the htdocs folder create another folder called wordpress . All'interno della cartella htdocs creare un'altra cartella chiamata wordpress. Inside this folder is where you place all the WordPress software files. All'interno di questa cartella in cui si è posto tutti i file del software di WordPress. The folder you just created named wordpress is what the MySQL server software will look for (remember you created the database name just a few steps earlier). La cartella appena creata il nome wordpress è ciò che il server MySQL software cercare (ricordo hai creato il nome del database, a pochi passi precedenti).
Once WordPress is on the USB drive find the wp-config file inside the wordpress folder and lets edit. WordPress è ancora una volta sul drive USB trovare il wp-config file all'interno della cartella wordpress e consente di modificare. Open up the file using Notepad or Wordpad and edit the wp-config file so it reads like this: Aprire il file utilizzando Blocco note o WordPad e modificare il wp-config file in modo che recita così:
// ** MySQL settings ** // / / ** MySQL impostazioni ** / /
define(’DB_NAME’, ‘wordpress’); define ( 'DB_NAME', 'wordpress');
define(’DB_USER’, ‘root’); define ( 'DB_USER', 'root');
define(’DB_PASSWORD’, ”); define ( 'DB_PASSWORD', ");
define(’DB_HOST’, ‘localhost’); define ( 'DB_HOST', 'localhost');
**Note: With the Lite version of xampp you need to include the word ‘root’ for user. ** Nota: Con la versione Lite di XAMPP è necessario inserire la parola 'root' per l'utente. I believe the only difference with the full version is you keep that field empty. Credo che l'unica differenza con la versione completa è di mantenere questo campo vuoto.
Save the wp-config file and close. Salvare il wp-file di configurazione e chiudere.
Now type the following into your browser to activate WordPress: Ora digitare il seguente nel tuo browser per attivare WordPress:
http://localhost/wordpress/wp-admin/install.php http://localhost/wordpress/wp-admin/install.php
That’s it. Questo è tutto. You are done. Avete finito. Simply follow the WordPress instructions and you are done (actually one more step). Write down the password WordPress gives you because there is no email being sent to you! Change the password in the Admin panel under Users once everything is set-up. Basta seguire le istruzioni di WordPress e avete finito (in realtà un altro passo). Scrivere la password di WordPress vi dà perché non vi è alcuna e-mail di essere inviato a voi! Cambia la password nel pannello di Admin di cui gli utenti una volta tutto è di set-up.

The last item is taking care of the feeds you see on the WordPress Dashboard. L'ultimo elemento, si sta occupando dei feed viene visualizzato sul cruscotto di WordPress. You know, all the stuff Matt and his clan send out. Sapete, tutto il materiale Matt e il suo clan inviare. The Il USB hack USB hack to eliminate the RSS feed on your dashboard simply navigate into your wordpress folder to: per eliminare il feed RSS sul cruscotto semplicemente navigare nella vostra cartella wordpress a:
\xampplite\htdocs\wordpress\wp-admin\index.php \ xampplite \ htdocs \ wordpress \ wp-admin \ index.php
Open up the file in Notepad or Wordpad and delete everything (yes everything) and replace with: Aprire il file nel Blocco note o WordPad e cancellare tutto (sì tutto) e sostituire con:
< ?php <? Php
require_once('admin.php'); require_once ( 'admin.php');
$title = __('Dashboard'); $ title = __ ( 'Dashboard');
require_once('admin-header.php'); require_once ( 'admin-header.php');
require_once (ABSPATH . WPINC . '/rss-functions.php'); require_once (ABSPATH. WPINC. '/ rss-functions.php');$today = current_time('mysql', 1); $ oggi = current_time ( 'mysql', 1);
?>< ?php <? Php
require('./admin-footer.php'); richiedono ( '. / admin-footer.php');
?>
Now you are ready to rock and roll. Ora siete pronti per il rock and roll.

Go Have Fun Vai Buon divertimento

My tutorial is the down-and-dirty, lets get to business, approach so sorry for any lack of back ground info. Il mio tutorial è il down-e-sporca, consente di ottenere per le imprese, in modo approccio spiacenti per qualsiasi difetto di ritornare a terra informazioni. You should have a nice clean process if you follow exactly as described. Si dovrebbe avere una bella pulita processo se si seguono esattamente come descritto. Just as a friendly reminder, here are the key files I spoke about you should pay attention too: Proprio come un richiamo amichevole, ecco la chiave file ho parlato si dovrebbe prestare attenzione anche:

I also found some reference material at Ho anche trovato alcuni materiale di riferimento a Tamba2.org.uk which is a great website to bookmark for WP info. che è un grande sito web per segnalibro per WP info.
If you have any questions, concerns or problems hit the Se avete domande, problemi o preoccupazioni colpito il USB forum post USB forum post for this article and post your situation. per questo articolo e pubblicare il tuo situazione.














