Get the App
  • Server performance testing

    Server performance testing

    #! / bin/bashlogfile=/tmp/streelog.logecho "stress-c 4-I 4-- verbose-- timeout 1m" > > logfilestress

    Shulou · 2022-06-03 09:22
  • Docker install MySQL

    Docker install MySQL

    Docker installs MySQL service operation 1. Search for MySQL service docker search mysql2. Pull image docker pull mysql:5.7 [5.7is the version number you want to pull] 3.

    Shulou · 2022-06-03 09:22
  • How to use the chown command

    How to use the chown command

    Every file and directory on the Linux system is owned by someone, and the owner has complete control over changing or deleting the files they own. In addition to having one owning user, the file also has an owning group. You can use the ls-l command to view the ownership of the file: [pablo@wo

    Shulou · 2022-06-03 09:22
  • Analyze the solution to data recovery in the case that EFS encrypted files cannot be opened

    Analyze the solution to data recovery in the case that EFS encrypted files cannot be opened

    (1) failure type: EFS encrypted file cannot be opened. (2) typical features: 1. Previously encrypted files cannot be opened after reinstalling the system. The key file cannot be opened due to the loss of the key file. (3) Star evaluation of the degree of damage: ★★★★ [failure principle and recovery ideas] encrypt a file using EFS

    Shulou · 2022-06-03 09:22
  • Sfp Optical Module of Cisco FC switch has no light, disable case study, error

    Sfp Optical Module of Cisco FC switch has no light, disable case study, error

    Switch-1# show interface brief

    Shulou · 2022-06-03 09:22
  • Linux sets ntp time synchronization

    Linux sets ntp time synchronization

    NTP clock synchronization mode shows that NTP has two clock synchronization modes under linux, which are direct synchronization and smooth synchronization: direct synchronization uses ntpdate command to synchronize and time change directly. If there is a task running at 12:00 on the server, the current server time is

    Shulou · 2022-06-03 09:21
  • Nginx installation and depth Optimization (3)

    Nginx installation and depth Optimization (3)

    Blog outline: 1, optimization before compilation and installation 2, Nginx configuration item optimization 1, adjust the number of Nginx running processes 2, Nginx running CPU affinity 3, Nginx event handling model 4, turn on efficient transfer mode 5, connection timeout 6, fastcgi excellent

    Shulou · 2022-06-03 09:21
  • The Road of self-study of Linux Application Development

    The Road of self-study of Linux Application Development

    Preface in the blog post about me, friends should know that I am not a professional background, but by mechanical force to the direction of Linux application development. Next, I would like to introduce to you in detail the course of my career change along the way, hoping to inspire you. I majored in mechanics, and I majored in mechanics

    Shulou · 2022-06-03 09:21
  • Problems encountered in nginx with window

    Problems encountered in nginx with window

    Background: when nginx is migrated to another winodws machine, SVN is installed in the machine and https is used: after configuring the domain name and ssl of nginx, it is found that the access domain name will be accessed to the SVN page by default: because https uses port 443, but

    Shulou · 2022-06-03 09:21
  • LVS load balancing Cluster (theoretical)

    LVS load balancing Cluster (theoretical)

    The meaning of Cluster, cluster, cluster is composed of multiple hosts, but it is only shown as a whole in Internet applications. With the increasing requirements of the site for hardware performance, corresponding speed, service stability, data reliability and so on, a single server is unable to solve the problem: use expensive

    Shulou · 2022-06-03 09:21
  • The making of shared Library under linux and its Common problems

    The making of shared Library under linux and its Common problems

    Generate the linked list to share the library   1, compile   2, set the library name:     library name format: lib + XXX + version number. So (library name is XXX)-shared generate shared file library-fpic dynamic link    3, header file and.

    Shulou · 2022-06-03 09:21
  • Calico policy practices for Kubernetes network components (BGP,

    Calico policy practices for Kubernetes network components (BGP,

    Practice case of Calico policy of Kubernetes network solution: since the solution before K8s cluster deployment is flannel network policy, the flannel policy is switched to calico network policy here. Calico is a pure three-tier data center.

    Shulou · 2022-06-03 09:21
  • CVM Learning record 1

    CVM Learning record 1

    Sanfeng CVM usage record: the mainframe house is upgraded to "Sanfeng Cloud", providing "free virtual host" and "free CVM". On July 14, the application for free CVM has been successfully experienced, such as one-click installation, one-button configuration and other functions. Start the learning journey by configuring Nginx.

    Shulou · 2022-06-03 09:21
  • C++ notes continued

    C++ notes continued

    C++ Note 1.There are only two direct initializations for variable initialization of int +: use parentheses, cin a (10); copy initialization: use =, copy an initialization 10; (copy constructor of objects) 2.cin and getline read strings cin read strings with spaces

    Shulou · 2022-06-03 09:21
  • C language embedded assembly

    C language embedded assembly

    1. C language embedded assembly 1.1 embedded assembly syntax 1.2 embedded assembly example # include int main () {int result = 0; int input = 1; int a = 1

    Shulou · 2022-06-03 09:21
  • Debugging skills of shell script

    Debugging skills of shell script

    0. Professional script standard format function 1 function 2main function main $* 1, use dos2unix command to convert scripts developed under windows dos2unix is not installed by default, you can install # dos2unix we with yum

    Shulou · 2022-06-03 09:21
  • ARM embedded development board learning route guide

    ARM embedded development board learning route guide

    How to get started with embedded? How to get started with embedded development learning methods and steps? Embedded development learning route guide embedded development refers to the development under the embedded operating system, the commonly used system is linux,android. Platform: embedded Cortex-A9 development board

    Shulou · 2022-06-03 09:21
  • The use of Secret (ciphertext) and configmap (plaintext) of K8s

    The use of Secret (ciphertext) and configmap (plaintext) of K8s

    First, SecretSecret: used to store some sensitive information, such as the user name, password or secret key of the database. Overview Secret is a K8s resource used to store small pieces of sensitive data, such as passwords, token, or keys. Of course, this kind of data can also be stored in Pod

    Shulou · 2022-06-03 09:20
  • Deploy the mail system using postfix and dovecot-- learn notes

    Deploy the mail system using postfix and dovecot-- learn notes

    This experimental environment is redhat 7. 0 system as shown above, the client uses outlook to send and receive mail, the server uses postfix to send mail, and dovecot is used to receive mail and forward it to user 1. Install dns Domain name Resolution Service 1.1 configuration service

    Shulou · 2022-06-03 09:20
  • Select format

    Select format

    Format: select variable name in list dobreakdone program: #! / bin/bashecho "What would you want:" select var in "I"LOVE"YOU"

    Shulou · 2022-06-03 09:20