Tag:source address

  • Installation and use of NRM


    1、installnodejs, download address,http://nodejs.cn/download/,Click Next directly during installation After installationcmdinputnpm -v View currently installednpmVersion of,As shown in the following figure, the installation is successful.   2、View currentnpmConfiguration of CMD enter NPM config list or NPM config LS   metrics-registry = “https://registry.npm.taobao.org/” Represents the currentnpmMirror source forurl 3、nrmintroduce nrmThe function of is to facilitate user switchingnpmThe source address […]

  • How to NPM install and install node sass in front-end project Intranet


    Recently, projects have to switch to intranet development. The most troublesome thing is code migration and project restart. All front-end projects depend on NPM install installation. It’s needless to say that the external network. Here are several methods for restarting internal network projects: 1. The whole project is compressed and copied into the intranet, which […]

  • Ubuntu 16.04 configures cuda4.0 and compiles cuda4.0_ SDK


    Installing gcc-4.4 and G + + – 4.4 If VIM is not installed, you can use GEDIT sudo vim /etc/apt/sources.list sudo gedit /etc/apt/sources.list Add at the end of the file: deb [URL] trusty main universe deb [URL] trusty-updates main universe [url] represents your source address. For example, my system source address is main server, so […]

  • How to install arch Linux operating system in virtual machine


    Arch LinuxLinux is a general-purpose rolling distribution version of Linux. Once a new version of the system or software is released, you can upgrade them. It is very popular among DIY enthusiasts and Linux core users. The default installation only covers the smallest basic system, and users are expected to configure the system by themselves. […]

  • Network configuration of KVM high interaction honeypot NAT network mode


    1、 Overview Honeypot technology has been applied and practiced in various security manufacturers recently. By building honeypot, users can lure attacks in the public network or intranet, and collect and analyze the attack data in the honeypot, so as to understand the attacker’s intention and collect Threat Intelligence. More advanced, the honeypot can backtrack and […]

  • Description of configuration file of Yum repo


    [base]: container name, which must be placed in [].Name: container description, you can write it yourself.Mirrorlist: mirror site, this can be commented out.Baseurl: the address of our Yum source server. The default is the official Yum source server of CentOS, which can be used. If you think it’s slow, you can change it to your […]

  • Canvas drawing pictures


    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)


    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


    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


    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


    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 to […]

  • Installing the latest version of nodejs in Ubuntu


    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 […]