当前位置:网站首页>Set up a website with a sense of ceremony, and post it to 1/2 of the public network through the intranet
Set up a website with a sense of ceremony, and post it to 1/2 of the public network through the intranet
2022-07-04 22:51:00 【probezy】
The confession creativity between lovers is always full of tricks , And with innovative ideas , And a sense of ceremony , Can easily move the other half's heart . however , Memory is always strange , It's easy to lose freshness after experiencing beauty . How can we beat time , Let the memory live forever ? here , We can use cpolar Build a system that can be accessed at any time , And only belong to the Internet memory space of two people . Now let's see how to operate !
Generally speaking , The establishment of a website , You need to install the running environment of the web page on the server , Deploy all the files required for the operation of the website on the server , And carry out various debugging , Only in this way can the website be normally visited by Internet visitors . But doing so requires not only renting server space , And maintain it often , Devote a lot of resources and energy . But if we can store all the content needed to build a website on local electronic devices , Re pass cpolar The data tunnel function of is published on the public Internet , It will undoubtedly save a lot of resources and energy , And according to their own needs , Add various functions to web pages , Such as date or time reminder .
Of course , Want to enable local electronic devices to create web pages , We must build the necessary operating environment for the web page . And we can use a web page to run the suite , To achieve this goal . ad locum , We use PHPStudy Kit , As an environment program for web pages . This software looks like , This is what it looks like .

After the software is installed locally , Automatically enabled MySQL( Database software )、Nginx or Apache( Are web server software ). Start up PHPStudy( And its web page running environment ) after , It's the first step of building our website : Build a web page running environment .
After having a web page running environment , We can put a web page ( Including the contents ), Put into this running environment , Let this web page run on local electronic devices . At this point, we can use the power of open source , Find an open source web page suitable for confession and commemoration , Add this page to our running environment , We can make this web page available to us . Here we use https://gitee.com/selfeasy/love.git This resource ( I would like to thank the original author for his generous open source ).

Click... On the top right “ clone / download ”, Store this web page on your local electronic device , And unpack it , We can get the files related to the web page running shown in the list .


Then put these files , All copied to PHPStudy Under the webpage directory of the software . The specific location is (D:\phpstudy_pro\WWW), Here (D:) The disk number installed for the software ( To avoid permission conflicts ,PHPStudy It's better not to install it in C Disk or system disk ); and WWW Folder , Namely PHPStudy Web file storage folder . In this case , In order to avoid the confusion of web pages , So in WWW New folder “web2” Folder , The files used to store the web page .

next , We go back to PHPStudy In software , Click on the left side of the panel “ Website ” tab , Click “ Create a website ” Button .

stay “ Create a website ” Interface , We need to make some simple settings for the upcoming web page , Including web page output port , Web file storage location, etc .

among ,“ domain name ” Item we input “localhost”; Port is “80” port ; Click the root directory “ Browse ”, find PHPStudy Directory WWW Under folder web2 Folder , And click the “ Select the folder ”; take “ Sync hosts” Check out . After all settings are completed , You can click “ confirm ”, Complete the establishment of the web page .
At this point, we return to the browser , Enter the domain name you just entered when building the website “localhost:80”, You can go to the newly established web page .


Of course , Content elements in web pages , Can be edited , But this will involve deeper web code editing . We can also find more similar open source web design on the Internet , Apply it to our website .
When the local web page is successfully established , We can go through cpolar Establish a data tunnel , Publish it on the public Internet , Let it become a witness of confession and commemoration , At the same time, it can also let a group of friends witness this romance . If you are right about cpolar Have any questions , Welcome to contact us , We will certainly provide you with assistance within our ability . Of course, welcome to join cpolar Of VIP Official group , Explore together cpolar The infinite potential of .
边栏推荐
- 繁华落尽、物是人非:个人站长该何去何从
- Logo special training camp section 1 Identification logo and logo design ideas
- 关于栈区、堆区、全局区、文字常量区、程序代码区
- 集群的概述与定义,一看就会
- 醒悟的日子,我是怎么一步一步走向软件测试的道路
- Sword finger offer 65 Add without adding, subtracting, multiplying, dividing
- Embedded development: skills and tricks -- seven skills to improve the quality of embedded software code
- 攻防世界 MISC 进阶 glance-50
- Google Earth engine (GEE) - tasks upgrade enables run all to download all images in task types with one click
- Logo Camp d'entraînement section 3 techniques créatives initiales
猜你喜欢

Business is too busy. Is there really no reason to have time for automation?

Persistence mechanism of redis

UML diagram memory skills

SPSS安装激活教程(包含网盘链接)

Advanced area a of attack and defense world misc Masters_ good_ idea

Redis入门完整教程:Pipeline

Wake up day, how do I step by step towards the road of software testing

攻防世界 MISC 进阶区 hit-the-core

MySQL Architecture - logical architecture
页面关闭前,如何发送一个可靠请求
随机推荐
Li Kou 98: verify binary search tree
Challenges faced by virtual human industry
Advanced area a of attack and defense world misc Masters_ good_ idea
Talk about Middleware
Solana chain application crema was shut down due to hacker attacks
【室友用一局王者荣耀的时间学会了用BI报表数据处理】
[machine learning] handwritten digit recognition
The table is backed up in ODPs. Why check m in the metabase_ Table, the logical sizes of the two tables are inconsistent, but the number of
特征缩放 标准化 归一化
About stack area, heap area, global area, text constant area and program code area
MYSQL架构——逻辑架构
Shell script implements application service log warehousing MySQL
剑指 Offer 65. 不用加减乘除做加法
Attack and Defense World MISC Advanced Area Erik baleog and Olaf
Close system call analysis - Performance Optimization
[OpenGL] note 29 anti aliasing (MSAA)
Redis入门完整教程:Redis Shell
LOGO特训营 第三节 首字母创意手法
Redis入门完整教程:慢查询分析
md5工具类