First of all, we need to download required tools, Wamp server, WordPress CMS and notepad ++. You need to find which version is compatible for your computer OK, my operating system is 32 bit, so, let’s download that version. OK, we got all required tools.
- Assign a Static Local IP Address for your Server. Open CMD (command prompt) and type ipconfig /all. The windows command is used for displaying all current network configuration information. This is all info what you need IP Address, Subnet Mask, Default Gateway and DNS server OK, let’s Assign a Static IP Address Right click on computer icon and open network and sharing center. Click on Change adapter settings Right click on your local adapter, and click properties Find and open Internet Protocol Version 4 (TCP/IPv4) Select Use the following IP address And enter your new IP address, Subnet mask, Default gateway, and DNS server, that corresponds with your network setup IP address has been set successfully.
- Wamp Installation. Before the Wamp installation, let’s install notepad ++ Installation takes some time, so I’ll skip the process You can choose another web browser for Wamp server. Also choose a Notepad OK, we successfully installed the Wamp server, now let’s test it.
- Test Wamp Server with Your First PHP Script. Start Wamp server and go to localhost Server works fine, now let’s create PHP file. Go to Wamp, www, it is a root directory folder. Open index PHP file with notepad Delete all script and type the following Save file, and refresh the page Done, we created PHP file successfully.
- Secure Wamp Server, (Set MySQL Root Password) Open your web browser and type localhost/phpmyadmin. Type root in Username box and hit enter Click on “User accounts” Find account with user name “root” and host name “localhost” Click “Edit privileges” Then “Change password” Type your password twice and hit “Go”. Make sure, that your password is strong, includes symbols, numbers, uppercase and lowercase characters Restart server And log in with your new password OK, MySQL root password has been set successfully.
- WordPress Installation. Unzip WordPress. Go to root directory folder, and create a new folder for your local website Move all WordPress files in your website folder. Go to localhost/phpmyadmin and Create MySQL Database for your WordPress website Open the wp-config-sample.php file with notepad. Type your database name, user and password my database name is website_wp username root and type MySQL database password Save file as wp-config.php. Open your web browser, and go to your website Choose language and hit continue. Enter your details and click “Install WordPress.” We successfully installed WordPress on localhost using Wamp server.