day29 ~ 33 summarize: Linux operating system (2019.05.27 - 2019.06.01)

Computer hardware + software =

Five hardware components: an operational unit, controller, memory, input devices, output devices

Operator + = CPU controller

The input device output device = IO +

= + Software system software software application

The operating system is the most important system software, computer hardware interface and the interface of human interaction, character-based interface and graphical interface

Xerox: Xerox, founding and the graphical interface, the mouse of the present invention Company

Macintosh --- macOS --- iOS / watchOS

Shell program: BASH shell program

Command --help: Help
the man command: View
command --version: Version
history: history
history -c: clear history
! ! : A command execution
! 5: implementation of Article 5 Command

Command name [command parameter] [command object]

Pipeline: |
pipeline: Output ⼀ commands can be used as input for another time START command through the pipeline.
Pipeline pipe submenus that we can understand the reality of living in ⽣, submenus of ⼀ head pipe plug into the East ⻄, another ⼀ head to take out individual cases from "|" is divided into left and right ends of the left end plug East ⻄ (write), the right to take East ⻄ (read).

  1. Python dependencies install the compiler source code
    yum -y install zlib-devel bzip2- devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel libdb4-devel libpcap-devel xz-devel libffi-devel

  2. Configuration before installation
    ./configure --prefix = / usr / local / python37 --enable-optimizations

  3. Building and installing
    make && make install

  4. Sign up environment variables (temporary)
    Export the PATH = $ the PATH: / usr / local / python37 / bin

  5. Make a shortcut (symbolic link / soft link) to python3
    LN -s / usr / local / python37 / bin / python3 / usr / bin / python3

1.

2.

3.

4.

5.

6.

7.

8.

9.

10.

Guess you like

Origin blog.csdn.net/weixin_34189116/article/details/90984988