Category:Linux

  • Git Tag Label Details

    Time:2019-8-24

    Git Tag tag Git tag displays labels alphabetically Git tag v1.01 label v1.01 Git show v1.01 shows the details of this label Multiple tags can be used simultaneously to point to versions at the same time point Git push origin — tags push all new local tags to the far end Ps: Let’s look at […]

  • Detailed Explanation of Reading and Writing Process for Linux Block Devices

    Time:2019-8-24

    When learning the principle of block devices, I most concern the data flow of block devices. Starting with the application calling Read or Write, how does the data flow and process in the kernel? Then how do you get to the specific physical equipment? The following is an analysis of the data flow of a […]

  • CentOs 6.5 Closes Unique Method

    Time:2019-8-24

    This time, we must write down the steps. Every time we reinstall the system, it takes a lot of time to shut down the Unique Display. Operating system: CentOs 6.5 32 bits Video card model: Intensive display: Intel Corporation 3rd Gen Core processor Graphics Controller Unique: NVIDIA Corporation GF108M [GeForce GT 630M] The main purpose here is to shut down […]

  • FreeBSD uses QUOTA (disk quota) to limit user space

    Time:2019-8-24

    The size of user space and the number of files are often limited in virtual hosts. These restrictions are implemented with QUOTA in Linux and FreeBSD. Here I talk about how to implement it under FreeBSD. Turn on QUOTA supportFirst, you need to modify the kernel to add support for quota machine i386 cpu I686_CPU […]

  • Install and configure redis 3.0.7 on Linux virtual machine

    Time:2019-8-23

    We will give you a detailed list of graphic steps to teach you how to install redis on the Linux virtual machine and the related configuration process. Upload redis-3.0.7.tar.gz to the Linux virtual machine for compilation: (a) Because redis is developed in C language, it needs to be compiled first. Compiling on Linux depends on […]

  • Talking about the free command in Linux and some useful options

    Time:2019-8-23

    A major challenge for Linux system administrators is how to maintain the system in good operation without any downtime. Managing memory usage is another challenging task for Linux administrators. Free is a standard and widely used command in Linux that is used to analyze memory statistics (idle and used). Today, we’re going to talk about […]

  • CentOS 7 uses hostapd to implement detailed explanation of AP-free mode

    Time:2019-8-23

    This article is another way to realize the AP mode of wireless access point using hostapd under linux: the configuration of hostapd routing mode. For the basic configuration of hardware and software and the installation of hostapd in the first half of CentOS 7’s hostapd AP Mode Configuration, you can look at that article first, […]

  • A Simple Method of Updating Ports Tree

    Time:2019-8-23

    #vi /etc/protsnap.conf SERVERNAME = portsnap. freebsd. ORG Change to portsnap.tw.freebsd.org # Portsnap fetch # Portsnap extract Until it appears Building new INDEX files…..done.  

  • Several methods of retrieving MySQL password forgotten under Linux (recommendation)

    Time:2019-8-22

    Today, we mainly talk about the Linux forgetting MySQL password processing method. Here are five Linux forgetting MySQL password retrieval methods. Method 1 (first-in root permission): # /etc/init.d/mysql stop # mysqld_safe –user=mysql –skip-grant-tables –skip-networking & # mysql -u root mysql> update user set password=password(“newpassword”) where user=‘root‘; mysql> flush privileges; mysql> quit # /etc/init.d/mysql restart # […]

  • Customized SSH under Linux to simplify remote access

    Time:2019-8-22

    SSH uses system global and user-specified (user-defined) configuration files. In this article, we will show you how to create a custom SSH configuration file and connect to a remote host through specific options. SSH (SSH client) is a program for accessing remote hosts, which enables users to execute commands on remote hosts. This is one […]

  • Introduction to Common and Convenient Commands and Skills in Centos

    Time:2019-8-22

    1. Many times, you need to know what large files are in the current system, such as files over 100M or 1G in size (the threshold depends on the specific situation). So how to search out these big files? # For example, I want to search for files over 900M in the current directory find […]

  • Installing OpenSSH through posts

    Time:2019-8-22

    install # cd /usr/ports/security/openssh # make install clean   # echo “sshd_enable=YES” >> /etc/rc.conf   # /etc/rc.d/sshd start