USB´Â ºÎ¼Óǰ°ú ´õ ¸¹Àº °ÍÀ» °­È­Çß´Ù.

USB´Â ´ç½ÅÀÇ ÀÏ»ó »ýȰÀ» ÃÊ·¡ÇÑ´Ù. ±×°ÍÀº ÁøÂ¥·Î. ¿ì¸®´Â ´ç½ÅÀ» ¾î¶»°Ô º¸¿©ÁÙ °ÍÀÌ´Ù.

ÀÌÀü

«« ´ç½ÅÀÇ ³ëÆ®ºÏÀ» À§ÇÑ HDTV

´ÙÀ½

±¹È¸ÀÇ¿øÀ» ¸¸µå´Â iPhone Á¾·á ¿ä±ÝÀº µÚÁý¾î ³õ¾Ò´Ù »»

USB ÁöÆÎÀÌ¿¡ WordPress

07.11.07 & °¡À»·Î| USB´Â °ÅÄ¥°Ô ÀÚ¸¥´Ù| USB ´º½º| USB ÀÚ½À¼­

´ç½ÅÀº USB ÁöÆÎÀÌ¿¡¼­ WordPress, ¶Ç´Â ¾î¶² blog Ç÷¡Æ®È¨µçÁö, ´Þ¸± ¼ö ÀÖ´Ù. ½±°í À¯¿ëÇÏ´Ù. ´ç½ÅÀÌ Àú °°ÀÌ ¾Æ¹«°Å³ªÀÎ °æ¿ì¿¡, ´ç½ÅÀº ¾Æ¸¶ Áú¹®À» "Áú¹®Çϰí ÀÖ´Â µ¿¾È ½Ç¼ÒÇϰí ÀÖ´Ù´©±º°¡´Â ¿Ö USB µå¶óÀ̺꿡¼­ WordPress¸¦ ´Þ¸± Çʿ䰡 ÀÖÀ»´Â°¡ °ÍÀÔ´Ï´Ù?" ³ª´Â, ÃÖ±Ù±îÁö´Â ³Ê¹« ½Ç¼ÒÇß´Ù.

´ë·« 2 ´Þ Àü¿¡ ³ª´Â ¹è½É¿ø Àǹ«¸¦ À§ÇÑ °í½Ã¸¦ ¹Þ¾Ò´Ù. ´Ù¸¸ ÇÑ ½Ö ÀÏ Àü¿¡ ³ª´Â ¹è½É¿ø Àǹ«¸¦ À§ÇØ ºÀ»çÇß´Ù. ³ª´Â ¿¹½ÉÀ¸·Î ºÒ¸®Áö ¾Ê¾Ò´Ù, ±×·¯³ª ³ª´Â ³ªÀÇ ÀÏÀ» ÃÖ´ë·Î ÀÌ¿ëÇß´Ù. ÁöÆÎÀÌ¿¡ ³ªÀÇ WordPress¿¡°Ô ¸ðµç °¨»ç. ³ª´Â ¹ý¿ø¿¡´Â ÀÎÅÍ³Ý Á¢¼ÓÀÌ ÀÖ°í Ã¥À» Á¾ÀÏ Àб⠰°ÀÌ ´À³¢Áö ¾Ê´ÂÁö ¸ô¶ú´Ù, ±×·¡¼­ ³ª´Â ÀÛÀº ÇÁ·ÎÁ§Æ®·Î ÁöÆÎÀÌ¿¡¼­ WordPress¸¦ ´Þ¸®±â À§ÇÏ¿© ±Þ°­ÇÏÇß´Ù. ¸ðµÎ¿¡´Â ³ª À¥»çÀÌÆ® ºñƲ±âÀÇ ±ä ¸íºÎ°¡ ÀÖ´ø ÈÄ¿¡ ³ª´Â ÀÌ°Í ½ÇÇàÇÏ°í ½Í¾ú´Ù ÇÒ ¼ö ÀÖ¾ú´Ù ±×µéÀ» ÇÏ´Â ÃÖ»óÀÇ ³¯ ÀÖÀ¸½Ê½Ã¿À.

³ªÀÇ ¸Õ blog Ç÷¡Æ®È¨À» »ç¿ëÀÇ ÀÏ ³ª°¡ ±ú´Ý±â À§ÇÏ¿© µÈ ÈÄ¿¡ À̰ÍÀÌ ±ÍÁßÇÑ¡¦ ¿©±â¿¡¼­ÀÎ ³ª¿¡ ÀÇÇÏ¿©·Î ¿À¸¥ ªÀº ¸í´Ü Áö ¿Ö ¸¹Àº ÀÌÀ¯°¡ ÀÖ´Ù:

  • ¹è½É¿ø Àǹ« (HA)¿¡ µ¿¾È¿¡ ´ç½ÅÀÇ blog¿¡ ÀÏ
  • ´ç½ÅÀÇ ÁÖÁ¦ ¶Ç´Â ÅÛÇ÷¿¿¡ Á¾»çÇÏ°í ¼û±â±â¿¡ °üÇÏ¿© °í¹ÎÇÏÁö ¾ÊÀ¸¸ç ´ç½ÅÀÇ º¯È­¸¦ º¸±â À§ÇÏ¿© »óÄèÇÏ°Ô ÇÏÁö ¾ÊÀ¸¸ç ½ÍÀ¸½Ê½Ã¿À (±×·¸½À´Ï´Ù, ³ª´Â ³Ê¹« ÇØÄ¿ÀÌ´Ù)
  • ´ç½ÅÀÇ µÎ¸ñÀº ´ç½ÅÀÌ ±×¹°¿¡ ÇÏ´Â ¹× ´ç½ÅÀÌ µ¿¾È WordPress ´ç½ÅÀÇ ÅÛÇ÷¿, Ç÷¯±× Á¢¼Ó½Ä, ÁÖÁ¦¸¦ ²¿Áý°í ½ÍÀº ¹«½¼À» °¨½ÃÇÑ´Ù ºÀ±ÞÀ» ¹Þ±â ÇöÀç Á¦°øµÇ´Â.
  • À¥ °³¹ßÀÚ´Â ±×µéÀÇ È¯°æÀ» Ŭ¶óÀÌ¾ðÆ®¿¡°Ô º¸¿©Áֱ⸦ À§ÇØ ÈÞ´ë¿ë¿¡°Ô Çϰųª ¿ÏÁ¦Ç°À» ³³Ç° Ç÷¡Æ®È¨À» Á¦°øÇÒ ¼ö ÀÖ´Ù.
  • ´ç½ÅÀº ¸¹°Ô ¿©ÇàÇϰí ÀÎÅÍ³Ý ½Ã°£Àº È£ÅÚ¿¡¼­ ºñ½Î°Ô µÉ ¼ö ÀÖ´Ù ±×·¡¼­ ÈÞ´ë¿ë ȯ°æÀº ´ç½ÅÀÌ ´ç½ÅÀÇ °ÉÀ½¿¡ ÀÏÇÏ°Ô ÇÑ´Ù.
  • ±ä ºñÇà±â¸¦ ¸¸µé¾î¼­ ÁöÆÎÀÌ Á×À̱⠽ð£ (ÁøÂ¥·Î)¿¡ WordPress ³Ñ¾îÁö°í.
  • ¿ÀÇÁ¶óÀÎÀ¸·Î, firesafe ¸®¸ðÆ® ¹é¾÷. À̰ÍÀº ´ç½ÅÀº ¾ÈÀüÀ» Áöų ±ÍÁßÇÑ Á¤º¸ÀÇ Á¦ºñ¸¦ °¡Áø Å« blog°¡ ÀÖÀ» ¶§ Àý´ë·Î °ªÀ» Çì¾Æ¸± ¼ö ¾ø´Ù.
  • ´ç½ÅÀÇ À§Ä¡ ¶Ç´Â ¼­¹ö¸¦ Á×À̱⠾øÀÌ ¾ÆÆÄÄ¡, MySQL Ư¡°ú À±°ûÀ¸·Î ¹× ³îÀÌ ÁÖº¯¿¡ ¹è¿ì´Â Áß´ëÇÑ ¹æ¹ý.

È®½ÇÈ÷, ¸¹Àº ÀÌÀ¯°¡ ¿Ö ÀÖ´Ù USB¿¡ WordPress À¯¸®ÇÏ ±×·¯³ª Á¤Áö ±×°Í¿¡ ´ëÇØ¼­ À̾߱â´Â ÀϾ±â À§ÇÏ¿©¿Í ±×°ÍÀ» ¸¸µå´Â ½ÃÀÛÀ» ½ÃŲ´Ù. À̰ÍÀº ³ª ÀÌ´Ù 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: