current location:Home > Technical Articles > System Tutorial > LINUX

  • Zabbix 3.4 Source code compilation installation
    Zabbix 3.4 Source code compilation installation
    1. Installation environment (Hyper-V virtual machine): $hostnamectlStatichostname:localhost.localdomainIconname:computer-vmChassis:vmMachineID:renwoles1d8743989a40cb81db696400BootID:renwoles272f4aa59935dcdd0d456501Virtualization:microsoftOperatingSystem:CentOS Linux7(Core)CPEOSName:cpe:
    LINUX 990 2024-09-04 07:32:49
  • Introduction to ansible's ansible.cfg configuration
    Introduction to ansible's ansible.cfg configuration
    After Ansible is installed by default, there is a configuration file /etc/ansible/ansible.cfg. This configuration file defines the default configuration part of the ansible host, such as whether a password is required by default, whether sudo authentication is enabled, the location of the action_plugins plug-in, and hosts The location of the host group, whether to enable the log function, the default port, the location of the key file, etc. The details are as follows: [defaults]#somebasicdefaultvalues...hostfile=/etc/ansible/hosts\\Specify the location of the default hosts configuration#library_path=
    LINUX 921 2024-09-02 16:40:09
  • Understand ansible architecture and working principles
    Understand ansible architecture and working principles
    Ansible is a model-driven configuration manager that supports multi-node publishing and remote task execution. By default, SSH is used for remote connections. There is no need to install additional software on managed nodes and it can be extended using a variety of programming languages. 1. Ansible Basic Architecture The picture above shows the basic structure of ansible. From the picture above, you can understand that it consists of the following parts: Core: ansible core modules (CoreModules): These are the modules that come with ansible. Extension modules (CustomModules): If the core If the module is not enough to complete a certain function, you can add extension module plug-ins (Plugins): Supplementary playbooks (Playbooks) to complete the module function: a
    LINUX 754 2024-09-02 15:59:59
  • Humanized HTTP command line tool——HTTPie
    Humanized HTTP command line tool——HTTPie
    This article is mainly to let readers understand Httpie, the HTTP command line client, and also learn about the interface. What is Httpie? Httpie (aych-tee-tee-pie) is an HTTP command line client. The goal is to make the interaction between the CLI and web services as user-friendly as possible. You can use it to easily debug the interface using http commands. The most commonly used ones are GET and POST. What is an interface? To give a simple example, if there is a pet store that sells animal food, such as cat food and dog food, then the food sold is an interface. If the cat comes, it will sell cat food, and if the dog comes, it will sell dog food. What kind of chicken, duck, fish or something like that? Just modify this
    LINUX 917 2024-09-02 15:56:02
  • VIM Editor Operation Guide
    VIM Editor Operation Guide
    vim[parameter][file..]Edit the specified file or:vim[parameter]-Read text from the standard input (stdin) or:vim[parameter]-ttagEdit the file at the tag definition or:vim[parameter]- q[errorfile] Edit the file parameters of the first error:--After this, only the file name -v Vi mode (same as "vi")-e Ex mode (same as "ex")-EImprovedExmode-s Quiet (batch processing ) mode (can only be used with "ex")-d Diff mode (same as "vimdiff")-
    LINUX 1208 2024-09-02 15:47:23
  • Detailed explanation: Shell script variable judgment parameter command
    Detailed explanation: Shell script variable judgment parameter command
    The system variable $n is the parameter passed to the script or function. n is a number indicating the number of parameters. For example, the first parameter is $1, and the second parameter is $2$? The exit status of the previous command, or the return value of the function. Returns 0 on success, 1 on failure $#Number of parameters passed to the script or function $* All these parameters are enclosed in double quotes. If a script receives two parameters, $* is equal to $1$2$0The name of the command being executed. For shell scripts, this is the path to the activated command. When $@ is enclosed in double quotes (""), it is slightly different from $*. If a script receives two parameters, $@ is equivalent to $1$2$$the process number of the current shell. For a shell script, this is the process I when it is executing
    LINUX 599 2024-09-02 15:25:59
  • How to use Golang logs to monitor your application?
    How to use Golang logs to monitor your application?
    But how do you use Golang logs to monitor your application? There are no exceptions in Golang, only errors. So your first impression may be that developing a Golang logging strategy is not a simple matter. Not supporting exceptions is actually not a problem, exceptions have lost their exceptionality in many programming languages: they are so overused that their usefulness is ignored. Before going further, we will first introduce the basics of Golang logging and discuss Golang logging standards, the meaning of metadata, and minimizing the impact of Golang logging on performance. With logs, you can track user activity in your app, quickly identify broken components in your project, and monitor overall performance and user experience.
    LINUX 913 2024-09-02 15:11:36
  • Introduction to the classic and easy-to-use JavaScript framework Vue.js
    Introduction to the classic and easy-to-use JavaScript framework Vue.js
    This article aims to introduce a useful JavaScript framework Vue.js, so that readers can have a preliminary understanding of it. What is VueVue (pronounced /vjuː/, similar to view) is a progressive framework for building user interfaces. Unlike other large frameworks, Vue is designed to be applied layer by layer from the bottom up. Vue's core library only focuses on the view layer, which is not only easy to get started, but also easy to integrate with third-party libraries or existing projects. On the other hand, when combined with a modern tool chain and various supporting libraries, Vue is fully capable of providing drivers for complex single-page applications. Features of Vue - Computed properties It is very convenient to write expressions in Vue templates, but if you put complex
    LINUX 654 2024-09-02 15:05:02
  • Ansible usage: simple use of ansible-playbook
    Ansible usage: simple use of ansible-playbook
    ansbile-playbook is a collection of system ansible commands, which are written in the yaml language and run during the process. The ansbile-playbook commands are executed in a top-down order. At the same time, playbook has created many features. It allows you to transfer the status of a certain command to a subsequent command. For example, you can grab content from a file on one machine and attach it as a variable, and then use it on another machine. This allows you to implement some complex deployment mechanisms that are not possible with ansible commands. playbook is used through the ansible-playbook command. Its parameters are similar to the ansible command, such as the parameter -k(–as
    LINUX 1085 2024-09-02 14:55:04
  • Introducing ansible's Ad-hoc and commands modules
    Introducing ansible's Ad-hoc and commands modules
    Ad-Hoc refers to a command that is temporarily executed under ansible and does not need to be saved. For complex commands, playbook will be mentioned later. When talking about Ad-hoc, we must mention modules. All command execution depends on pre-written modules. Ansible installed by default already comes with many modules, such as: command, raw, shell, file, cron, etc. , which can be viewed through ansible-doc-l. 1. Ad-hoc1. Direct execution. Let’s start with an example often used in the previous chapters: [root@361way~]#ansible10.212.52.252-a'upti
    LINUX 577 2024-09-02 14:16:09
  • Centos 7 backup and restore Redis data
    Centos 7 backup and restore Redis data
    What is Redis? Redis is an in-memory key-value cache and store (i.e. database) that can also be persisted to disk. In this article, you will learn how to back up and restore your redis database on Centos7. Backup and Restore Instructions By default, Redis data will be saved to a .rdb file on disk, which is a point-in-time snapshot of the Redis data set. Snapshots are taken at specified intervals, so are perfect for backups. Data Backup In Centos7 and other Linux distributions, the default Redis database directory is /var/lib/redis. However, if you have changed the redis storage location, you can find it by typing: [
    LINUX 509 2024-09-02 14:02:32
  • Linux's love-hate relationship with ping packages
    Linux's love-hate relationship with ping packages
    By default, Linux systems allow ping, but in some cases, for security reasons, we set the server to disable ping. To temporarily allow the ping command, you can use the command: echo0>/proc/sys/net/ipv4/icmp_ignore_all. :0, represents permission; 1, represents prohibition of viewing the current settings: 0, for which we can ping and try using the ping command - t can continuously allow or prohibit ping. Modify the configuration file /etc/sysctl.conf and add a line as shown above. net.ipv4.icmp_echo_ignore_all=11 means prohibited.
    LINUX 930 2024-09-02 14:01:10
  • Centos7 add delete Swap exchange partitions
    Centos7 add delete Swap exchange partitions
    Swap means: swap partition, similar to Windows virtual memory, but when the physical memory is insufficient, part of the hard disk space is used as virtual memory, thereby solving the problem of insufficient physical memory capacity. Advantages: cost savings. Disadvantages: Inadequate performance. This method is not limited to Centos7 and can be used on all Linux systems. Operating user: root. Add swap partition space. Use the dd command to create the swap partition file /dev/mapper/centos-swap, with a size of 2G: $ddif=/dev/zeroof=/dev/mapper/centos-swapbs=1024count=2048000. Format the swap partition. :
    LINUX 726 2024-09-02 13:50:43
  • Centos 7 smoothly and seamlessly upgrades PHP7.1.0 to PHP 7.1.5
    Centos 7 smoothly and seamlessly upgrades PHP7.1.0 to PHP 7.1.5
    Experimental environment: CentOS Linux release 7.3.1611 (Core) Kernel version: Linux version 3.10.0-514.el7.x86_641. There are two ways to check the PHP version, and the display results are the same. The first one #/usr/local/php/bin/php-v The second one #php-vPHP7.1.0(cli)(built:Dec17201617:00:32)(ZTS)Copyright(c)1997-2016ThePHPGroupZendEnginev3.1.0- dev,Copyright(c)1998-201
    LINUX 1199 2024-09-02 13:43:20
  • A brief introduction to common modules of ansible
    A brief introduction to common modules of ansible
    This article introduces commonly used modules. According to the official classification, the modules are classified by function into: cloud module, command module, database module, file module, asset module, message module, monitoring module, network module, notification module, package management module, source code control module, system module, Unit module, web facility module, windows module, please refer to the official page for details. Here we select some of the most commonly used modules from the officially classified modules for introduction (the commands module has been introduced in the previous article and will not be mentioned here). 1. The ping module tests whether the host is accessible. The usage is very simple and does not involve parameters: [root@361way~]#ansible10.212.52.252-mping10
    LINUX 469 2024-09-02 13:36:00

Tool Recommendations

jQuery enterprise message form contact code

jQuery enterprise message form contact code is a simple and practical enterprise message form and contact us introduction page code.
form button
2024-02-29

HTML5 MP3 music box playback effects

HTML5 MP3 music box playback special effect is an mp3 music player based on HTML5 css3 to create cute music box emoticons and click the switch button.

HTML5 cool particle animation navigation menu special effects

HTML5 cool particle animation navigation menu special effect is a special effect that changes color when the navigation menu is hovered by the mouse.
Menu navigation
2024-02-29

jQuery visual form drag and drop editing code

jQuery visual form drag and drop editing code is a visual form based on jQuery and bootstrap framework.
form button
2024-02-29

Organic fruit and vegetable supplier web template Bootstrap5

An organic fruit and vegetable supplier web template-Bootstrap5
Bootstrap template
2023-02-03

Bootstrap3 multifunctional data information background management responsive web page template-Novus

Bootstrap3 multifunctional data information background management responsive web page template-Novus
backend template
2023-02-02

Real estate resource service platform web page template Bootstrap5

Real estate resource service platform web page template Bootstrap5
Bootstrap template
2023-02-02

Simple resume information web template Bootstrap4

Simple resume information web template Bootstrap4
Bootstrap template
2023-02-02

Cute summer elements vector material (EPS PNG)

This is a cute summer element vector material, including the sun, sun hat, coconut tree, bikini, airplane, watermelon, ice cream, ice cream, cold drink, swimming ring, flip-flops, pineapple, conch, shell, starfish, crab, Lemons, sunscreen, sunglasses, etc., the materials are provided in EPS and PNG formats, including JPG previews.
PNG material
2024-05-09

Four red 2023 graduation badges vector material (AI EPS PNG)

This is a red 2023 graduation badge vector material, four in total, available in AI, EPS and PNG formats, including JPG preview.
PNG material
2024-02-29

Singing bird and cart filled with flowers design spring banner vector material (AI EPS)

This is a spring banner vector material designed with singing birds and a cart full of flowers. It is available in AI and EPS formats, including JPG preview.
banner picture
2024-02-29

Golden graduation cap vector material (EPS PNG)

This is a golden graduation cap vector material, available in EPS and PNG formats, including JPG preview.
PNG material
2024-02-27

Home Decor Cleaning and Repair Service Company Website Template

Home Decoration Cleaning and Maintenance Service Company Website Template is a website template download suitable for promotional websites that provide home decoration, cleaning, maintenance and other service organizations. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-05-09

Fresh color personal resume guide page template

Fresh color matching personal job application resume guide page template is a personal job search resume work display guide page web template download suitable for fresh color matching style. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-29

Designer Creative Job Resume Web Template

Designer Creative Job Resume Web Template is a downloadable web template for personal job resume display suitable for various designer positions. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28

Modern engineering construction company website template

The modern engineering and construction company website template is a downloadable website template suitable for promotion of the engineering and construction service industry. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!