1. Install nginx in docker: It is very simple to install Nginx in docker. You can refer to Baidu article, or refer to docker to install mysql: https://www.jb51.net/article/144426.htm 2. After installation, enter the docker container: Execute command: docker exec -it container id bash . Note that the container must be open to access. 3. Take modifying nginx's index.html as an example: 1. Enter the directory where index is located: cd usr/share/nginx/html 2. Edit index.html. Here comes the error, as follows 3. If there is no vim command, install it: apt-get install vim If unsuccessful Update apt-get command: apt-get update 4. After the update, execute the third step command: apt-get install vim 5. After the vim command is successfully imported, enter /usr/share/nginx/html and execute: vim index.html 3. External request verification: The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM. You may also be interested in:
|
<<: How to implement a multi-terminal bridging platform based on websocket in JS
>>: MySQL 8.0.11 MacOS 10.13 installation and configuration method graphic tutorial
need: Merge identical items of one field and sort...
--1. Create a new group and user for mysql # user...
Starting and shutting down Tomcat under Linux In ...
Idea: Just sort randomly first and then group. 1....
Table of contents cause: go through: 1. Construct...
html: In fact, it is to arrange several solid cir...
According to data analysis company Net Market Sha...
MySQL is a relational database management system ...
There are two meta attributes: name and http-equiv...
We live in a visual world and are surrounded by m...
01. Command Overview The gcc command uses the C/C...
Next, I will install Java+Tomcat on Centos7. Ther...
Preface Recently, when I was building a project, ...
MySQL error: Parameter index out of range (1 >...
This article example shares the specific code of ...