Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to build a local server

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

In this issue, the editor will bring you about how to build the local server. The article is rich in content and analyzes and narrates it from a professional point of view. I hope you can get something after reading this article.

A local server is a server where the computer acting as the server is placed locally. In front-end development, a local web server is often set up to run the project. Some friends who are not familiar with the construction of the website may find it very difficult to build a server on the local computer, but it is actually very easy to get started, as long as you need to follow the steps. Here are the specific steps for building a local server.

First: download

First download a web server environment installation package, this document can be downloaded in cms, that is, dream cms system software, the file directory is called php server integration suite.

Second: unpack the installation package

After decompression, there will be a small icon called cmsampzfordebug.exe operation, and then double-click the mouse this small icon will pop up an installation dialog box, the following will show its way to store the detailed address, the default setting is D disk, which does not need to change can be installed directly, and then will automatically extract all compressed packages to the d disk under a folder called cmsampz.

Third: installation

After the decompression is completed, a dialog box will pop up to inform you of some options that can be changed. Except for the root customer password: 123456 and the default setting of the domain name, the website address should not be changed, and then click install. After the installation, there will be a reminder: successfully complete the installation!

At this moment, there are relative changes at the bottom of the prompt box, you can directly select the release program process, it is best to choose manual installation. At this time you can find the desktop on the computer, the lower right tray area to have an emerald green hexagonal small icon, this small icon is the integrated environment suite operation management program, and maSQL has already been running, we click on the lower right of the small icon to open the main dialog box, you can see the Apache network server in operation, MySQL network server is also in operation, which indicates that the local server environment has been built.

Fourth: check whether this network server is working properly.

Since we have not made all the changes in the whole process of installation, the default installation way for the network server environment is D:DedeAMPZWebRootDefault, so we need to open the Default document, create a new text document in it, and then rename it (name itself), but change the file suffix to .html. It is clear that a prompt box will pop up later to inform you that if you change the suffix name of the document. It is likely to cause a reminder that the file cannot be used, so you can click it directly. At this point, the notepad file will become a web page source code, you can use a special tool for text documents to write it, write some content at will and then save it.

Then, you want to start the website and enter the URL localhost. If you can see the content you have just written in which text document, it means that there is no problem with the web server. If it is not shown, it indicates that there is a problem with this network server. There is also another way to test, that is, you do not need to create a new web page source code, you can directly enter the URL localhost in the computer browser, if you show the contents of Default in this document, it means that there is no problem with the network server; on the contrary, it indicates that there is a problem with the network server.

This is how the local server shared by the editor is built. If you happen to have similar doubts, please refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report