{"id":433,"date":"2006-10-08T14:39:30","date_gmt":"2006-10-08T08:39:30","guid":{"rendered":"http:\/\/www.dotcomunderground.com\/blogs\/2006\/10\/08\/how-to-run-web-server-from-usb-flash-drive\/"},"modified":"2006-10-08T14:51:47","modified_gmt":"2006-10-08T08:51:47","slug":"how-to-run-web-server-from-usb-flash-drive","status":"publish","type":"post","link":"https:\/\/www.dotcomunderground.com\/blogs\/2006\/10\/08\/how-to-run-web-server-from-usb-flash-drive\/","title":{"rendered":"How to run Web Server from USB Flash Drive"},"content":{"rendered":"<p>This tutorial will guide you to run an Apache web server with PHP and MySQL right from your USB flash drive (pen drive, thumb drive). No installation. Just plug and run! <\/p>\n<p>Pretty handy thing to show or discuss a dynamic web project with a client or teacher. <\/p>\n<p>To get started first we need to download <strong>XAMPP Lite<\/strong> from ApacheFriends.org<br \/>\nYou can get the package here:<br \/>\n<!--adsense#HalfBanner--><br \/>\n<a href=\"http:\/\/www.apachefriends.org\/en\/xampp-windows.html#646\">Download XAMPP Lite<\/a><\/p>\n<p><img decoding=\"async\" id=\"image422\" alt=\"Web Server on USB Flash Installation\" src=\"http:\/\/www.dotcomunderground.com\/blogs\/wp-content\/uploads\/2006\/10\/web-server-on-usb-flash-installation.jpg\" \/><\/p>\n<p>Download and extract the .zip archive.<\/p>\n<p>Inside you will find a folder <strong>xampplite<\/strong><br \/>\n<img decoding=\"async\" id=\"image423\" alt=\"XAMPP Lite\" src=\"http:\/\/www.dotcomunderground.com\/blogs\/wp-content\/uploads\/2006\/10\/xampp-lite.jpg\" \/><\/p>\n<p>Now plug-in your USB Flash Drive and copy this folder there.<br \/>\n<img decoding=\"async\" id=\"image424\" alt=\"Web Server on USB Flash\" src=\"http:\/\/www.dotcomunderground.com\/blogs\/wp-content\/uploads\/2006\/10\/web-server-on-usb-flash.jpg\" \/><\/p>\n<p>Congrats!! You now have a web server on your flash drive.<\/p>\n<p>Now its time to run our web server.<\/p>\n<p>Open the <strong>xampplite<\/strong> folder in your flash drive.  Run the <strong>xampp-control.exe<\/strong><br \/>\n<img decoding=\"async\" id=\"image425\" alt=\"XAMPP on USB Flash\" src=\"http:\/\/www.dotcomunderground.com\/blogs\/wp-content\/uploads\/2006\/10\/xampp-on-usb-flash.jpg\" \/><\/p>\n<p>The XAMPP Control Panel appears.<br \/>\n<img decoding=\"async\" id=\"image426\" alt=\"XAMPP Control Panel\" src=\"http:\/\/www.dotcomunderground.com\/blogs\/wp-content\/uploads\/2006\/10\/xampp-control-panel.jpg\" \/><\/p>\n<p>We have our <strong>Start<\/strong> buttons next to the service name to start a service.<br \/>\n<img decoding=\"async\" id=\"image427\" alt=\"Apache on USB Flash Drive - Start\" src=\"http:\/\/www.dotcomunderground.com\/blogs\/wp-content\/uploads\/2006\/10\/apache-on-usb-flash-start.jpg\" \/><\/p>\n<p>Click on them to start a service.<\/p>\n<p>We get the Admin button to manage a service when its running.<br \/>\n<img decoding=\"async\" id=\"image428\" alt=\"Portable Apache Admin\" src=\"http:\/\/www.dotcomunderground.com\/blogs\/wp-content\/uploads\/2006\/10\/portable-apache-admin.jpg\" \/><\/p>\n<p>Clicking on the button takes us to the XAMPP admin screen.<br \/>\n<img decoding=\"async\" id=\"image429\" alt=\"Web Server on Flash Drive Control Panel\" src=\"http:\/\/www.dotcomunderground.com\/blogs\/wp-content\/uploads\/2006\/10\/web-server-on-usb-flash-control-panel.jpg\" \/><br \/>\nYou might need to click on <strong>Language > English<\/strong> if its not being shown in default.<\/p>\n<p>Your Apache document root is <strong>E:\\xampplite\\htdocs<\/strong> (when E: is your flash drive)<br \/>\n<img decoding=\"async\" id=\"image430\" alt=\"Apache on USB Flash Document Root\" src=\"http:\/\/www.dotcomunderground.com\/blogs\/wp-content\/uploads\/2006\/10\/apache-on-usb-flash-document-root.jpg\" \/><\/p>\n<p>If you are wondering why you are taken to http:\/\/localhost\/xampp\/ whenever pointing your browser to http:\/\/localhost\/ , its because the http:\/\/localhost\/index.php (E:\\xampplite\\htdocs\\index.php) is redirecting you there. You can replace it with your own if you prefer.<\/p>\n<p>We can stop the services clicking on the Stop button next to running services.<br \/>\n<img decoding=\"async\" id=\"image431\" alt=\"Portable Web Server Stop Service\" src=\"http:\/\/www.dotcomunderground.com\/blogs\/wp-content\/uploads\/2006\/10\/portable-web-server-stop-service.jpg\" \/><\/p>\n<p>Dont forget to Exit the XMPP Control Panel before un-plugging your flash drive.<br \/>\n<img decoding=\"async\" id=\"image432\" alt=\"Web Server on USB Flash Exit\" src=\"http:\/\/www.dotcomunderground.com\/blogs\/wp-content\/uploads\/2006\/10\/webserver-on-usb-flash-exit.jpg\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This tutorial will guide you to run an Apache web server with PHP and MySQL right from your USB flash drive (pen drive, thumb drive). No installation. Just plug and run! Pretty handy thing to show or discuss a dynamic web project with a client or teacher. To get started first we need to download [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,9,13],"tags":[125,145,40,144,304,29,39,132,41,47],"class_list":["post-433","post","type-post","status-publish","format-standard","hentry","category-tech","category-tips","category-tutorials","tag-apache","tag-flash-drive","tag-how-to","tag-portable","tag-tech","tag-technology","tag-tips-and-tricks","tag-web-server","tag-windows","tag-windows-xp"],"_links":{"self":[{"href":"https:\/\/www.dotcomunderground.com\/blogs\/wp-json\/wp\/v2\/posts\/433","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dotcomunderground.com\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dotcomunderground.com\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dotcomunderground.com\/blogs\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dotcomunderground.com\/blogs\/wp-json\/wp\/v2\/comments?post=433"}],"version-history":[{"count":0,"href":"https:\/\/www.dotcomunderground.com\/blogs\/wp-json\/wp\/v2\/posts\/433\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.dotcomunderground.com\/blogs\/wp-json\/wp\/v2\/media?parent=433"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dotcomunderground.com\/blogs\/wp-json\/wp\/v2\/categories?post=433"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dotcomunderground.com\/blogs\/wp-json\/wp\/v2\/tags?post=433"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}