Tag:linux

  • Nginx Tips: Php Uploading Progress Bar – 0000

    Time:2019-10-23

    This article is a reminder to install Nginx+PHP under Linux and test the file upload progress module. Runtime Environment Operating system: Ubuntu 13.10 64bit (VMWare, hosted by Windows 7 Ultimate)CPU: 1 x 2 core(i5)Mem: 3048MHD: 100G Install Nginx Before installing Nginx, you need to know how to run Terminal in Unity. The following commands are […]

  • SHELL(bash) scripting seven: source code analysis

    Time:2019-10-23

    This article on bash source code (version:4.2.46(1)-release) make a brief analysis. The data structure Bash is written in C language, and only a few data structures are used in its source code:An array of,The tree,Singly linked list,Two-way linked listandHash table. Almost all bash structures are implemented with these basic structures. The main structure in the […]

  • The LINUX terminal command line shortens the display path to make your path more elegant

    Time:2019-10-23

    Usually when we use the Linux terminal command line, we are often troubled by a problem, that is, the file path is too long, sometimes even more than one line, so it seems very awkward, but in fact, it only takes two steps to solve this problem: 1. Modify. Bashrc file (under user root directory)Vim […]

  • 【 learn to understand 】 the interpretation of the file system

    Time:2019-10-23

    Speaking slowly according to my personal understanding, the order may not be very smooth, but I try to speak smoothly.Comb oneself train of thought first, arrange format slowly again. First think about how to write the context of the articleHow slow it is to write an article!!!Write about the structure of the context, and then […]

  • Install and configure Redis under Ubuntu16.04

    Time:2019-10-23

    Statement: the content of this article is reproduced to [Ubuntu16.04 installation and configuration of Redis] I. preconditions You need to connect to the Internet and then execute the sudo apt-get update package Execute the installation command sudo apt-get install redis-server After execution, as shown below, we enter y to confirm the installation and use the […]

  • Why don’t I like Ubuntu?

    Time:2019-10-23

    Why don’t I like Ubuntu? Ubuntu was the first Linux distribution I tried. As a mainstream distribution, Ubuntu is rich in software, well supported by the community, and features a user-friendly desktop environment. It’s no exaggeration to say that Ubuntu opened the door to the Linux world for me. However, once I became familiar with […]

  • Linux system resources view (walker)

    Time:2019-10-23

    OS version lsb_release -a uname -a cat /proc/version System resource overview top memory free -h cat /proc/meminfo disk Disk capacity and partition status (unmounted partitions cannot be viewed) df -Th Disk capacity and partition status (you can view unmounted partitions) sudo fdisk -l sudo lsblk -f # /lib directory size du -sh /lib # /lib […]

  • 10 lines of Python code, batch compression of 500 pictures, is too powerful

    Time:2019-10-23

    This article is original and first published on the public account [Python is a cat, without authorization, do not reprint.The original address: https://mp.weixin.qq.com/s/5hpFDgjCpfb0O1Jg-ycACw Readers familiar with “Python cat” should know that all of my posts use highly distinctive illustrations — cat for the original article and dog for the reproduced article, with rare exceptions. These […]

  • Web front-end development play win10 Linux subsystem

    Time:2019-10-23

    preface Linux subsystem (WSL) functionality is already built into the latest version of Windows 10. After a week of development with win10 WSL, I feel that macOS has completely replaced the position in web front-end development. Linux environment terminal tools ease of use, environmental stability and win10 mass software ecology combined, and then look at […]

  • Nginx tips: PHP uploading progress bar – 0001

    Time:2019-10-22

    The official progress support of PHP is not applicable to nginx + PHP via fastcgi. For related articles, please refer to using session to track the upload progress. The last warning of this article indicates that nginx will handle the upload by itself, while PHP can only get one final result and cannot track the […]

  • [learning notes] 2. Stack management of function call

    Time:2019-10-22

    In the beginning, if you find any mistakes in the technical terms, please remember to correct them in time. This is really important. 1. Function call without parameter passing This example will actually demonstrate a demo with only function local variable assignmentWe will first look at the C language source code and compiled code, and […]