Τροφοδοτημένες USB συσκευές και περισσότερο.

USB επηρεάζει την καθημερινή ζωή σας. Πραγματικά. Θα σας παρουσιάσουμε πώς.

Προηγούμενος

«« HDTV για το σημειωματάριό σας

Έπειτα

αμοιβή λήξης iPhone που καθιστά τους νομοθέτες »»

WordPress σε ένα ραβδί USB

07.11.07 & πτώσεις| Αμυχές USB| Ειδήσεις USB| Σεμινάρια USB

Μπορείτε να τρέξετε WordPress, ή οποιαδήποτε πλατφόρμα blog, από ένα ραβδί USB. Είναι εύκολο και χρήσιμο. Εάν είστε τίποτα όπως με, γελάτε πιθανώς υποβάλλοντας την ερώτηση «Γιατί καθένας θα πρέπει να τρέξει WordPress από ένα USB να οδηγήσει;» Γέλασα επίσης, μέχρι σήμερα.

Περίπου δύο μήνες πριν έλαβα μια ειδοποίηση για το καθήκον κριτικών επιτροπών. Ακριβώς τις ημέρες ζευγών πριν εξυπηρέτησα για το καθήκον κριτικών επιτροπών. Δεν κλήθηκα σε μια δοκιμή, αλλά εκμεταλλεύτηκα πλήρως από την ημέρα μου. Όλες οι ευχαριστίες στο WordPress μου σε ένα ραβδί. Δεν ήξερα εάν το σπίτι δικαστηρίων είχε πρόσβαση Διαδικτύου και δεν αισθάνθηκε όπως να διαβάσει ένα βιβλίο όλη την ημέρα, έτσι το περιστέρι Ι σε ένα μικρό πρόγραμμα για να τρεχτεί WordPress από ένα ραβδί. Αφότου όλος είχα έναν μακρύ κατάλογο τσιμπημάτων ιστοχώρου θέλησα να εκτελέσω και αυτό θα μπορούσε να είστε η τέλεια ημέρα για να τους κάνει.

Μετά από μια ημέρα της εργασίας με τη μακρινή πλατφόρμα blog μου ήρθα να συνειδητοποιήσω υπάρχουν πολλοί λόγοι για τους οποίους αυτό είναι πολύτιμο… εδώ είναι ένας κατάλογος επιλέκτων υποψηφίων ήρθα επάνω με:

  • Εργασία για το blog σας ενώ στο καθήκον κριτικών επιτροπών (εκτάριο)
  • Θελήστε να εργαστείτε στο θέμα ή το πρότυπό σας και όχι ανησυχήστε για την εναποθήκευση και αναζωογονήστε για να δείτε τις αλλαγές σας (ναι, είμαι χάκερ επίσης)
  • Ο προϊστάμενός σας ελέγχει τι κάνετε στον καθαρό και εσείς θέλετε στο τσίμπημα το πρότυπο WordPress σας, plugins, θέματα ενώ να πάρει πληρωμένος απασχολημένος.
  • Οι υπεύθυνοι για την ανάπτυξη Ιστού μπορούν να καταστήσουν το περιβάλλον τους φορητό για την παρουσίαση στους πελάτες ή να παρέχουν μια πλατφόρμα παράδοσης για ένα ολοκληρωμένο προϊόν.
  • Ταξιδεύετε πολύς και ο χρόνος Διαδικτύου μπορεί να πάρει ακριβός στα ξενοδοχεία έτσι ένα φορητό περιβάλλον σας αφήνει να εργαστείτε στο ρυθμό σας.
  • Η παραγωγή των μακροχρόνιων ταξιδιών και WordPress αεροπλάνων σε ένα ραβδί σκοτώνει το χρόνο (πραγματικά).
  • Off-$l*line, firesafe μακρινή υποστήριξη. Αυτό είναι απολύτως ανεκτίμητο όταν έχετε ένα μεγάλο blog με τα μέρη των πολύτιμων πληροφοριών που κρατούν ασφαλών.
  • Ένας μεγάλος τρόπος να μάθει και να παίξει γύρω με τα χαρακτηριστικά γνωρίσματα Apache, MySQL και τις διαμορφώσεις χωρίς δολοφονία της περιοχής ή του κεντρικού υπολογιστή σας.

Βέβαιοι, υπάρχουν πολλοί λόγοι για τους οποίους WordPress σε USB είναι ευεργετικός αλλά αφήνει τη στάση που μιλά για το και αρχίζει το να συμβεί. Αυτό είναι μου USB Tutorial on how to put WordPress to USB.

Taking Care of the 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. Jump over to PortableApps.com and grab the XAMPP zip file under the Development category (link). This has everything you need to put your blog platform to USB. Apache, mySQL, PHP, phpMyAdmin and some other items.

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. Please note, this USB tutorial is for the Lite version only and using the full version might require changes.

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). To copy the contents to your flash drive will probably take more time than anything else.

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. This is where you turn ON the Apache server software and MySQL database server software. Just click the two start buttons, that’s it!

*Note: Do not run the setup_xampp.bat 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.

wordpress usb
~~~
wordpress xampp

**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!

Next, open your browser and navigate to the remote server we just downloaded, installed and activated on your USB drive. Get your seat belt on.

Open your browser and type in: http://localhost

This will open your web interface to the MySQL, Status, examples and other fun tid-bits.

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.

wordpress phpmyadmin

Click the phpMyAdmin link from your http://localhost location. Here we create the name of your database for WordPress. Type in wordpress in the blank field for “create new database” and click “Create.”

wordpress database name

You didn’t actually make all the database fields for running WordPress you simply created the database name.

Taking Care of the WordPress Stuff

The next step is copying the WordPress software (link) to your USB drive. To prepare you for placing the WordPress software in the correct location know that all web pages must be in the htdocs folder. 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.

Inside the htdocs folder create another folder called wordpress. Inside this folder is where you place all the WordPress software files. 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).

Once WordPress is on the USB drive find the wp-config file inside the wordpress folder and lets edit. Open up the file using Notepad or Wordpad and edit the wp-config file so it reads like this:

// ** MySQL settings ** //
define(’DB_NAME’, ‘wordpress’);
define(’DB_USER’, ‘root’);
define(’DB_PASSWORD’, ”);
define(’DB_HOST’, ‘localhost’);

**Note: With the Lite version of xampp you need to include the word ‘root’ for user. I believe the only difference with the full version is you keep that field empty.

Save the wp-config file and close.

Now type the following into your browser to activate WordPress:

http://localhost/wordpress/wp-admin/install.php

That’s it. You are done. 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.

welcome wordpress usb

The last item is taking care of the feeds you see on the WordPress Dashboard. You know, all the stuff Matt and his clan send out. The USB hack to eliminate the RSS feed on your dashboard simply navigate into your wordpress folder to:

\xampplite\htdocs\wordpress\wp-admin\index.php

Open up the file in Notepad or Wordpad and delete everything (yes everything) and replace with:

require_once('admin.php');
$title = __('Dashboard');
require_once('admin-header.php');
require_once (ABSPATH . WPINC . '/rss-functions.php');

$today = current_time('mysql', 1);
?>

require('./admin-footer.php');
?>

Now you are ready to rock and roll.

wordpress on usb stick

Go Have Fun

wordpress on usb stick homepage

My tutorial is the down-and-dirty, lets get to business, approach so sorry for any lack of back ground info. You should have a nice clean process if you follow exactly as described. Just as a friendly reminder, here are the key files I spoke about you should pay attention too:

noteable folders usb

I also found some reference material at Tamba2.org.uk which is a great website to bookmark for WP info.

If you have any questions, concerns or problems hit the USB forum post for this article and post your situation.

Please Comment in USB Forum | «« Prev | Next »» | Home


related usb products

Like That? Read This:

Automated Engine Translation

Translate to EnglishÜbersetzen Sie zum Deutsch/GermanTraduisez au Français/FrenchTraduca ad Italiano/ItalianTraduza ao Português/Portuguese日本語に翻訳しなさい /Japanese한국어에게 번역하십시오/Koreanترجمة الى العربية/ArabicVertaal aan het Nederlands/DutchΜεταφράστε στα ελληνικά/GreekПереведите к русскому/RussianOversetter til Norsk/Norwegian