Java code modularization - method

Java code modularization - method 1. Concept of method The purpose of Java method: modularity, reusability and simple application 2. Structure 3. Grammar public satatic int add(int a,int b,int c){ int sum = a+b+c; return sum; } public: access control characterStatic: static / /!!!int /double/void: enlarged return typeadd: na ...

Posted by chomedey on Mon, 22 Nov 2021 14:44:19 +0100

Linux three swordsman grep|sed|awk

linux three swordsman 1. Three swordsman application scenarios characteristiccommandscenegrepfilterThe grep command filters the fastestsedReplace, modify file content, take lineIf replacement / modification is required;Take out the content in a range (from 11:00 to 12:00)awkColumn fetching and statistical calculationTake columnComparison, com ...

Posted by goldlikesnow on Mon, 22 Nov 2021 01:06:09 +0100

Linux kernel learning 4 -- print process descriptor task_ Fields in struct

Let's practice printing process descriptor task_ Fields in struct The method used here is to insert the kernel module, and the method used is to traverse the process linked list 1, Task_ A preliminary interpretation of struct First, download your own source code. You can refer to my previous blog https://blog.csdn.net/weixin_45730790/article ...

Posted by shaunie123 on Sat, 20 Nov 2021 17:02:59 +0100

A complete understanding of Linux interrupt processing

What is an interrupt interrupt   It is a mechanism to notify the CPU after the external device completes some work (for example, after the hard disk completes the read-write operation, it informs the CPU that it has completed through interrupt). In the early days, computers without interrupt mechanism had to query the status of external d ...

Posted by Andy-H on Fri, 19 Nov 2021 17:40:55 +0100

Management of kernel level enhanced firewall in Linux

##########1, Features of Selinux############### 1. ObservationWhen Selinux is not turned on The files created in / mnt are moved to / var/ftp and can be accessed by vsftpd service Anonymous users can upload files after setting Displays "? When viewing a file using ls -Z /var/ftp When selinux is on: The files created in / mnt are mov ...

Posted by hakmir on Fri, 19 Nov 2021 14:27:18 +0100

1 - [high performance Nginx server] - 8 HTTP dynamic load balancing

1 what is dynamic load balancing In traditional load balancing, if the Upstream parameters change, the nginx.conf file needs to be reloaded every time, so the scalability is not very high. Therefore, we can adopt dynamic load balancing to realize the configurability and dynamics of Upstream without manually reloading nginx.conf. This is simil ...

Posted by BigMonkey on Wed, 17 Nov 2021 02:06:55 +0100

How to install Samba on Linux

Linux development is usually coded on Windows, and then the files are transmitted to Linux for compilation. When the project is a little large or multiple people develop at the same time, the whole process will become very cumbersome. If there is a tool that can be implemented, the code written will be synchronized to Linux in real time Samb ...

Posted by Dvector on Wed, 17 Nov 2021 01:55:44 +0100

linux scp command usage details

1: Foreword The Linux scp command is used to copy files and directories between Linux. scp is the abbreviation of secure copy. scp is a secure remote file copy command based on ssh login in linux system. scp is encrypted, rcp is not encrypted, and scp is an enhanced version of rcp. scp command can also be used under Windows system, so we ...

Posted by lucifer27 on Sat, 13 Nov 2021 02:36:40 +0100

Detailed explanation of Linux DNS Service -- DNS master-slave architecture configuration

Today, I will continue to introduce you to the basic knowledge of Linux. The main content of this article is the master-slave configuration of DNS. To read this article, you need to have a certain DNS foundation. If you are still confused about this, please refer to the following articles: Detailed explanation of Linux DNS Service -- basic know ...

Posted by shoppingspree on Thu, 11 Nov 2021 19:17:34 +0100

Installation of SVN server and SVN client under Linux tutorial and automatic deployment of code to the project (full)

Copyright notice: This article is the original article of the blogger and follows CC 4.0 BY-SA Copyright agreement, please attach the original source link and this statement. Link to this article: https://blog.csdn.net/qq_37655695/article/details/80579072 Installing SVN server under Linux 1. Introduction Subversion is an excellent version co ...

Posted by pokemon on Thu, 11 Nov 2021 03:14:37 +0100