You can run WordPress, or any blog platform, from a USB stick. يمكنك تشغيل الكلمات) او اي بلوق منهاج ، من العصا USB. It’s easy and useful. انها سهلة ومفيدة. 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. إذا أنت اي شيء مثلي ، انت ربما الضحك في حين طرح السؤال "لماذا الحاجة الى تشغيل أي شخص WordPress من محرك الأقراص USB؟" انا ضحك أيضا ، وحتى وقت قريب.
About two months ago I received a notice for jury duty. منذ قرابة شهرين تلقيت اشعارا لهيئة المحلفين واجب. Just a couple days ago I served for jury duty. بضعة ايام فقط عملت لجنة التحكيم واجب. I wasn’t called into a trial, but I did make the most of my day. انني لم أكن ودعا الى محاكمة ، لكنني الاستفادة القصوى من بلدي اليوم. All thanks to my WordPress on a stick. كل ذلك بفضل بلدي WordPress على عصا. 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. لم أكن أعرف اذا كان للمحكمة وكان المنزل والوصول الى شبكة الانترنت لا يرى مثل قراءة كتاب كل يوم ، لذلك قليلا الى حمامة لتشغيل المشروع من WordPress عصا. After all I had a long list of website tweaks I wanted to perform and this could be the perfect day to do them. على كل حال كان لي قائمة طويلة من موقع القرص اردت ان اداء وهذا يمكن ان يكون مثاليا في اليوم للقيام بها.
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: بعد يوم من العمل مع بلادي الناءيه بلوق منهاج جئت لندرك ان هناك العديد من الاسباب التي تجعل هذه القيم… وهنا قائمة قصيرة انا خرجت :
- Work on your blog while at jury duty (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) نريد ان نعمل على موضوع أو النموذج الخاص بك ولا تقلق بشأن تجديد التخزين المؤقت وانظر الى التغييرات التي قمت بها (نعم ، انا ايضا هاكر)
- Your boss monitors what you do on the net and you want to tweak your WordPress template, plugins, themes while
getting paidon-the-job. رئيسك يرصد ما تفعله على شبكة الانترنت ، وانت تريد ان القرص الخاص بك WordPress القالب ، وملحقات ، في حين ان المواضيعالخاصة بالدفععلى الوظيفة. - Web developers can make their environment portable for showing to clients or provide a delivery platform for a finished product. مطوري الويب يمكن جعل البيئة المحموله لتبين للعملاء أو توفير منصة لتقديم المنتج النهائي.
- You travel a lot and internet time can get expensive at hotels so a portable environment lets you work at your pace. كنت تسافرين كثيرا وشبكة الانترنت يمكن الحصول على الوقت في الفنادق مكلفه حتى جهاز محمول يتيح لك بيئة العمل الخاصة بك في سرعة.
- Making long airplane trips and WordPress on a stick kills time (it really does). جعل الرحلات الطويلة الطائرة وWordPress على عصا يقتل الوقت (هل حقا).
- Off line, firesafe remote back up. من الخط ، firesafe الناءيه نسخة احتياطية. This is absolutely invaluable when you have a large blog with lots of valuable info to keep safe. وهذا لا تقدر بثمن على الاطلاق عندما يكون لديك بلوق كبير مع الكثير من المعلومات القيمه ان تبقى آمنة.
- A great way to learn and play around with Apache, MySQL features and configurations without killing your site or server. طريقة راءعه للتعلم واللعب مع حوالى اباتشي ، والخلية ميزات التكوينات دون قتل موقعك او الخادم.
Sure, there are many reasons why WordPress on USB is beneficial but lets stop talking about it and start making it happen. من المؤكد ان هناك العديد من الاسباب التي تجعل WordPress يعود بالفاءده على USB ولكن يتيح له ان يتحدث عن وقف وبدء الانتقال من القول الى الفعل. This is my هذا هو بلدي USB Tutorial الدورة التعليميه USB on how to put WordPress to USB. عن كيفية وضع WordPress الى 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 Portableapps.com and grab the XAMPP zip file under the Development category ( وقد تلقفت وxampp ملف مضغوط تحت فئة التنمية) link رابط ). (. This has everything you need to put your blog platform to USB. هذا كل ما تحتاجه لوضع منهاج لبلوق الخاص بك USB. Apache, mySQL, PHP, phpMyAdmin and some other items. اباتشي ، الخلية ، بي. اتش. بى ، وphpmyadmin بعض البنود الأخرى.
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. البيرة المحلية لبلدي المشروع الاول المنزله xampp Lite النسخه كما قلت لم يكن في حاجة الى كل شيء في النسخه الكاملة وLite نسخة اصغر حجما. Please note, this يرجى ملاحظه ان هذا USB tutorial الدورة التعليميه USB is for the Lite version only and using the full version might require changes. هو لLite نسخة فقط وباستخدام النص الكامل قد يتطلب اجراء تغييرات.
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). وبمجرد الانتهاء من تحميل محتويات unzip ، اسحب - ن - اسقاط مجلد جديد (تسمى xampplite (USB العصا إلى حسابك (لا تحاول وunzip الملف من فلاش محرك الأقراص الخاص بك ، هذا = 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. وبمجرد xampplite مجلد على محرك الأقراص الخاص بك فلاش ، الدخول الى دليل xampplite جديدة وفتح ملف xampp - مراقبة ويبدأ تطبيق xampp. 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 . * ملاحظه : لا setup_xampp.bat تشغيل الملف. 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. وهذا اسناد حمله رسالة الى USB والعصا وجعل العصا عندما مختلفة غير قابلة للحرف محرك الأقراص عندما تسند الفرق على استخدام الحاسوب.


**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 ! ** ومن المؤكد ان ليس للتحقق من "SVC" مربعات ، حيث سيؤدي ذلك الى ترك أثر على آلة المضيفه (التي جزئيا الهزائم الغرض من إدارة خادم الويب من عصا). ~ بفضل بريان!
Next, open your browser and navigate to the remote server we just downloaded, installed and activated on your USB drive. وبعد ذلك ، فتح المتصفح وانتقل الى الخادم ونحن فقط بعد التحميل ، وتركيب وتنشيط حملة على USB الخاص بك. Get your seat belt on. احصل على حزام المقعد.
Open your browser and type in: http://localhost فتح المتصفح ونوع في : 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. حتى الان اصبحت لدينا بعد تشغيل خادم USB ، فإن الخطوة التالية هي تحميل حتى WordPress (أو غيرها من منهاج بلوق) وتفعيل لWordPress احصل على عصا والحالي.

Click the phpMyAdmin link from your http://localhost location. انقر على وصلة phpmyadmin من http://localhost الموقع الخاص بك. Here we create the name of your database for WordPress. ونحن هنا انشاء اسم لقاعدة البيانات الخاصة بك WordPress. Type in wordpress in the blank field for “create new database” and click “ Create .” نوع من انواع WordPress في الحقل الفارغ من اجل "انشاء قاعدة بيانات جديدة" والنقر على "خلق".

You didn’t actually make all the database fields for running WordPress you simply created the database name. انت لم بالفعل بذل كل الميادين قاعدة البيانات لتشغيل WordPress لكم ببساطة انشاء قاعدة البيانات الاسم.
Taking Care of the WordPress Stuff رعايه للمادة WordPress
The next step is copying the WordPress software ( والخطوة التالية هي نسخ برامج WordPress) link رابط ) to your USB 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 . ان يعد لكم لوضع WordPress البرامج الموجودة في الموقع الصحيح نعرف ان جميع صفحات الموقع يجب ان يكون في مجلد 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. يمكنك ان انخفاض سريع في test.html في مجلد htdocs والنقر المزدوج وانها مفتوحة للتأكد من كل شيء على ما يرام ، ولكن ثق بي ، وسوف.
Inside the htdocs folder create another folder called wordpress . داخل مجلد htdocs انشاء مجلد آخر دعا WordPress. Inside this folder is where you place all the WordPress software files. داخل هذا المجلد هي حيث تقوم كل مكان 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). المجلد انت فقط خلق WordPress اسمه هو ما الخلية خادم البرمجيات سوف تبحث عن (تذكر انك أنشأت قاعدة بيانات على سبيل المثال لا الحصر الخطوات في وقت سابق).
Once WordPress is on the USB drive find the wp-config file inside the wordpress folder and lets edit. WordPress مرة واحدة على محرك الأقراص USB العثور على رزمه العمل - ملف داخل مجلد WordPress ويتيح للتحرير. 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’); تعريف ( 'db_name' ، 'WordPress') ؛
define(’DB_USER’, ‘root’); تعريف ( 'db_user' ، 'الجذر') ؛
define(’DB_PASSWORD’, ”); تعريف ( 'db_password' ") ؛
define(’DB_HOST’, ‘localhost’); تعريف ( 'db_host' ، 'localhost') ؛
**Note: With the Lite version of xampp you need to include the word ‘root’ for user. ** ملاحظه : مع Lite نسخة من xampp انت بحاجة الى ادراج كلمة 'الجذر' للمستخدم. 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: الآن أكتب الامر التالي في متصفحك لتنشيط WordPress :
http://localhost/wordpress/wp-admin/install.php 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. ببساطة اتبع التعليمات WordPress وانت القيام به (في الواقع خطوة اخرى). اكتب كلمة السر WordPress يعطيك بسبب عدم وجود البريد الإلكتروني التي أرسلت اليك! تغيير كلمة المرور في ادارة المستخدمين في اطار الفريق مرة واحدة كل شيء الاعداد.

The last item is taking care of the feeds you see on the WordPress Dashboard. البند الأخير هو رعايه للالفيد التي تراها على لوحة التحكم الرئيسية WordPress. You know, all the stuff Matt and his clan send out. تعلمون ، كل الاشياء مات وعشيرته ارسال. The ال USB hack USB المأجور to eliminate the RSS feed on your dashboard simply navigate into your wordpress folder to: للقضاء ار اس اس على لوحة ببساطة انتقل الى حسابك في مجلد WordPress الى :
\xampplite\htdocs\wordpress\wp-admin\index.php \ xampplite \ htdocs \ WordPress \ رزمه العمل - ادارة \ index.php
Open up the file in Notepad or Wordpad and delete everything (yes everything) and replace with: فتح الملف في المفكره أو الدفتر وحذف كل شيء (نعم كل شيء) ويستعاض عنه بالنص التالي :
< ?php <؟ بي. اتش. بى
require_once('admin.php'); require_once ( 'admin.php') ؛
$title = __('Dashboard'); دولار العنوان = --- ( 'لوحة القيادة') ؛
require_once('admin-header.php'); require_once ( 'الادارة - header.php') ؛
require_once (ABSPATH . WPINC . '/rss-functions.php'); require_once (abspath. wpinc. '/ آر اس اس - functions.php') ؛$today = current_time('mysql', 1); اليوم current_time دولار = ( 'الخلية' ، 1) ؛
?> ؟>< ?php <؟ بي. اتش. بى
require('./admin-footer.php'); يتطلب ( '. / الادارة - footer.php') ؛
?> ؟>
Now you are ready to rock and roll. الان انت على استعداد لالروك اندرول.

Go Have Fun اذهب وقتا ممتعا

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: فقط كدوله صديقة للتذكير فقط ، هنا هي الملفات الرئيسية التي تحدثت عنها يجب عليك ان تولي اهتماما أيضا :

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 منتدى ما بعد USB for this article and post your situation. لهذه المادة وبعد موقفك.














