Tag:source address

  • Canvas drawing pictures

    Time:2020-3-30

    We have learned some basic methods of using canvas. In canvas, we can draw pictures directly. In canvas, we mainly use DrawImage method to draw pictures 1: There are three cases of DrawImage method parameters 1: Three parameters ctx.drawImage(image,dx,dy) Image: IMG image to be drawn DX, Dy: the coordinates of the drawn img image in […]

  • Linux (CentOS system) deployment project (Vue + nginx + Tomcat)

    Time:2020-2-3

    Conditions: Tomcat and nginx are installed on the server; By default, there is no source of nginx in centos7. Recently, it was found that the source address of CentOS is provided on the nginx official website. Therefore, you can execute the following command to add a source: sudo rpm -Uvh http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm Install nginx command: ා […]

  • Develop common software image to accelerate collection

    Time:2020-1-25

    pypi Temporary use: pip install -i https://pypi.tuna.tsinghua.edu.cn/simple some-package Long term use: Configure PIP after upgrading to the latest version (> = 10.0.0): pip install pip -U pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple If you have poor network connection to the default source of PIP, temporarily use this mirror station to upgrade PIP: pip install -i https://pypi.tuna.tsinghua.edu.cn/simple […]

  • Tcpdump command details and examples

    Time:2019-12-5

    Q: tcpdumpWhat is it\A: bag grabbing\Q: in addition totcpdumpWhat else can I grab\A: wireshark\Q: why notwiresharkPacket captureA: wiresharkNot available on Linux\ <!–more–> Original link: tcpdump command details and examples Series: what I did when I had a server Detailed explanation of tcpdump command Key options -c count: Specifies the number of prints -i interface: Specifies […]

  • Richly Language Example of the firewall-cmd command

    Time:2019-9-21

    1. Enabling new IPv4 and IPv6 connections for protocol “ah”   firewall-cmd –permanent –add-rich-rule ‘rule protocol value=”ah” accept’ 2. Allow new IPv4 and IPv6 connection services FTP and log 1 to use audit per minute   firewall-cmd –permanent –add-rich-rule ‘rule service name=”ftp” log limit value=”1/m” audit accept’ 3. Allow the use of syslog from address 192.168.0.0/24 to […]

  • Installing the latest version of nodejs in Ubuntu

    Time:2019-8-19

    From: Ubuntu installs the latest version of nodejs in two steps The first step is to go to the nodejs website https://nodejs.org to see the latest version number.   That is to say, at this moment, 12.6.0 is the latest version, but if you want to be stable, you should choose the LTS version of […]