Tag:Port number
-
Vue scaffold configuration agent
Method 1: in Vue config. JS add the following configuration devServer: { Proxy: “remote server address and port number”, } explain: Advantages: simple configuration. When requesting resources, it can be sent directly to the front end (8080). Disadvantages: multiple agents cannot be configured, and it is not possible to flexibly control whether requests go through […]
-
PHP implements a simple socket
//Ensure that there is no timeout when connecting to the client set_time_limit(0); //Set IP and port number $address = “127.0.0.1”; $port = 54321; $socketServer = socket_create(AF_INET, SOCK_STREAM, SOL_TCP) or die(“socket_create() fail:” . socket_strerror(socket_last_error()) . “/n”); //Set to blocking mode socket_set_block($socketServer) or die(“socket_set_block() fail:” . socket_strerror(socket_last_error()) . “/n”); //Binding port $result = socket_bind($socketServer, $address, $port) or […]
-
How to integrate kkfileview in the project to preview files in almost any format
No nonsense, just go to the installation tutorial 1、 Download address gitee.com/kekingcn/file-online-pre… 2、 Decompress tar xvf kkFileView-4.0.0.tar.gz -C /opt/ 3、 Enter the decompression directory cd /opt/kkFileView-4.0.0/bin 4、 Execute command ./startup.sh The figure below shows that the installation is successful 5、 Visit local domain name plus sloganlocalhost:8012View the installation effect 6、 Use the command/ showlog. SH […]
-
Go backend development + Vue real train
Because I switched from Java to go, the code structure is very similar to that I used java before Here is only a simple practical application without too much theoretical explanation Working environment: ide: Golan, go 1.17.7 framework, gin + Gorm, front-end Vue I’ll just talk more about the front end here. You can pull […]
-
[introduction to docker practice] detailed analysis of dockerfile: building docker image (1) basic image centos7
Dockerfile DockerIt is the container technology in the software industry. Made from the following documentsDockerimage [[email protected] docker-training]# cd centos7/ [[email protected] centos7]# ls aliyun-epel.repo aliyun-mirror.repo Dockerfile supervisord.conf DockerfileAutomatically build the configuration file of docker image, which is similar to the shell command under Linux. [[email protected] centos7]# vim Dockerfile # # MAINTAINER Carson,C.J.Zeong <[email protected]> # DOCKER-VERSION 1.6.2 […]
-
Simple record diagram TCP / IP
0x00 eBook “Graphic TCPIP (5th Edition). PDF”https://www.aliyundrive.com/s/gF9tDM43deSClick the link to save, or copy the content of this paragraph, and open the “Alibaba cloud disk” app. There is no need to download the high-speed online view, and the original video picture can be played at double speed. 0x01 OSI reference model physical layer Direct switching between […]
-
What if “firewall is not running” appears in the Linux CentOS system
Recently, MySQL database was installed on Alibaba cloud server CentOS. By default, the remote access function is not enabled. You need to set up a firewall. When opening the default port number 3306, you will be prompted that firewall is not running. After investigation, it is found that the firewall is not open. For installation […]
-
Intranet penetration tool construction (server and client)
Recently, a project needs to publish orders to a third-party platform. If someone buys them later, they will request our interface to change the order status, etc! Due to local development and testing, they can’t access the intranet when they request our interface, so they need to use intranet penetration. Of course, now there are […]
-
Installing Jenkins for Mac
Enter the official website Jenkins official website download address Enter the download interface of MacOS system There are two ways to install MacOS. One is to usebrewInstall, the other is download.pkgInstall the installation package of, which is the followinginstallers for previous Jenkins versions Here I usebrewInstallation. LTS is a long-term maintenance version. Here I installed […]
-
Detailed explanation of k8s yaml template configuration of Devops CI / CD analysis (III)
Earlier, we explained the basic command of dockerfile and the writing of dockerfile. Because the whole Devops CI / CD process involves a lot of knowledge, in this section, we begin to summarize the configuration of kubernetes (k8s) yaml template. When we are familiar with the contents of kubernetes (k8s) yaml template, we finally write […]
-
Hadoop fully distributed installation and deployment
Hadoop operation modes include: local mode, pseudo distributed mode and fully distributed mode. This time, we mainly complete the construction of the fully distributed mode commonly used in the actual production environment. Before building the fully distributed mode, we need to plan the cluster deployment in advance. Do not concentrate too many services on one […]
-
Simple tutorial of spring boot (III) web page development (JSP)
In the last chapter, we talked about the thymeleaf development of web page development.Now we need to talk about the JSP page development we used to use. Because JSP can not realize many features of spring boot, spring boot does not recommend using JSP for page development. JSP page development First, it needs to be […]