How To Install A Local Server

Table of contents:

How To Install A Local Server
How To Install A Local Server

Video: How To Install A Local Server

Video: How To Install A Local Server
Video: How to Setup localhost Server in Windows 10 Create Local Host Server IIS Server Windows 10 2024, December
Anonim

A local server is used to debug sites without directly uploading them to the Internet. This makes it easier to edit the required scripts. You can build the server yourself using Apache and additional plugins, but this is a rather laborious process. For most users, it will be sufficient to stop at ready-made assemblies with an installer.

How to install a local server
How to install a local server

It is necessary

Denwer or XAMPP package

Instructions

Step 1

Self-build Apache allows you to customize the local server completely for your own needs, while the ready-made Denwer or XAMPP will provide the user with a server already configured and ready to use.

Step 2

To install Denver, download it from the official site as a base package that contains Apache, PHP5, MySQL5, management system for various server components, phpMyAdmin, sendmail and SMTP emulator.

Step 3

Check if the downloaded server pings. To do this, go to "Start" - "Run". In the window that appears, type "ping 127.0.0.1". If the lines "Answer from 127.0.0.0 number of bytes …" appear, then you can go directly to the server installation. If not, try disabling the firewall and antivirus software and running the command again.

Step 4

Run the installer. A window will open in which you will be asked to select the server installation directory. If the default "C: WebServers" suits you, then just press the "Next" button.

Step 5

Enter the name of the virtual disk that will be created when the server starts and will be linked to the already specified directory. The name of the virtual disk must not be the same as the name of the physical partition, so it is advisable to use the default name ("Z:").

Step 6

Next, the installation process will begin. Wait for it to complete, after which you will be asked to choose how the server will be started or stopped. Choose the option you prefer. The installation can be considered complete.

Step 7

Start Denver using the created "Start Denwer" shortcut on the Desktop. Once launched, open your browser, enter "https:// localhost / denwer /". If the installation was successful, a welcome window will be displayed in the browser window.

Recommended: