Category:Linux

  • Build an open source project 14 – install and deploy Kafka and download ruoyi

    Time:2020-11-25

    1、 Install and deploy message queue Kafka 1. Prepare zookeeper service first Kafka is dependent on zookeeper, so run zookeeper first. Start the dependency first, and then install the packagekafka_2.12-2.5.0.tazput to/rootDirectory, and unzip to a new directory [[email protected] ~]# cd /usr/local/zookeeper/apache-zookeeper-3.6.1-bin/bin/ [[email protected] bin]# ./zkServer.sh start [[email protected] bin]# cd /usr/local [[email protected] local]# mkdir kafka [[email protected] local]# […]

  • Methods of viewing system information and configuring firewall on CentOS

    Time:2020-11-25

    View system information 1: View CPU Copy code The code is as follows: more /proc/cpuinfo | grep “model name” grep “model name” /proc/cpuinfo If you feel you need to see more comfortable Copy code The code is as follows: grep “model name” /proc/cpuinfo | cut -f2 -d: Well, linux commands should be so familiar. 2: […]

  • Use of SED command in Linux

    Time:2020-11-25

    Sed is the abbreviation of stream editor, that is, stream editor. It processes one line of content at a time. When processing, it stores the currently processed line in the temporary buffer, which is called “pattern space”. Then it uses the SED command to process the contents of the buffer. After processing, it sends the […]

  • Summary of Linux patch command (Collection)

    Time:2020-11-25

    When it comes to the patch command, we have to mention the diff command, which is a necessary tool for making a patch. The diff command is used to create the patch file,Basically, you only need to useThe parameter “diff – NAU”, if the folder is compared, the – R parameter should be added. Therefore, […]

  • No screen guide to raspberry pie

    Time:2020-11-24

    If you want to buy a toy, raspberry pie is definitely the best choice. For the introduction of raspberry pie, Liangxu will not repeat it, baidu searched a lot. In short, raspberry pie is a small computer, we can use it to learn Linux, but also can expand to make a lot of fun toys. […]

  • Summary of garbage cleaning methods in Linux system

    Time:2020-11-24

    One of the biggest advantages of Linux is that it remains stable after a period of use. The biggest challenge for Linux is to install it and find and configure the software you need to do your job. Once you’ve done that, it’s almost going to work. As for system maintenance, there is not much […]

  • How to install and configure CEPH in CentOS

    Time:2020-11-24

    Developing a distributed file system requires many efforts, but if the problem can be solved accurately, it is priceless. CEPH’s goal is simply defined as: easily scalable to petabytes of capacity, high performance for multiple workloads (input / output operations per second [IOPs] and bandwidth).Unfortunately, these goals compete with each other (for example, scalability can […]

  • Summary of NC command in Linux

    Time:2020-11-24

    Netcat, known as “Swiss Army Knife” in network tools, has windows and Linux versions. Because it is short and compact (1.84 version is only 25K, old version or reduced version or even smaller) and practical function, it is designed as a simple and reliable network tool, which can transmit read and write data through TCP […]

  • Shell programming: multi command processing

    Time:2020-11-23

    Task: create one in the exam2 / Zhixing folder haha.txt And write “I love geeksongs” in this file. This is a multi task task task. We want to write all commands to the same file and execute them. How can we implement this process in a sh file? We write haha.sh The code is as […]

  • Installation and basic use of OpenVZ virtual machine on CentOS system

    Time:2020-11-23

    OpenVZ is an open source software, which is based on Linux platform operating system level server virtualization solution. OpenVZ adopts the core of virutozzo Virtualization Server software product of swsoft. Virutozzo is a commercial virtualization solution provided by swsoft company.OpenVZ can create multiple isolated virtual private servers (VPS) on a single physical server and share […]

  • How to install mysql-5.7.9 in RPM mode under Linux system

    Time:2020-11-23

    The installation process of mysql–5.7.9 64 bit RPM collection package in Linux system. Because I use 64 bit centos7, so I am under a 64 bit collection package. If you use a 32-bit Linux system, please download the 32-bit collection package. Here, I only talk about installation, and I don’t explain how to use commands, […]

  • Linux automatically generates arrays from 1 to 100 in shell (two methods)

    Time:2020-11-23

    When I was writing a shell script before, I needed to automatically create 1-100 text. I really didn’t know how to create it. Baidu has finally learned how to create it. There are many ways to create 1-100 in shell scripts. Here, I will mainly talk about two easy to understand and convenient methods  The […]