0231.html 4.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Installing WordPress on Windows</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <meta charset="UTF-8">
  7. <meta name="keywords" content="Browser Based,Home Lab,Home Lab Ideas,Install Guide,Self-Hosted,Web Based,Web Based Tools,FOSS,Free Open Source Software,Free Software,Microsoft Windows,Open Source Software,Open-Source,PHP,Web Server,Web Server Administration,Windows,XAMPP,Web Server Administrator,WordPress,How To Install WordPress On Windows,WordPress Installation Guide,How To,Tutorial,i12bretro">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Installing WordPress on Windows">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <meta name="revised" content="08/13/2022 09:20:33 AM" />
  12. <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
  13. <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
  14. <script type="text/javascript" src="includes/js/steps.js"></script>
  15. <link href="css/steps.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="gridContainer">
  19. <div class="topMargin"></div>
  20. <div id="listName" class="topMargin">
  21. <h1>Installing WordPress on Windows</h1>
  22. </div>
  23. <div></div>
  24. <div id="content">
  25. <ol>
  26. <li>Download XAMPP <a href="https://sourceforge.net/projects/xampp/files/XAMPP%20Windows/" target="_blank">Download</a></li>
  27. <li>Download WordPress&nbsp;<a href="https://wordpress.org/latest.zip" target="_blank">Download</a></li>
  28. <li><label for="cb_li_917989_0">Download Microsoft Visual C++&nbsp;</label><label for="cb_li_917989_0"><a href="https://aka.ms/vs/16/release/vc_redist.x64.exe" target="_blank">Download</a></label></li>
  29. <li>Install&nbsp;Microsoft Visual C++</li>
  30. <li>Right click the downloaded&nbsp;XAMPP file &gt;&nbsp;Extract All...</li>
  31. <li>Right click the downloaded&nbsp;Wordpress .zip file &gt; Extract All...</li>
  32. <li>Make a copy of wordpress/wp-config-sample.php&nbsp;and name it wp-config.php</li>
  33. <li>Cut&nbsp;the wordpress folder inside the XAMPP/htdocs directory</li>
  34. <li>Copy the extracted XAMPP directory to a safe location to run from, C:\Program Files for example</li>
  35. <li>Run XAMPP/setup_xampp.bat to update the configuration files with the new server location</li>
  36. <li>Run XAMPP/xampp-control.exe</li>
  37. <li>Click the Start button next to Apache and MySQL</li>
  38. <li>Navigate to XAMPP/mysql/bin</li>
  39. <li>Hold the SHIFT key and right click in the white space &gt; Open PowerShell windows here...</li>
  40. <li>Type the following in the PowerShell window to setup the WordPress database
  41. <div class="codeBlock">./mysql -u root<br />
  42. CREATE DATABASE wordpress DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;<br />
  43. GRANT ALL ON wordpress.* TO &#39;wordpress_user&#39;@&#39;localhost&#39; IDENTIFIED BY &#39;W0rdPr3ss!!&#39;;<br />
  44. FLUSH PRIVILEGES;<br />
  45. EXIT;</div>
  46. </li>
  47. <li>Open a web browser and navigate to&nbsp;https://api.wordpress.org/secret-key/1.1/salt/</li>
  48. <li>Copy the response for use shortly</li>
  49. <li>Navigate to XAMPP/htdocs/wordpress and edit wp-config.php with a text editor</li>
  50. <li>Press CTRL+F and search for &#39;DB_NAME&#39;</li>
  51. <li>Update the database name, username and password</li>
  52. <li>Press CTRL+F and search for &#39;AUTH_KEY&#39;</li>
  53. <li>Paste the secure secret keys generated earlier, overwriting the template</li>
  54. <li>Save the changes to wp-config.php</li>
  55. <li>Open a web browser and navigate to http://DNSorIP/wordpress</li>
  56. <li><label for="cb_li_138017_24">The Wordpress setup screen should be displayed</label></li>
  57. <li><label for="cb_li_200802_25">Select a language &gt; Click Continue</label></li>
  58. <li><label for="cb_li_618739_26">Create a site title and WordPress login &gt; Click Install WordPress</label></li>
  59. <li><label for="cb_li_676045_27">When the installation completes, login with the WordPress credentials created in the previous step</label></li>
  60. <li><label for="cb_li_194715_28">Welcome to your very own, self-hosted WordPress installation</label></li>
  61. </ol> </div>
  62. </div>
  63. </body>
  64. </html>