Tag:Port number

  • How to modify the default port number of react

    Time:2021-4-16

    problem We often encounter this situation when we use react, the 3000 port number is occupied. Sometimes we can turn off Port 3000, but more often, when we need to open multiple projects, we have to open multiple ports. At this time, you need to modify the default port number. terms of settlement Modify the […]

  • TCP protocol: ensure the complete delivery of page files to the browser

    Time:2021-4-15

    This article is a summary of what we have learned recently about TCP workflow With the following thinking, let’s go to TCP: how does TCP ensure that the page file can be completely delivered to the browser? First of all, we know that there is an important indicator to measure the performance of web pages,FP(First […]

  • I’m garbage 02: protocol handler start failed caused by:

    Time:2021-4-14

    Recently, when using MAC to start the project, it was found that an error was reported Protocol handler start failedCaused by: java.net.SocketException: Permission denied After inquiry, it was found thatLinux does not allow ordinary users to bind to TCP ports < = 1024 \. There is a reason for discussion [here](https://unix.stackexchange.co…)。 You tried to bind […]

  • Redis – Chapter 3 – installation and configuration

    Time:2021-4-14

    Official website address https://redis.io/ download wget https://download.redis.io/releases/redis-6.0.10.tar.gz install cd redis-6.0.10 make cd src make install PREFIX=/usr/local/redis Note: make compilation failed, probably because there is no GCC service Check whether GCC is installed rep -qa|grep gcc Install GCC yum -y install gcc yum -y install gcc-c++ Move the configuration file to the installation directory mv redis.conf […]

  • The basic command operation of Linux to database firewall nginx

    Time:2021-4-1

    1. Operation of database Open database:systemctl start mariadbRestart the database:systemctl restart mariadbClose the database:systemctl stop mariadb Database initialization operation: MySQL_ secure_ installationRefresh database permissions:flush privileges 2. Operation of firewall View the status of your firewall:firewall-cmd –stateRestart the firewall:firewall-cmd –reloadManually close the firewall:systemctl stop firewalld.serviceManually open the firewall:systemctl start firewalld.service Set the firewall not to start […]

  • The way to solve bugs – nginx 502 bad gateway

    Time:2021-3-30

    The way to solve bugs – nginx 502 bad gateway preface It turns out that reading the source code of Linux kernel has great benefits, especially when dealing with problems. When you see the error report, you can flash the phenomenon / cause / solution in your mind. Even the phenomenon of some corners can […]

  • CentOS installing gitlab

    Time:2021-3-30

    What is gitlab?Gitlab is an open source project for warehouse management system. It uses git as a code management tool and builds a web service based on it. 1. Install gitlab, find the matching Chinese package first, and then download gitlabDownload address of gitlab in Chinahttps://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/Gitlab Chinese package download addresshttps://gitlab.com/xhang/gitlab/-/branches/stale 2. Install gitlabChoose 11.10.8 here […]

  • Simple HTTP service

    Time:2021-3-24

    Simple HTTP service loadhttpmodular const http = require(‘http’); usehttp.createServer()Method to create awebThe server const server = http.createServer(); registerrequestRequest event, when the customer service request comes, it will automatically trigger the serverrequestRequest the event, and then execute the second parameter: callback processing server.on(‘request’, function(request, response) { //Return the data and end the request at the same […]

  • Super practical nginx minimalist tutorial, covering common scenes

    Time:2021-3-21

    Author: Dunwu Link:https://github.com/dunwu/nginx-tutorial summary What is nginx? Nginx (engine x) is a lightweight web server, reverse proxy server and e-mail (IMAP / POP3) proxy server. What is reverse proxy? Reverse proxy means that the proxy server accepts the connection request on the Internet, then forwards the request to the server on the internal network, and […]

  • Super practical nginx minimalist tutorial, covering common scenes

    Time:2021-3-20

    Author: Dunwu Link:https://github.com/dunwu/nginx-tutorial summary What is nginx? Nginx (engine x) is a lightweight web server, reverse proxy server and e-mail (IMAP / POP3) proxy server. What is reverse proxy? Reverse proxy means that the proxy server accepts the connection request on the Internet, then forwards the request to the server on the internal network, and […]

  • Notes for novice when deploying dolphin DB

    Time:2021-3-6

    Notes for novice when deploying dolphin DB 1. Why do Linux users have the error of “permission denied” when they start the control node or proxy node from the command line? For Linux users, before starting dolphin dB, you need to execute the following command to modify the permissions of executable files, enter the server […]

  • Use redis data reveal (RDR) to view the memory space occupied by the key in redis

    Time:2021-3-3

    The response speed of the project is relatively high, so redis cache is used for all the projects, which also leads to cache failure. It is necessary to analyze the memory usage of various keys for optimization. Although redisclient can easily operate redis, it can’t view the memory occupied by the corresponding key, and can’t […]