MAC Builds Linux Cross Compiling Environment

MAC Builds Linux Cross Compiling Environment Preparation Run script Preparation Create a new case-sensitive hard disk partition with the disk tool of mac. Follow-up suggestions are made in this partition. Otherwise, there will be errors such as file missing. Running scripts requires gnu-sed, not ...

Posted by mjseaden on Fri, 04 Oct 2019 09:21:07 -0700

The meaning of setting ConnectionTimeout and SetReadTimeout in jdk (in detail)

Let's start with an example. Client: package top.quartz.util; /** * description: //connect timeout Setting up connection timeout time; * //read timeout,Is the timeout for data transfer. * Both values must be set. If only one is set, either case will block. * Then the current application present ...

Posted by mediabox on Mon, 30 Sep 2019 06:25:26 -0700

Deep Understanding of the INVALID State of Connection Tracking

Several states in user-mode connection tracking A connection tracking system defines several states in which a connection may be in: NEW: The initial state of a connection (e.g. the arrival of a SYN packet in a TCP connection), or the firewall receives only traffic in one direction (e.g. before the firewall receives a reply packet). ESTABLISHE ...

Posted by Jeremiah on Fri, 27 Sep 2019 06:01:27 -0700

30 classic cases of Shell Scripting

Contents of this article Download files from FTP server 22. Continuous input of 5 numbers less than 100, statistic sum, minimum and maximum 23. Assign the results to variables, respectively 24. Batch modification of file names 25. Statistics of the total number of files in the current directory ending with. html 26. Scanning host port sta ...

Posted by mihomes on Fri, 13 Sep 2019 23:01:12 -0700

Intelligent DNS Solution across region-01

Project Background: Considering many problems such as high reliability, there may be multiple architectures in public or private clouds, such as two places, three centers and so on. Requirements in different regions of the instance node through the same domain name resolution to local A records or cloud products CNAME, and achieve high reliabil ...

Posted by Kurt on Thu, 12 Sep 2019 01:45:18 -0700

Detailed PXE high-efficiency batch network installation and kickstart unattended technology in CentOS 7

PXE High Efficiency Batch Network Installation Batch deployment of servers Scaling: assembling multiple servers at the same time Automation: Install systems, configure services Remote implementation: no installation media such as CD, U disk, etc. About PXE Network PXE Pre-boot execution environment, run before operating system Can be used f ...

Posted by cybercrypt13 on Tue, 10 Sep 2019 10:13:31 -0700

Linux Remote YUM Warehouse and NFS Service

Overview of YUM Software Update Mechanism Based on RPM Package Construction Automatically resolving dependencies All packages are provided by a centralized YUM software repository The Way of Providing Software Warehouse FTP service: ftp://... HTTP service: http://... Local directory: file://... Sources of RPM Packages Collection of RPM P ...

Posted by ShiloVir on Mon, 09 Sep 2019 03:24:40 -0700

Building DNS Domain Name Resolution Service in CentOS7

Role of DNS systems The role of the DNS system in the network is to maintain an address database, which records the relationship between various host domain names and IP addresses in order to provide forward or reverse address query services to clients. Forward Resolution: Find the corresponding IP address based on the host name (domain name) ...

Posted by Valect on Thu, 05 Sep 2019 12:12:19 -0700

LinuxPXE+Kickstrart Unattended Installation Service

Requirements: Turn off your own DHCP service in VMware Virtual Network Editor Host Name operating system IP Address NoneOS Centos7 192.168.72.250 Custormer nothing       1. Hang in local mirror source This configuration Yum repository, install DHCP service [root@NoneOs ~]# yum install dhcp -y 2. Configuring DHC ...

Posted by jaykappy on Thu, 29 Aug 2019 18:42:01 -0700

Go debugging tool: gdb vs dlv

Although the GoLand editor is very powerful, it is still relatively weak in displaying memory and stack information. Maybe my posture is wrong. So, I started to debug the gdb, but the GDB stepped into the pit and did not solve it, which triggered the comparison between GDB and dlv. gdb install yum install ncures-devel wget http://ftp.gnu.org/gn ...

Posted by el_quijote on Thu, 15 Aug 2019 06:45:26 -0700