Article directory Preface 1. What is a decision tree? 1. Classification trees and regression trees 2. Basic concepts 2. Basic algorithmic ideas of decision trees How to choose the splitting condition of a certain node? 1. Information Entropy 2. Information Gain (ID3 algorithm) 3. Gain Ratio (C4.5 algorithm) 4. Gini Index (CART algorithm) When to […]
Tag: root
Linux non-root user installation lamps
#Install lamps-7Aug19 (version: 2019-08-07) For convenience, I created a folder /home/hsiung/software/lammps. All files are downloaded and installed in this folder. cat /etc/redhat-release Use the cat command to check the version: CentOS Linux release 7.9.2009 (Core) 1. Download and install openmpi (mpich can also be used, see the installation process of lamps-10Aug15 below for details) openmpi […]
Root delimitation method for nonlinear equations (C++)
Article directory Graphical method General steps Implement code Case Analysis dichotomy General steps Implement code Case Analysis Trial position method Implement code Case Analysis Solving the roots of nonlinear equations is another very important problem in scientific research and engineering calculations. Whether it is solving differential equations in mathematical theory, optimization problems, numerical simulations, or […]
“Embedded” Make your own rootfs root file system
Use busybox to create a rootfs root file system that can run on your own board In the embedded development process, every time we get a new board, the first three things we need to do are to burn the uboot kernel boot program, burn the linux kernel, and burn the rootfs root file system. […]
Regarding the problem that cloud host root cannot log in from VNC
1. Problem description During a certain baseline reinforcement process, front-line feedback was reported that after leaving the work station, the original root login session was disconnected when returning, and ordinary users could not switch to root. They tried to use the mobile cloud console for VNC login, but it also prompted a login failure: Report: […]
Linux extended root file system
This article describes the expansion of the root file system through the tools that come with Linux without installing additional packages. We can see that the root disk is 46.6G: #lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 46.6G 0 disk ├─sda1 8:1 0 1G 0 part /boot └─sda2 8:2 0 19G […]
android10.0(Q) MTK 6765 user version opens root permissions
Foreword Compared with Android 8.1 and 9.0, rooting in Android 10.0 version has become quite troublesome. The dynamic partition mechanism was introduced in 10.0. Similarly, if you want to completely root adb, you need to unlock fastboot and then turn off verity before adb remount can succeed. I tried to modify the initial values of […]
[linux disk expansion root disk expansion]
Linux disk expansion – root disk expansion Reference blog: Click to jump to the original blog 1. Operation command partprobe /dev/vda fdisk /dev/vda d n p Y a w xfs_growfs/ 2. Operation echo log [root@master-001 ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sr0 11:0 1 1024M 0 rom vda 253:0 0 200G 0 […]
K8s Rootkit cluster control
Preface to the article k0otkit is a general post-exploitation technology that can be used to penetrate Kubernetes clusters. Attackers can use k0otkit to quickly, covertly and continuously operate all nodes in the target Kubernetes cluster (reverse shell). The main technologies used by K0otkit There are the following: kube-proxy image (taken from local sources) Dynamic container […]
Install mysql on ubuntu without root permissions to solve the problem of missing libaio
Write a custom directory title here Preface Install mysql on ubuntu without root permissions 1. Download and unzip the mysql installation package 2. Write my.cnf configuration file 3. Install mysql 4. Start mysql 5. Log in to mysql and change the password 6. Enable remote access refer to Foreword With root privileges, installing mysql is […]