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 an online management interface API tool ShowDoc environment

2025-04-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

In this issue, the editor will bring you about how to build the online management interface API tool ShowDoc environment. The article is rich in content and analyzes and describes for you from a professional point of view. I hope you can get something after reading this article.

Take Centos6.6, installation through yum as an example.

First you need to install one of the web server, apache or nginx (ignore if it is already installed), and then install the PHP environment for use

Install Apache + PHP

Yum install httpd

Yum install php php-gd php-mcrypt php-mbstring php-mysql php-pdo

Service httpd start

Chkconfig httpd on

After installation, the default Apache Web directory is / var/www/html. Upload ShowDoc and install it according to the deployment manual.

Install Nginx + PHP

Yum install nginx

Yum install php php-gd php-fpm php-mcrypt php-mbstring php-mysql php-pdo

After installation, create a new file 127.0.0.1.conf in / etc/nginx/conf.d

Server {

Listen 80

Server_name 127.0.0.1

Root / var/www/html

Index index.php index.html

Error_page 404 / 404.html

Location = / 40x.html {

}

Error_page 500 502 503 504 / 50x.html

Location = / 50x.html {

}

Location ~\ .php$ {

Root / var/www/html

Fastcgi_pass 127.0.0.1:9000

Fastcgi_index index.php

Fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name

Include fastcgi_params

}

Location ~ /\ .ht {

Deny all

}

}

Save. Then execute the command:

Service nginx start

Service php-fpm start

Chkconfig php-fpm on

Chkconfig nginx on

Then go to the directory / var/www/html (create a new one if it doesn't exist), upload the ShowDoc and install it according to the deployment manual (http://blog.star7th.com/2016/05/2007.html). After installation, you can access 127.0.0.1 through the browser.

The above is how to share with you how to carry out the online management interface API tool ShowDoc environment built, if you happen to have similar doubts, you might as well 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: 257

*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

Internet Technology

Wechat

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

12
Report