Common java troubleshooting commands and tools under Linux
Most of the environments described in this article are based on linux. For a program, under Linux, we can find the corresponding process ID according to the program response information:
ps -ef | grep java | grep -v grep | |awk '{print $2}'
In this way, we can get the process id and PID of the corresponding program
After obtaining the PI ...
Added by ledtear on Mon, 21 Feb 2022 05:37:52 +0200
Get twice the result with half the effort: understanding and using Helm
What's Helm?
Helm is the package manager of Kubernetes. Like package management tools such as yum and apt, helm can easily deploy the applications we want with one click.
Writing Helm has three main goals:
1. Easily realize "from zero to Kubernetes"; 2. Provide a software package management system similar to the operating syste ...
Added by g7pwx on Sun, 20 Feb 2022 19:03:11 +0200
Run the latest version of ElasticSearch8 and Kibana8 on CentOS 7
background
I've also built and experienced Elasticsearch 7 X's services and clusters, however, have been running in the Intranet environment at that time, and there is no configuration xpack related to its authentication. I remember the suggestion written at that time: because Elasticsearch does not enable the built-in security defense mechani ...
Added by daveyboy on Sun, 20 Feb 2022 18:19:51 +0200
Log management in LINUX system
Experimental environment
systemctl stop firewalld
1.journald
Service Name: SYSTEMd journal service journalctl Default log storage path: / run/log
Experiment 1 usage of journalctl command
journalctl -n 3 ## latest 3 entries in log --since "2020-05-01 11:00:00" ## displays the log after 11:00 --until "2020-05-01 11:05:00" ...
Added by PrinceOfDragons on Sun, 20 Feb 2022 08:23:00 +0200
Linux system openvpn installation configuration
openvpn version: 2.5.2
Server installation mode: source code compilation and installation
Certificate generation method: easy RSA 3
Server configuration
Compile and install
openvpn source code download address
Easy RSA download address
# system configuration
echo 'net.ipv4.ip_forward = 1' >> /etc/sysctl.conf
sysctl -p /etc/sys ...
Added by jassikundi on Sun, 20 Feb 2022 08:20:51 +0200
GoAccess lightweight nginx log analysis tool
What is GoAccess
GoAccess is an open source, real-time Web log analysis tool running under the command line terminal.
The tool provides fast and diverse HTTP status statistics.
The analysis results can be viewed through client tools such as XShell, and Html reports can be generated.
GitHub address: https://github.com/allinurl/goaccess
Offi ...
Added by Nomaad on Sun, 20 Feb 2022 06:37:29 +0200
Buddy of linux kernel (anti fragment mechanism steel page)
Follow < buddy (anti fragment mechanism) of Linux kernel (4) > , if there is not enough memory in the migration type specified in the same zone, the fallback mechanism will be started to find suitable other types from the fallbacks array, obtain the steel page, and implement the core processing function of steel page as steel_ suitable_ f ...
Added by noguru on Sun, 20 Feb 2022 02:13:17 +0200
Linux user management, file system permissions
user management
Users, Group Management Commands Organize: (1 message) Linux users, group management command collation and example details_ captainyuxiaoyu's Blog - CSDN Blog
sudo user authorization
Privileges to execute commands given to ordinary users by administrators
vim /etc/sudoers
redhat ALL=(ALL) NOPASSWD: /usr/sbin/useradd
Author ...
Added by akimm on Sun, 20 Feb 2022 01:41:19 +0200
MHA high availability cluster deployment and failover of database
1, MHA overview
MHA (MasterHigh Availability) is a set of excellent software for failover and master-slave replication in MySQL high availability environment. The emergence of MHA is to solve the problem of MySQL single point. During MySQL failover, MHA can automatically complete the failover operation within 0 ~ 30 seconds. MHA can ensure ...
Added by hyp0r on Sat, 19 Feb 2022 22:50:48 +0200
linux LVS cluster load balancing | working mode | scheduling algorithm | super detail
1, Meaning of cluster
Cluster, cluster It is composed of multiple hosts, but externally, it is only shown as a whole. It only provides an access portal (domain name or IP), which is equivalent to a mainframe computer.
1. Why do clusters exist In Internet applications, as the site has higher and higher requirements for hardware per ...
Added by ijmccoy on Sat, 19 Feb 2022 21:36:38 +0200