, The use of rpm yum command and the meaning of parameters. 2. Upload the image to the virtual machine to build a local yum source. 3. The meaning of each parameter of the chown chomd command. 4. How to use the fdisk partd hard disk partition command? 5. In your own virtual

1. Use of rpm, yum commands, parameter meanings (1) The use of common rpm commands and the meaning of parameters Install a software package: rpm -i package.rpm: Install a software package. parameter: -i: Install the software package. –nodeps: Ignore dependencies. –force: Force installation even if the package is already installed. Upgrade software package: rpm -U […]

Mount the same directory on two hard disks in Linux

Reference: https://zhuanlan.zhihu.com/p/456193585 Step one: View disk information View existing physical volume information pvdisplay If the logical volume management system tool is not installed apt install lvm2 ## I use Ubuntu View disk partitions fdisk -l I want to use the following two SSDs to mount to the same directory. Results of the: Disk /dev/nvme0n1: 465.78 […]

Build local machine yum source, chown command, hard disk partition, virtual machine adds hard disk

Linux commands: (1) Linux yum command yum (Yellow dog Updater, Modified) is a shell front-end package manager in Fedora and RedHat and SUSE. Based on RPM package management, RPM packages can be automatically downloaded and installed from designated servers, dependencies can be automatically processed, and all dependent software packages can be installed at once, eliminating […]

Kafka disk full log cleaning operation

Recently, the Kafka cluster of the project team always had too many messages written to the Kafka topic from the application side, causing the broker node to be full, causing other components to go down one after another. Here, you can communicate with the application to delete messages from 1 day ago to clean up […]

Redis write failureMISCONFRedisisconfiguredtosaveRDBsnapshots, but is currently not able to persist on disk

The Java log error is as follows: redis hput exception org.springframework.dao.InvalidDataAccessApiUsageException: MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error. ; nested exception is redis.clients.jedis.exceptions.JedisDataException: MISCONF Redis is configured […]

[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 […]

MySQL Performance Optimization Guide: In-depth analysis of the mechanism of flushing redo logs to disk

Article directory MySQL Redo Log Performance Optimization Guide The impact of redo logs on database performance Mechanism for flushing redo logs to disk Practical use 1. Confirm MySQL redo log configuration 2. Force redo log refresh 3. Check whether the redo log has been flushed to disk Performance Optimization Guide 1. Place redo log files […]

Build a shared disk (iscsi disk sharing)

1. Overview of iscsi disk sharing The implementation principle of iSCSI disk sharing is mainly based on iSCSI Target software and TCP/IP network protocol. The storage space of the server is allocated to the client. The client can use the iSCSI disk like a local hard disk, including partitioning and formatting it. And reading and […]

Linux disk partitioning command line tool competition, which one should you choose?

Article directory Detailed explanation of disk partition commands 1 Introduction 1.1 Overview of disk partitions 1.2 The role of disk partitioning 1.3 Principles of disk partitioning 2. fdisk command 2.1 Introduction to fdisk command 2.2 Install and start fdisk 2.3 Basic usage 2.4 Create partition 2.5 Delete partition 2.6 View partition information 3. parted command […]