Category:Linux

  • Detailed explanation of inux DD command

    Time:2021-10-27

    The main job of Linux operating system administrator is to ensure that the Linux system can run normally during work. However, it is not so easy to do so, because the operating environment of Linux system is very complex, and there will be many factors leading to the collapse of Linux system. Once the system […]

  • Active / standby switching of haproxy + keepalived load balancing (CentOS)

    Time:2021-10-27

    VIP: 192.168.1.100 Master: 192.168.1.238 Slave: 192.168.1.239 Real IP:RIP1: 192.168.1.235 RIP2: 192.168.1.236 The following are the installation steps Step 1: install haproxydownload http://haproxy.1wt.eu/download/1.4/src/haproxy-1.4.18.tar.gz#tar zxvf haproxy-1.4.18.tar.gz #make TARGET=linux26 #make install Step 2: install IPVSAccording to the introduction of the official website of IPVS, different versions of the kernel are applicable to different versions of IPVS. http://www.linuxvirtualserver.org/software/ipvs.html2.6.18 applicable […]

  • Chinese search engine database tgoudb 0.2 beta release

    Time:2021-10-27

    Tgoudb Chinese index database 0.2 beta version Main improvements: 1. The data storage engine Lucene 4 is updated to Lucene 5. 2. The functions of concurrent addition, deletion and modification are added. 3. Added return status code 4. The recycling link has been reconstructed and the link function has been turned off. For more modification […]

  • Linux awk time calculation script and detailed explanation of awk commands

    Time:2021-10-27

    In Linux, if planning time is a hassle, The awk script is as follows BEGIN {FS=”:”;OFS=”:”} {total_seconds=total_seconds+$3} total_seconds>=60 {total_seconds=total_sconds-60 $2=$2+1 } {total_minutes=total_minutes+$2 $2=$2+1 } {total_minutes=total_minutes+$2} total_minutes>=60{total_minutes=total_minutes-60 $1=$1+1} {total_hours=total_hours+$1} END{print $1,$2,$3} The following is a detailed explanation of the Linux awk commands collected for you brief introduction Awk is a powerful text analysis tool. Compared with […]

  • Several common reasons and solutions for Linux unable to start

    Time:2021-10-26

    causeLinux cannot startThere are many reasons. The following Liang Xu Xiaobian will elaborate on several common reasons and solutions, hoping to help you. Improper file system configuration, such as / etc / inittab file and / etc / fstab file, leads to system failure and failure to start. Illegal shutdown leads to the destruction of […]

  • Explain the mechanism of sysvinit in Linux system in detail

    Time:2021-10-26

    SYSV init is a Systemv style init system. As the name suggests, it originates from Systemv series UNIX. It provides higher flexibility than BSD style init system. It is a UNIX init system that has been popular for decades and has been adopted by various Linux distributions. (1) What is Systemv Systemv, once also known […]

  • CentOS commands include: system commands, various server construction, etc

    Time:2021-10-26

    Now, let’s introduce these common CentOS commands. 1: Use CentOS common commands to view CPUs more /proc/cpuinfo | grep “model name” grep “model name” /proc/cpuinfo [[email protected] /]# grep “CPU” /proc/cpuinfo model name : Intel(R) Pentium(R) Dual CPU E2180 @ 2.00GHz model name : Intel(R) Pentium(R) Dual CPU E2180 @ 2.00GHz If you feel you need […]

  • Example details DF command in linxu

    Time:2021-10-26

    DF is the “available disk” disk free, which is used to display the disk usage of the file system. By default, the DF command will display all currently mounted file systems in 1K units per block. If you want to display the output of the DF command in a human readable format, use the – […]

  • Details of backup and restore of MySQL database

    Time:2021-10-25

    Database backup is very important, especially when data files are damaged, MySQL service errors, system kernel crashes, computer hardware is damaged or data is accidentally deleted, data backup can quickly solve all the above problems. Next, Liang Xu Xiaobian willMysql databaseBackup and restore in detail, I hope it will be helpful to you. Many backup […]

  • Linux RPM command parameters use Daquan (Classic)

    Time:2021-10-25

    Rpm is the RedHat package manager (RedHat package management tool), which is similar to the “add / Remove Program” in windows RPM execution installation package Binary package and source package. Binary packages can be installed directly on the computer, and source code packages will be compiled and installed automatically by rpm. Source code packages often […]

  • Analyzing the startup performance of Linux system with system d-analyze

    Time:2021-10-25

    SYSTEMd analyze is a tool for analyzing startup performance, which is used to analyze service time consumption at startup. The default display is the elapsed time of kernel and user space:  Copy code The code is as follows: [[email protected]~]#systemd-analyzeStartupfinishedin818ms(kernel)+6.240s(initrd)+32.979s(userspace)=40.038s   It has the same effect as using the SYSTEMd analyzetime command. (1) View the detailed […]

  • Steps of installing graphical interface for CentOS minimal, Chinese language pack

    Time:2021-10-25

    1. Connect to the network:After CentOS minimal.iso is installed, enter the terminal. By default, the network is not turned on. First, enable the network card and automatically obtain the IPifconfig eth0 up dhclient eth0 At this time, you can see that the IP has been automatically assigned 2. Installing X Window:yum groupinstall “X Window System” […]