{"id":4603,"date":"2009-06-08T18:00:47","date_gmt":"2009-06-08T18:00:47","guid":{"rendered":"https:\/\/www.amitbhawani.com\/blog\/?p=4603"},"modified":"2009-09-11T04:07:33","modified_gmt":"2009-09-11T04:07:33","slug":"run-wordpress-offline-guide","status":"publish","type":"post","link":"https:\/\/www.amitbhawani.com\/blog\/run-wordpress-offline-guide\/","title":{"rendered":"How to Install &#038; Run WordPress Offline"},"content":{"rendered":"<p>If you are not connected to the Internet and are looking for blogging, then you need to either write your blog posts on your local word processor or else on notepad which are just normal applications where you can write the posts with few editions but if you are looking for working directly through on a WordPress CMS then its better to install this script on your local computer. Another situation is that you want to try out and install a new wordpress theme on your blog but you dont want your visitors to preview it before its completely customized and then launched. In these kind of situations you have a excellent option of installing a wordpress database and running the whole blog on your desktop computer.<\/p>\n<p>The first step in this would be to install a software on your computer like XAMPP which offers you to run Apache, MySql on your local pc. You can download the lite version of XAMPP <a href=\"http:\/\/www.apachefriends.org\/en\/xampp-windows.html\/\">here<\/a> and check out the following process to install it.<\/p>\n<p><img data-recalc-dims=\"1\" decoding=\"async\" title=\"Xampp Apache MySql PC\" src=\"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/Images\/X\/Xampp-Control-Panel.PNG\" alt=\"Xampp Apache MySql PC\" \/><\/p>\n<p><strong>XAMPP Installation Process :<\/strong><br \/>\n[NOTE: Unpack the package to your USB stick or a partition of your choice.<br \/>\nThere it must be on the highest level like E:\\ or W:\\. It will<br \/>\nbuild E:\\XAMPPlite or W:\\XAMPPlite or something like this. Please do not use the &#8220;setup_XAMPPlite.bat&#8221; for an USB stick installation!]<\/p>\n<ol>\n<li>Unpack the package into a directory of your choice. Please start the<br \/>\n&#8220;setup_XAMPPlite.bat&#8221; and beginning the installation. Note: XAMPPlite makes no entries in the windows registry and no settings for the system variables.<\/li>\n<li>If installation ends successfully, start the Apache 2 with<br \/>\n&#8220;apache_start&#8221;.bat&#8221;, MySQL with &#8220;mysql_start&#8221;.bat&#8221;. Stop the MySQL Server with &#8220;mysql_stop.bat&#8221;. For shutdown the Apache HTTPD, only close the Apache Command (CMD). Or using the fine XAMPP Control Panel with double-click on &#8220;xampp-control.exe&#8221;!<\/li>\n<li>Start your browser and type http:\/\/127.0.0.1 or http:\/\/localhost in the location bar. You should see our pre-made<br \/>\nstart page with certain examples and test screens.<\/li>\n<li>PHP (with mod_php, as *.php, *.php3, *.php4, *.php5, *.phtml), Perl by default with *.cgi, SSI with *.shtml are all located in =&gt; C:\\XAMPPlite\\htdocs\\.<br \/>\nExamples:<br \/>\n&#8211; C:\\XAMPPlite\\htdocs\\test.php =&gt; http:\/\/localhost\/test.php<br \/>\n&#8211; C:\\XAMPPlite\\myhome\\test.php =&gt; http:\/\/localhost\/myhome\/test.php<\/li>\n<li>XAMPPlite UNINSTALL? Simply remove the &#8220;XAMPPlite&#8221; Directory. But before please shutdown the apache and mysql.<\/li>\n<\/ol>\n<p>Once you are running the Apache &amp; MySQL on your computer, you need to download the wordpress script from wordpress.org website. Extract all the files from the zip file onto your computer. Then copy and paste all the wordpress files to the c:\\xampplite\\htdocs folder. Once you have moved all the files to this location you can now access the wordpress blog installation page through the browser while accessing http:\/\/localhost\/<\/p>\n<p>While going towards the next step you will be asked for the database details like Database Name, User Name &amp; Password where you need to enter the following details. This can be directly accessed at http:\/\/localhost\/wordpress\/wp-admin\/install.php<\/p>\n<p>\/\/ ** MySQL settings ** \/\/<br \/>\ndefine(&#8216;DB_NAME&#8217;, &#8216;wordpress&#8217;); \/\/ The name of the database<br \/>\ndefine(&#8216;DB_USER&#8217;, &#8216;root&#8217;); \/\/ Your MySQL username<br \/>\ndefine(&#8216;DB_PASSWORD&#8217;, &#8221;); \/\/ &#8230;and password (needs to be empty, just for local install)<br \/>\ndefine(&#8216;DB_HOST&#8217;, &#8216;localhost&#8217;); \/\/ 99% chance you won&#8217;t need to change this value<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/Images\/D\/Dashboard-Wordpress-Local-PC.png\" target=\"_blank\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" title=\"Wordpress 2.8 Admin Dashboard Local PC Setup\" src=\"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/Images\/D\/Dashboard-Wordpress-Local-PC.png?resize=517%2C294\" alt=\"Wordpress 2.8 Admin Dashboard Local PC Setup\" width=\"517\" height=\"294\" \/><\/a><\/p>\n<p>That&#8217;s it you have installed a new wordpress blog on your local computer with complete access, except that the posts will be stored on your local computers database which you can later transfer to your online blog easily. It takes a maximum of 10 minutes of install this stuff on your computer and you are ready with a blog. You can use this kind of options when you are not connected to the internet or when you want to save up your bandwidth costs by not customizing your wordpress blog online. Do let me know if you have any queries regarding this installation process.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you are not connected to the Internet and are looking for blogging, then you need to either write your blog posts on your local word processor or else on notepad which are just normal applications where you can write the posts with few editions but if you are looking for working directly through on [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":19203,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[228],"tags":[],"class_list":{"0":"post-4603","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-how-to","8":"entry"},"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2010\/12\/Xampp-Control-Panel.png?fit=447%2C364&ssl=1","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":9895,"url":"https:\/\/www.amitbhawani.com\/blog\/how-to-install-mac-os-x-snow-leopard-pc\/","url_meta":{"origin":4603,"position":0},"title":"How to Install Mac OS X Snow Leopard on a Windows PC","author":"Amit Bhawani","date":"April 12, 2010","format":false,"excerpt":"There are thousands of Computer Users who would always dream to own a Mac and this is not just for the beautiful looks or the powerful hardware but for the Operating System OS X which is one of the reason Apple is selling their products in large numbers. Now its\u2026","rel":"","context":"In &quot;How to Guide&quot;","block_context":{"text":"How to Guide","link":"https:\/\/www.amitbhawani.com\/blog\/category\/how-to\/"},"img":{"alt_text":"Apple Mac Windows Linux","src":"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2010\/04\/Apple-Mac-Windows-Linux-150x150.gif?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":20428,"url":"https:\/\/www.amitbhawani.com\/blog\/tool-install-windows-7-usb\/","url_meta":{"origin":4603,"position":1},"title":"Install Windows 7 through USB on PC without DVD \/ CD &#8211; Download Tool","author":"Amit Bhawani","date":"December 25, 2010","format":false,"excerpt":"We have earlier written many articles on how to install Windows 7 through USB & how to install Windows XP through USB all of which are bit lengthy options. While in this article we will be giving you a new tool by Microsoft which helps you in installing the OS\u2026","rel":"","context":"In &quot;Windows Blog&quot;","block_context":{"text":"Windows Blog","link":"https:\/\/www.amitbhawani.com\/blog\/category\/windows-blog\/"},"img":{"alt_text":"Windows USB DVD Choose ISO","src":"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2010\/12\/Windows-USB-DVD-Choose-ISO.png?fit=568%2C300&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2010\/12\/Windows-USB-DVD-Choose-ISO.png?fit=568%2C300&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2010\/12\/Windows-USB-DVD-Choose-ISO.png?fit=568%2C300&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":4511,"url":"https:\/\/www.amitbhawani.com\/blog\/install-remove-sodimm\/","url_meta":{"origin":4603,"position":2},"title":"What is So-Dimm &#8211; How to Install &#038; Remove SODIMM","author":"Amit Bhawani","date":"May 30, 2009","format":false,"excerpt":"SO-DIMM is the acronym for Small Outline, Dual Inline Memory Module. These are integrated circuits especially designed for use with small computer devices such as laptops and routers, and have digital circuitry that gives the same output for a smaller space, but usually uses much more power than their bigger\u2026","rel":"","context":"In &quot;Tips &amp; Tweaks&quot;","block_context":{"text":"Tips &amp; Tweaks","link":"https:\/\/www.amitbhawani.com\/blog\/category\/tips-tweaks\/"},"img":{"alt_text":"Sodimm Memory","src":"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/Images\/S\/Sodimm-Memory.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":17200,"url":"https:\/\/www.amitbhawani.com\/blog\/install-microsoft-zune-software-windows\/","url_meta":{"origin":4603,"position":3},"title":"How to Install Microsoft Zune Software on Windows PC","author":"Amit Bhawani","date":"December 4, 2010","format":false,"excerpt":"Microsoft needs you to install the Zune software in order to sync or transfer files from your Windows 7 Phone. In order to install the same you need to perform the following steps. First of all you need to visit the official zune.net website and click on the 'download now'\u2026","rel":"","context":"In &quot;Microsoft Blog&quot;","block_context":{"text":"Microsoft Blog","link":"https:\/\/www.amitbhawani.com\/blog\/category\/microsoft\/"},"img":{"alt_text":"Microsoft License Terms","src":"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2010\/12\/Microsoft-License-Terms-300x133.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":14824,"url":"https:\/\/www.amitbhawani.com\/blog\/install-windows-7-usb-pen-drive-tutorial\/","url_meta":{"origin":4603,"position":4},"title":"How to Install Windows 7 using USB Pen Drive &#8211; Tutorial","author":"Amit Bhawani","date":"October 8, 2010","format":false,"excerpt":"We had written earlier a tutorial on How to Install Windows XP via Pen Drive which was useful for Windows xp based computers, while in this article we will guide you on with a detailed tutorial on how you can easily install the Windows 7 Operating System on your Laptop\u2026","rel":"","context":"In &quot;Windows Blog&quot;","block_context":{"text":"Windows Blog","link":"https:\/\/www.amitbhawani.com\/blog\/category\/windows-blog\/"},"img":{"alt_text":"Windows7 USB Installation","src":"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2010\/10\/Windows7-USB-Installation-300x204.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":4609,"url":"https:\/\/www.amitbhawani.com\/blog\/protect-pc-spywares-blockers\/","url_meta":{"origin":4603,"position":5},"title":"Find if your PC is affected with Spywares","author":"Amit Bhawani","date":"June 9, 2009","format":false,"excerpt":"Anti-Virus can be really harmful to your computer, but that does not stop the story because there are Spywares which ruin your life by sharing your personal information stored on your computer to 3rd party without your permission or knowledge. This means that all your stored information on your computer\u2026","rel":"","context":"In &quot;Security Blog&quot;","block_context":{"text":"Security Blog","link":"https:\/\/www.amitbhawani.com\/blog\/category\/security\/"},"img":{"alt_text":"Computer Spyware Protection","src":"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/Images\/S\/Spyware-Protection-Ideas.gif?resize=350%2C200","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.amitbhawani.com\/blog\/wp-json\/wp\/v2\/posts\/4603","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.amitbhawani.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.amitbhawani.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.amitbhawani.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.amitbhawani.com\/blog\/wp-json\/wp\/v2\/comments?post=4603"}],"version-history":[{"count":0,"href":"https:\/\/www.amitbhawani.com\/blog\/wp-json\/wp\/v2\/posts\/4603\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.amitbhawani.com\/blog\/wp-json\/wp\/v2\/media\/19203"}],"wp:attachment":[{"href":"https:\/\/www.amitbhawani.com\/blog\/wp-json\/wp\/v2\/media?parent=4603"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.amitbhawani.com\/blog\/wp-json\/wp\/v2\/categories?post=4603"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.amitbhawani.com\/blog\/wp-json\/wp\/v2\/tags?post=4603"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}