linuxf service management -- time synchronization service

1, server side configuration Install the time synchronization server. There are no special requirements and there is no need to change the configuration. Server ip: 192.168.91.159 [root@www zoneinfo]# yum -y install ntp [root@www zoneinfo]# systemctl start ntpd #Change the configuration file and add the following two items [root@www ntp]# vi ...

Posted by greenhorn666 on Sun, 23 Jan 2022 18:16:19 +0100

SocketIO introduction + SpringBoot integrates SocketIO to complete real-time communication

Socket.IO notes Instant messaging is based on TCP long connection. After the connection is established, the client / server can send data to the opposite end at any time for unlimited times, so as to realize the immediacy of server data transmission HTTP HTTP is a short link, which is designed to reduce the pressure on the server ...

Posted by dgrinberg on Sun, 23 Jan 2022 16:53:10 +0100

Java Web -- what is Session and its usage

1. What is a Session When a user requests a Web page from an application, the server will create a Session object for each user (browser); When the user data needs to be saved, the server program can write the user data to the session exclusive to the user browser; When a user jumps between Web pages of an application, the variables stored in ...

Posted by chings on Sun, 23 Jan 2022 16:11:01 +0100

Bufferless file IO and directory operations

Python wechat ordering applet course video https://edu.csdn.net/course/detail/36074 Python practical quantitative transaction financial management system https://edu.csdn.net/course/detail/35475 introduction In the background development, for file I/O, we usually do not use fopen, fread and fwrite standard I/O encapsulated in C language, b ...

Posted by Chef-Mars on Sun, 23 Jan 2022 10:05:18 +0100

Advanced system & Service Management

catalogue Batch installation Overview and principle of DHCP: Overview of network installation Batch installation Overview and principle of DHCP: -Dynamic Host Configuration Protocol, organized and formulated by IETF (interente network engineer task force), is used to simplify host address allocation management -The following net ...

Posted by flashicon on Sun, 23 Jan 2022 03:42:19 +0100

Ajax homology policy

Ajax request limit: Ajax can only send requests to its own server. If two pages have the same protocol, domain name and port, the two pages belong to the same source. As long as one of them is different, it is a different source. For example: http://www.example.com/dir/page.html http://www.example.com/dir2/other.html : homologous http://exa ...

Posted by Danno13 on Fri, 21 Jan 2022 14:20:13 +0100

The website nginx configuration limits the access frequency of a single IP to prevent DDOS malicious attacks

1, Introduction For websites, especially famous websites with large traffic, they often encounter attacks, such as DDOS attacks. Although some third parties, such as Cloudflare, can block them, for dynamic websites, PHP can only block some. At this time, it is necessary to limit the flow of a single IP malicious attack. Two modules of nginx ca ...

Posted by fredted40x on Fri, 21 Jan 2022 00:55:11 +0100

Java mail implementation

E-mail To realize the mail function on the network, there must be a special mail server. These mail servers are similar to the post office in real life. It is mainly responsible for receiving the mail delivered by users and delivering the mail to the e-mail of the mail recipient. SMTP Server address: generally smtp.xxx.com,For example, mail ...

Posted by ntg on Thu, 20 Jan 2022 23:23:38 +0100

Things to do after buying ECS

  today, I'm bringing you how to configure your environment in ECs. Let me explain my configuration first. I use Alibaba cloud server ECS + Ubuntu 20.04 64 bit. Different servers and different system versions may lead to slightly different operations. If you are a user of Huawei cloud, Tencent cloud or Baidu cloud, please explore mo ...

Posted by shortj75 on Thu, 20 Jan 2022 04:21:01 +0100

RH358 provides file based networked storage automated provisioning of file based storage

RH358 provides file based networked storage – automated provisioning of file based storage This chapter describes how to use Ansible to provide file based network storage. This demonstration can also make better use of Ansible. 1. Deploy NFS server using Ansible The following is a basic overview of the tasks required to deploy ...

Posted by dubhcat on Thu, 20 Jan 2022 03:40:06 +0100