当前位置:网站首页>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 .
边栏推荐
- 攻防世界 MISC 进阶区 3-11
- 攻防世界 MISC 进阶区 Ditf
- Redis入门完整教程:慢查询分析
- Detailed explanation of flask context
- Advanced area of attack and defense world misc 3-11
- LOGO特訓營 第一節 鑒別Logo與Logo設計思路
- [cooking record] - stir fried 1000 pieces of green pepper
- 攻防世界 MISC 高手进阶区 001 normal_png
- 测试必会:BUG的分类及推进解决
- Prosperity is exhausted, things are right and people are wrong: where should personal webmasters go
猜你喜欢
攻防世界 MISC 进阶 glance-50
[OpenGL] note 29 anti aliasing (MSAA)
Unity Xiuxian mobile game | Lua dynamic sliding function (specific implementation of three source codes)
Breakpoint debugging under vs2019 c release
Redis入门完整教程:客户端通信协议
【机器学习】手写数字识别
Unity-VScode-Emmylua配置报错解决
Google Earth Engine(GEE)——Tasks升级,实现RUN ALL可以一键下载任务类型中的所有影像
Redis入门完整教程:Pipeline
Redis的持久化机制
随机推荐
Hit the core in the advanced area of misc in the attack and defense world
剑指 Offer 65. 不用加减乘除做加法
Redis入门完整教程:键管理
On-off and on-off of quality system construction
More than 30 institutions jointly launched the digital collection industry initiative. How will it move forward in the future?
How to reset the password of MySQL root account
[the 2023 autumn recruitment of MIHA tour] open [the only exclusive internal push code of school recruitment eytuc]
SPSS installation and activation tutorial (including network disk link)
Record: how to scroll screenshots of web pages on Microsoft edge in win10 system?
PMO: compare the sample efficiency of 25 molecular optimization methods
LOGO特训营 第二节 文字与图形的搭配关系
Redis入门完整教程:HyperLogLog
Logo special training camp section III initial creative techniques
Unity Xiuxian mobile game | Lua dynamic sliding function (specific implementation of three source codes)
Advanced area of attack and defense world misc 3-11
LOGO特訓營 第三節 首字母創意手法
Sword finger offer 65 Add without adding, subtracting, multiplying, dividing
Advanced area a of attack and defense world misc Masters_ good_ idea
NFT insider 64: e-commerce giant eBay submitted an NFT related trademark application, and KPMG will invest $30million in Web3 and metauniverse
md5工具类