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

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

The meaning of each parameter of the chown chomd command

Linux: Modify file permissions and owners 1. Import 2. chown (change file owner) 3. chmod (change access permissions of files or directories) 4. Application 1. Import Related things: (common commands for file operations: list directories ls) ls command parameters Description -a List all files and directories (including hidden files starting with .) – d List […]

[Comprehensive explanation of Linux commands] 004. Explore the chmod and chown tools in the Linux command line

Article directory chmod summary The main purpose parameter Options return value example chown Additional information grammar Options parameter Example Learn `python` from scratch chmod Used to change the permissions of a file or directory Summary chmod [OPTION]… MODE[,MODE]… FILE… chmod [OPTION]… OCTAL-MODE FILE… chmod [OPTION]… –reference=RFILE FILE… Main purposes Change the permissions of the target […]

shell command ping & pstree & id & chmod & chown & “> and &>” & format time & –stdin –stdout

ping & amp; pstree & amp; id & amp; chmod & amp; chown & amp; “> and & amp;>” & amp; format time ping concept Common parameters Check if the target host is connected pstree id chmod chown > and &> format time –stdin –stdout ping Concept Ping is often used to test the connectivity […]

[Linux] Permissions: (Detailed explanation with legends!!) User classification, file attributes, file types (file), role division (chown, chgrp), file permissions (chmod), directory permissions (default permissions, permission mask, sticky bit)

Article directory 1. The concept of authority 2. Linux user classification 3. Linux file attributes 3.1 File Types file — check the file type 3.2 Owner & amp; Group & amp; others chown — change owner chgrp — change group 4. Linux file permissions chmod — modify file permissions 5. Directory permissions 5.1 Default permissions […]

Linux users and permissions: recognize root users, users, user group management, view permission control, modify permission control – chmod and chown commands

Release Note Current version number [20230325]. Version Modification Description 20230325 First edition Knowledge overview map Table of Contents Article directory Release Notes Knowledge overview map Table of contents third chapter Cognitive root user root user (super administrator) su and exit commands sudo command Configure sudo authentication for normal users User and user group management user, […]

[Solved] Docker startup error: Failed to chown socket at step GROUP: No such process

This error is reported when docker is started after the installation is complete Solution vi /usr/lib/systemd/system/docker.socket Change SocketGroup=docker to SocketGroup=root systemctl list-unit-files | grep docker systemctl enable docker.service & amp; & amp; systemctl enable docker.socket systemctl daemon-reload systemctl restart docker systemctl status docker

[Solved] After centos7 builds nas mount, mysql reports an error: chown: changing ownership of ‘/var/lib/mysql/’: Operation not permitted

Phenomena: I built a nas service on a server, the configuration is as follows # server [root@server1 ~]# cat /etc/exports /home/share_data *(insecure,rw,all_squash,sync,anonuid=1000,anongid=1000) [root@yserver1 ~]# Then mount the disk on another server with the following configuration: Note: This method supports automatic mounting at startup # client vim /etc/fstab 192.168.101.2:/home/share_data /home/share_data nfs rw,hard,nointr,rsize=65536,wsize=65536,tcp,noac,nolock,vers=3 0 0 Manually mount […]