• Linux system installation nginx Lua environment


    Also refer to the official installation guide:lua-nginx-module Installation This is my summary of installation for reference: The latest version is requiredNginx,LuaJIT,ngx_ devel_ Kit, Lua nginx module and other installation files: NginxLuajit Lua or luajit are OK, but for performance reasons, it is recommended to install luajit ngx_devel_kit lua-nginx-module Reference command Download: ? 1 2 3 […]

  • How to install and configure denyhosts tool on Linux for automatic screen IP


    It is necessary to master the installation of denyhosts in Linux system, so how to install denyhosts tool in Linux system? How to configure it after installation? This is what users need to learn. Denyhosts is a security tool written in Python to monitor server access logs and prevent brute force attacks on virtual private […]

  • How does Linux use the shell to see whether Linux is 32-bit or 64 bit


    Now most users use the windows system. They all know that the windows system is divided into 32-bit and 64 bit. In fact, the Linux system is also divided into 32-bit and 64 bit. Do you know how many bits your Linux system is? The following small series will teach you how to use the […]

  • Analysis of Linux kernel scheduler source code initialization


    catalogue 1、 Introduction 2、 Basic concepts of scheduler 2.1. Running queue (RQ) 2.2. Sched_class 2.3. Sched_domain 2.4 sched_group 2.5. Root_domain 2.6 group_sched 3、 Scheduler initialization (sched_init) 4、 Multi core scheduling initialization (sched_init_smp) 4.1 implementation principle of scheduling domain 5、 Conclusion 1、 Introduction The scheduler subsystem is one of the core subsystems of the kernel. It […]

  • How to distinguish rpm and Yum tools on Linux system (easy to mix)


    Many users often confuse rpm and Yum under Linux system. Their names are similar and their functions are the same. They can be used for software installation. What is the difference between the two? The following small editor teaches you how to distinguish rpm and Yum in Linux. What is the difference between Yum and […]

  • Detailed steps of deploying. Net core environment under Linux


    be careful:The environment for installing. Net core on Linux requires a 64 bit system The installation deployment is as follows: 1. Add dotnet source to apt get Ubuntu 14.04 / Linux Mint 17 sudo sh -c ‘echo “deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet-release/ trusty main” > /etc/apt/sources.list.d/dotnetdev.list’ sudo apt-key adv –keyserver hkp://keyserver.ubuntu.com:80 –recv-keys 417A0893 sudo apt-get update Ubuntu […]

  • Creating and modifying SYSTEMd unit files in Linux systems


    (1) Unit file overview The unit file contains the instructions and behavior information of the unit. In the background, the systemctl command works with the unit file. In order to do the job well and correctly, the system administrator must be able to edit the unit file manually. The unit files manually created by the […]

  • Analyzing Linux high performance network IO and reactor model


    catalogue 1、 Introduction to basic concepts 2、 Read / write process of network IO 3、 Five Linux Network IO models 3.1 blocking I / O 3.2 non blocking I / O (nonblocking IO) 3.3 multiplexing I / O (IO multiplexing) 3.4 signal driven I / O (sigio) 3.5 asynchronous IO (aio# series functions of POSIX) […]

  • Method of instantiating system D unit configuration in Linux


    When running, you may need to instantiate several units of a template. The @ character is used to identify the relationship between the template and the unit file. The instantiated unit can be from another unit file (use the requires or wants option), or use the systemctlstart command. The instantiated service unit can be named […]

  • Detailed explanation of. Net core debugging on vs2017 Linux


    Visual studio 2017 debugs. Net core applications on Linux via SSH. Article environment Development environment: win10 x64 visual studio 2017 Deployment environment: Ubuntu 14.04 x64. Net core SDK 1.0.1 Install the. Net core SDK on Ubuntu Ubuntu 14.04 x64 sudo sh -c ‘echo “deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet-release/ trusty main” > /etc/apt/sources.list.d/dotnetdev.list’ sudo apt-key adv –keyserver hkp://keyserver.ubuntu.com:80 […]

  • Related configurations of VNC server under Linux system


    Installation:  Copy code The code is as follows: yum install tigervnc-server to configure: (1) Copy profile:  Copy code The code is as follows: ~]# cp <a>/lib/systemd/system/[email protected]</a> \<a>/etc/systemd/system/ [email protected] [/code</a>] </p></strong> [code] ExecStart=/sbin/runuser -l USER -c “/usr/bin/vncserver %i -geometry 1280×1024”PIDFile=/home/USER/.vnc/%H%i.pid Replace user with the user of the VNC service to be used, such as root:  Copy […]

  • Using UNIX bench in Linux to test system performance


    What is UnixBench? UNIX bench is a benchmark suite for UNIX systems. The design goal of UNIX bench is to provide a set of basic indicators for UNIX like systems, so there are many projects to test the performance of the system. Each test has a score, and then there is a comprehensive score, which […]