Build your own webmaster online toolbox

Preface

We often use some online tools in our work and life, such as Json formatting, MD5 encryption, image conversion to Base64, IP address query and other functions that I often use. Today I bring you an online tool for webmasters that contains more than 100 types. , in addition to the above practical functions, there are also various interesting tools such as Martian script, special symbols, dynasty timetable, etc.~

This article explains the webmaster tool building tutorial. You can experience it online through the link: https://tool.echeverra.cn . Follow the public account echeverra and reply to "Webmaster Tools" to obtain the source code.

Various advertisements have been removed from the source code, and background login issues have been fixed. Login has been changed from QR code login (bug exists) to account login.

Screenshot of webmaster tools:

Tutorial

1. Construction conditions

Before building the webmaster tool, you need to prepare:

  1. Linux server, CentOs version is recommended, lightweight application server is recommended, high cost performance.
  2. Webmaster Tools source code, follow my public account echeverra , and send "Webmaster Tools" to get it.
  3. Two domain names, two second-level domain names are recommended for front and backend, such as my frontend: tool.echeverra.cn, backend: admin.echeverra.cn.

2. Install the pagoda and environment

Pagoda is a server operation and maintenance management software. The installation command is:

yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh

Search the following software installation in the Pagoda Software Store:

  1. web server: Nginx1.18
  2. Programming language: PHP 7.4

Since all functions of the webmaster tools are implemented by the front end, no database is required.

3. Upload source code

After getting the source code, tool.zipupload the compressed file to the directory through the pagoda /www/wwwroot.

After successful upload, extract it to the current directory.

4. Modify files

Next we need to modify some file configurations.

First, you need to modify the front and back domain names and modify the files tool/route/route.php.

Replace all tool.echeverra.cnwith your front-end domain name, and replace all admin.echeverra.cnwith your back-end domain name. If there is no domain name, you can try using IP plus different port numbers as the front-end and back-end.

When modifying the website homepage link, modify the file tool/config/web.phpand tool.echeverra.cnreplace it with your front-end domain name.

Then configure the background administrator account, modify the file tool/config/admin.php, and define your own background user name and password. The default is admin/ 123456.

5. Create a site

Add a site in the Pagoda menu website, fill in your backend domain name as the domain name, select the root directory /www/wwwroot/tool, and select the PHP version PHP-74.

Click on the website you just created again to add your front-end domain name.

Select the website directory /publicand save it.

Because the project uses the ThinkPHP framework, you need to set pseudo-static, select thinkphp, and save.

The last step is to apply for an SSL certificate so that it can be accessed through https. Of course, it doesn't matter if you don't apply. Select the free Let's Encrypt from the SSL menu and select all sites to apply.

After the application is successful, you can force HTTPS, or you can renew the certificate and extend the expiration time.

6. Front-end and back-end websites

After the above operations are completed, you can access the webmaster's online tools and open your front-end link, such as mine: tool.echeverra.cn.

The interface is very simple and the functions are very powerful. Nice~

Open your backend link, my backend link: admin.echeverra.cn.

Backend login interface, enter the username and password you defined above, click Login, the backend homepage interface is as follows:

Open the menu to modify the specified file, such as a friendly link file, and save it after modification.

Follow-up

The original background of the webmaster online tool is QQ scan code login, but since the QQ security system upgrade no longer supports it, I repaired it and changed it to the account and password login method. However, because it does not use a database, I directly defined the account in in the configuration file.

The establishment of online webmaster tools is relatively simple, and most of the tools are relatively practical. Those who are capable can also add their own tools. If you want to have your own set of webmaster tools, then act quickly~

Okay, the above is all the content of the webmaster tool building tutorial. I hope it will be helpful to you. If you have any questions, please contact me through my blog https://echeverra.cn or the WeChat public account echeverra .

Have you learned to "waste"?

(over)


The article was first published on my blog https://echeverra.cn/web-tool . It is an original article. Please indicate the source when reprinting.

Welcome to follow my WeChat public account echeverra and learn and progress together! Resources and benefits will be given away from time to time!


Guess you like

Origin blog.csdn.net/weixin_41394875/article/details/132208260