# Installing Drupal on Windows

1. Download XAMPP Download
2. Download Drupal Download
3. Download Microsoft Visual C++ Download
4. Install Microsoft Visual C++
5. Right click the downloaded XAMPP file > Extract All...
6. Right click the downloaded Drupal .zip file > Extract All...
7. Rename the extracte Drupal folder drupal
8. Cut the drupal folder inside the XAMPP/htdocs directory
9. Copy the extracted XAMPP directory to a safe location to run from, C:\Program Files for example
10. Run XAMPP/setup_xampp.bat to update the configuration files with the new server location
11. Run XAMPP/xampp-control.exe
12. Click the Start button next to Apache and MySQL
13. Navigate to XAMPP/mysql/bin
14. Hold the SHIFT key and right click in the white space > Open PowerShell windows here...
15. Type the following in the PowerShell window to setup the Drupal database
    ./mysql -u root
    CREATE DATABASE drupal DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;
    GRANT ALL ON drupal.* TO 'drupal_rw'@'localhost' IDENTIFIED BY 'Dru4@l!!';
    FLUSH PRIVILEGES;
    EXIT;
    exit
16. Open a web browser and navigate to http://DNSorIP/drupal
17. The Drupal setup screen should be displayed
18. Select a language > Click Save and continue
19. Select the Standard profile > Click Save and continue
20. Enter the database name, username and password > Click Save and continue
21. Create a site title and Drupal login > Click Install Drupal
22. When the installation completes, enter a site name, email address, username and password > Click Save and continue
23. Welcome to your very own, self-hosted Drupal installation