current location:Home > Technical Articles > System Tutorial > LINUX
- Direction:
- All web3.0 Backend Development Web Front-end Database Operation and Maintenance Development Tools PHP Framework Daily Programming WeChat Applet Common Problem Other Tech CMS Tutorial Java System Tutorial Computer Tutorials Hardware Tutorial Mobile Tutorial Software Tutorial Mobile Game Tutorial
- Classify:
-
- Introduction to Ansible Dynamic Inventory
- AnsibleInventory actually consists of two parts: static Inventory and dynamic Inventory. Static Inventory refers to the hosts and groups specified in the file /etc/ansible/hosts. DynamicInventory refers to obtaining the host list through an external script and returning it in the format required by ansible. To ansilbe command. This part generally combines the CMDB asset management system, zabbix monitoring system, crobble installation system, cloud computing platform, etc. to obtain host information. Since host resources generally increase or decrease dynamically, these systems generally update intelligently. We can use these tools to provide a
- LINUX 863 2024-08-24 10:44:02
-
- 7 ways to help you check the registration date of Linux users
- Did you know, how to check the creation date of an account on a Linux system? If you know, what can you do? Did you succeed? If yes, how to do it? Basically Linux systems don't track this information, so what are the alternative ways to get this information? You may ask why am I checking this? Yes, there are situations where you may need to review this information and it will be helpful to you at that time. You can use the following 7 methods to verify. Use /var/log/secure Use aureport tool Use .bash_logout Use chage command Use useradd command Use passwd command Use last command Method 1: Use /var/l
- LINUX 784 2024-08-24 07:31:32
-
- Summary of ansible usage: ansible installation
- 1. Introduction Ansible is a configuration management and application deployment tool. Its functions are similar to the current industry configuration management tools Chef, Puppet, and Saltstack. Ansible is developed through Python language. The Ansible platform was created by Michael DeHaan, who is also the author of the well-known software Cobbler and Func. The first version of Ansible was released in February 2012. Ansible manages machines through the SSH protocol by default, so Ansible does not need to install a client program on the server. You only need to install Ansible on a server. After Ansible is installed, you can manage and control it.
- LINUX 980 2024-08-24 07:31:14
-
- How to determine whether a Linux disk is a solid state drive or a mechanical hard drive
- Three methods to determine whether a Linux disk is a solid state drive or a mechanical hard drive: Method 1 determines the return value of cat/sys/block/*/queue/rotational (where * is the name of your hard drive device, such as sda, etc.), if it returns 1 If it returns 0, it means the disk cannot rotate, so it is an SSD. [pythontab@pythontab.com~]$cat/sys/block/sda/queue/rotational0[pythontab@pythontab.com~]$grep^/sys/block/*/queu
- LINUX 1190 2024-08-23 19:33:51
-
- Interesting commands under Linux
- Let us learn the fun command screenfetch in Linux: display system and theme information. Installation and use: sudoaptinstallscreenfetchscreenfetch rendering: linux_logo: Linux version logo picture and system information. Installation and use: sudoaptinstalllinuxlogolinux_logo rendering: view the built-in logo list: linux_logo-f -LlistAvailableBuilt-inLogos:NumTypeAsciiNameDescription1ClassicYesa
- LINUX 1095 2024-08-22 19:58:45
-
- rtop monitors remote hosts via SSH
- rtop is a direct, interactive SSH-based remote system monitoring tool that collects and displays important system performance metrics such as CPU, disk, memory, and network metrics. It is written in Go and does not require any additional programs to be installed on the server to be monitored, except for an SSH server and login credentials. rtop basically collects various system performance information by starting an SSH session and executing certain commands on the remote server. Once the SSH session is established, it refreshes the information collected from the remote server every few seconds (5 seconds by default), similar to all other top-like applications in Linux (such as htop). Installation requirements: To install rtop make sure you have Go installed in Linux (
- LINUX 846 2024-08-22 12:02:32
-
- Use the Diff and Meld tools to compare the differences between two directories
- Generally, to compare two files under Linux, we will use diff (a simple command line tool derived from Unix) to display the differences between two computer files; it compares files line by line, and is very convenient to use. , pre-installed in almost all Linux distributions. The question is how can we compare two directories under Linux? Now, we want to know which files/subdirectories are common to both directories and which ones only exist in one directory. The general syntax for running diff is as follows: $diff[OPTION]…FILES$diffoptionsdir1dir2 By default, the output is sorted alphabetically by the file name of the file/subfolder, as shown in the screenshot below
- LINUX 443 2024-08-21 16:39:30
-
- How to use awk to output fields and columns in text
- First of all, we need to know that awk can automatically separate the input line into several fields. Each field is a set of characters separated from other fields by an internal field separator. If you are familiar with Unix/Linux or know bashshell programming, then you should know what the internal field separator (IFS) variable is. The default IFS in awk is tab and space. The field separator in awk works as follows: when a line of input is read, it is split into different fields according to the specified IFS. The first set of characters is field one, which can be accessed through $1, and the second set of characters is field two. , can be accessed through $2, the third group of characters is field three, can be accessed through $3, and so on.
- LINUX 564 2024-08-21 07:32:02
-
- Redis high availability practice
- 0×01 Preface Redis is an open source log-type Key-Value database written in ANSIC language, supports network, can be memory-based and persistent, and provides APIs in multiple languages. Nowadays, Internet business data is growing at a faster rate, and data types are becoming more and more abundant, which puts forward higher requirements for data processing speed and capabilities. Redis is an open source in-memory non-relational database that brings a disruptive experience to developers. Designed from start to finish with high performance in mind, Redis is the fastest NoSQL database available today. While considering high performance, high availability is also an important consideration. Internet 7×24 uninterrupted service during downtime
- LINUX 1171 2024-08-20 16:51:04
-
- Redis high availability practice
- 0×01 Preface Redis is an open source log-type Key-Value database written in ANSIC language, supports network, can be memory-based and persistent, and provides APIs in multiple languages. Nowadays, Internet business data is growing at a faster rate, and data types are becoming more and more abundant, which puts forward higher requirements for data processing speed and capabilities. Redis is an open source in-memory non-relational database that brings a disruptive experience to developers. Designed from start to finish with high performance in mind, Redis is the fastest NoSQL database available today. While considering high performance, high availability is also an important consideration. Internet 7×24 uninterrupted service during downtime
- LINUX 753 2024-08-20 16:51:02
-
- Javascript is not easy for beginners either
- Here are some tips and pitfalls that Javascript beginners should know. If you're already an expert, brush up on this. Javascript is nothing more than a programming language. How could it possibly go wrong? 1. Have you ever tried to sort a set of numbers? Javascript's sort() function sorts using alphanumeric (String Unicode code points) by default. So [1,2,5,10].sort() will output [1,10,2,5]. To sort an array correctly, you can use [1,2,5,10].sort((a ,b)=>a — b) Very simple solution, the premise is that you have to know that there is such a pit 2.newDate
- LINUX 1130 2024-08-20 07:32:07
-
- Compare and sync files in Ubuntu with FreeFileSync
- FreeFileSync is a free, open source, and cross-platform folder comparison and synchronization software that can help you synchronize files and folders in Linux, Windows, and MacOS. It is portable and can be installed on a local system, is feature-rich and is designed to save time setting up and performing backup operations, while having an attractive graphical interface. FreeFileSync Features Here are its main features: It can synchronize network shares and local disks. It can synchronize MTP devices (Android, iPhone, tablets, digital cameras). It can also be synced via SFTP (SSH File Transfer Protocol). It can identify moved and renamed files and files
- LINUX 1130 2024-08-19 19:39:33
-
- Linux compression helper bzip2
- There are several file compression and decompression tools in Linux, such as gzip, 7-zip, Lrzip, PeaZip, etc. In this tutorial, we will introduce how to use the bzip2 tool to compress and decompress .bz2 files in Linux. bzip2 is a very famous compression tool and is available on most major Linux distributions. You can install it with the appropriate command on your distribution. $sudoaptinstallbzip2[OnDebian/Ubuntu]$sudoyuminstallbzip2[OnCentOS/RHEL]$sudodnfinstallbzip2[OnFedora
- LINUX 699 2024-08-19 07:32:02
-
- Network card allocation problem under vmware
- To configure the network card and randomly assign IP addresses, I installed the basic server version and used NAT mode. Then, make sure that in the service, these two are started. When centos was first installed, there was no eth0 network card. cd/etc/sysconfig/network-scripts and then ls, you can see that ifcfg-eth0 exists, but viifcfg-eth0 is not activated. You can see that pressing the "insert" key means entering the edit mode. Set ONBOOT=yes, then press the "esc" key, ":" key, "w" key, "q" key, ifcfg-eth0 is modified servicenetwork
- LINUX 956 2024-08-19 04:40:02
-
- How to permanently mount a Windows share on Linux
- Interacting with a Windows network on Linux has never been easy. Think about how many enterprises are adopting Linux and need to collaborate with each other on both platforms. Fortunately, with the help of a few tools, you can easily map a Windows network drive to a Linux machine, even ensuring that the share remains after you reboot the Linux machine. Before we begin to implement this you will need to use the command line. The process is very simple, but you need to edit the /etc/fstab file, so proceed with caution. Also, I assume you have Samba working properly, can manually mount the share from the Windows network to your Linux machine, and know the owner of the share.
- LINUX 639 2024-08-18 07:36:32