Category:Linux

  • Remote login of cloud proxy based on mqtt protocol

    Time:2020-2-17

    This document is based on the following two articles. Many repetitive contents will not be mentioned in this chapterHttps://www.cnblogs.com/y-c-y/p/11685405.html telnet protocol relatedHttps://www.cnblogs.com/y-c-y/p/11686916.html mqtt protocol related From here on, it is assumed that there is a certain foundation for the implementation of mqtt and telnet protocols This sequence diagram shows the sequence data flow of the […]

  • Four timers of TCP

    Time:2020-2-17

    Four timers of TCP In the TCP protocol, sometimes an event needs to be triggered regularly or according to an algorithm. At this time, the TCP protocol is implemented by using a timer. In TCP, there are four types of timers: (1) Retransmission timer(2) Hold timer(3) Live timer(4) Time waiting timer These four timers have […]

  • Installation and configuration of varnish cache server under Linux

    Time:2020-2-17

    Varnish is a high performance and open source reverse proxy server and HTTP accelerator. Compared with the traditional squid, varnish has many advantages such as higher performance, faster speed and more convenient management. Poul Henning Kamp is one of the kernel developers of FreeBSD. With a new software architecture, varnish works closely with today’s hardware […]

  • How to mount ISO under CentOS? How to mount ISO under CentOS

    Time:2020-2-17

    In the past, these ISO image files were often used under windows. We can use virtual optical drive to load them, but there are no tools under Linux. What should we do under Linux? First, we need to load ISO into a directory. Mount – O loop ISO filename destination For example, we need to […]

  • Set virtual IP to static IP in virtual machine bridging mode

    Time:2020-2-16

    1: Virtual machine setting bridge mode 1. Enter virtual machine settings and set the network adapter to bridge mode, as shown in the following figure  2.edit—Virtual Network Editor —Selective bridging     3.As shown in the above figure, bridge to—Automatically change to the virtual network card matching the local machine, and query the virtual network card […]

  • Shell script learning call script package file zip method example

    Time:2020-2-16

    Preface This article mainly introduces the relevant information about calling scripts to package files into zip, which is shared for your reference and learning. Let’s take a look at the detailed introduction: Recently, I just touched shell script and wrote a little simple practice. Here is a python call script to perform the packaging operation. […]

  • Detailed explanation of JDK1.8 installation process in Linux Environment

    Time:2020-2-16

    I believe that coders can’t help the temptation of Linux system. Java is also indispensable in the world of Linux. Next, I’ll share my JDK1.8 installation process with you. New children’s shoes that touch Linux can be installed according to the commands in the pictures I provide Tools: jdk-8-linux-i586.gz Method / step Step 1: Download […]

  • Uefi-gpt of CentOS 6.5 installation goes back to MBR boot details

    Time:2020-2-16

    I installed CentOS 6.5 system on the server by myself. The default is UEFI. I didn’t notice that I could only use grub. Then the problem occurred. I installed another hard disk with grub boot system in the server, After the hard disk starts the system, if the hard disk is removed and restarted, the […]

  • Set Linux to support Chinese

    Time:2020-2-15

    1. first of allcommandinputlocale, you can seeLinuxThe default system language is English      2.vim ~/.bashrcOpen this file, which is equivalent to the system configuration file      3.After opening, input the last three lines of commands into the document, and finally save to exit      4.Run the modify file with the commandsource ~/.bashrc, […]

  • Some operations of Linux bash prompt (custom bash prompt)

    Time:2020-2-15

    Some black technologies that allow you to customize bash prompts When you open a shell terminal in the Linux environment, you will see a bash prompt similar to the following in the command line: [[email protected]$host ~]$ Did you know that the command line prompt can actually add a lot of very useful information by itself? […]

  • An example tutorial of using quota command to manage disk space under Linux

    Time:2020-2-15

    1. Install quota via yum Copy code The code is as follows: #yum install quota 2. VirtualBox creates hard diskIf your Linux environment is built under VirtualBox:(1) Turn off virtual machine mirroringClick setting to configure the hardware used by the virtual machine (2) Configure a new hard disk Select create new disk Select VHD (virtual […]

  • How does CentOS run and control background processes?

    Time:2020-2-15

    We often encounter such problems. We log in to the remote Linux server with SSH and run some time-consuming tasks, but the task fails in the middle due to the instability of the network. This is because when the user logs out or the network is disconnected, the terminal will receive the HUP (hangup) signal […]