Tag:configuration file

  • Sublime text 2 syntax based configuration file

    Time:2021-7-30

    Recently, I was learning python programming language, but I encountered a small problem. The original Ruby coding specification is indented with two spaces, so it was previously set in the global user configuration of sublime”tab_size”: 2Therefore, when editing Python files, you have to set it from the menu every timetab_sizeThe size of the is 4. […]

  • Tomcat port address is already in use (bind failed)

    Time:2021-7-30

    environment Linux/Ubuntu20.04LTS IntelliJ IDEA Community Editon 2021.1 java-11-openjdk-amd64 apache-tomcat-7.0.109 abnormal Tomcat service port is occupied! Critical: failed to initialize end point associated with protocolhandler [“http-bio-8087”] Java.net.bindexception: address already in use (bind failed) < null >: 8087 July 14, 2021 9:45:36 PM org.apache.catalina.core.standardserver await Critical: standardserver.await: create [localhost: 8005]: reason The port address is already in […]

  • Zabbix-4.0 – how to modify the central IP on the windbos client

    Time:2021-7-29

    In some scenarios, after the ZABBIX server IP address is changed, the ZABBIX server cannot receive the data from the client. At this time, you need to modify the IP address of the center on the client. This blog post briefly records how the windbos client modifies it.   1、 Environment introduction ZABBIX version 4.0 […]

  • Learning path of gin project — simple work order system (1)

    Time:2021-7-29

    1、 Project background In view of the similar requirements of the work order system being developed, and the refined personal technical requirements. Use go to reconstruct some Django functions, and use Vue custom component functions to enhance the understanding of Vue. 2、 Project structure design Basic functions required for the project: 1. JWT authentication and […]

  • Install redis for Ubuntu 16.04

    Time:2021-7-29

    brief introduction RedisIs an open source(BSDLicense), memory storage data structure server, is a high-performance serverkey-valueDatabase, cache and message queuing agent. It supports strings, hash tables, lists, collections, ordered collections, bitmaps,hyperloglogsAnd other data types. Built in replication, Lua script, LRU retraction, transaction and disk persistence at different levels, andRedis SentinelProvide high availability throughRedis ClusterProvide automatic zoning. […]

  • Use assh to manage SSH config

    Time:2021-7-29

    I often can’t connect directly to AWS or Oracle machines in China, but the transfer through domestic VPS is very fast, which means that every time I connect to foreign machines, I must log in to Tencent cloud machines, and then connect to Tencent cloud machines. It’s a little troublesome, But I saw someone sharing […]

  • Nginx proxy settings

    Time:2021-7-28

    Generate kibana’s access account Generate a password openssl passwd ‘123456’ Create a htpasswd config in the container, with the user name in front and the password generated above in the back user1:Iv64DdYe3QxLg Create nginx profile Next, create an nginx configuration file, default.conf #Kibana panel server { listen 80; server_name kibana.example.com; location / { proxy_set_header Host […]

  • UNIX like terminal command enhancement

    Time:2021-7-28

    This article is aimed at the UNIX like platform, that is, Linux and MAC Common command optimization Ll command describe No one else has this command except Ubuntu.The LL command is implemented through LS – Al, but this command has disadvantages: the highlight is not good enough, and the information can be more detailedThe exa […]

  • Configuring static IP for Ubuntu 16.04

    Time:2021-7-27

    View network card information command $ vim sudo vim /etc/network/interfaces #Network card name auto eno2 #Set to static IP iface eno2 inet static #IP address address 192.168.33.61 #Subnet mask netmask 255.255.255.0 #Gateway gateway 192.168.33.1 #DNS server dns-nameserver 8.8.8.8 Configure DNS server $ sudo vim /etc/resolvconf/resolv.conf.d/base nameserver 8.8.8.8 nameserver 114.114.114.114 Refresh profile $ sudo resolvconf -u […]

  • How to use go zero to quickly realize JWT authentication in go

    Time:2021-7-27

    About what JWT is, you can take a look at the official website. In a word, it is a stateless authentication scheme that can realize server authentication. It is also the most popular cross domain authentication solution at present. To implement JWT authentication, we need to divide it into the following two steps The client […]

  • The file server built by nginx under windows comes with basic verification function

    Time:2021-7-27

    The file server built by nginx under windows comes with basic verification function Configure nginx Add the following configuration file to the configuration file of nginx server { listen 7777 default_server; listen [::]:7777 default_server; location / { #File directory alias D:/share; #Basic verification auth_basic “nginx basic auth”; auth_basic_user_file C:/nginx/conf/htpasswd; #File display function autoindex on; # […]

  • Swoole Getting Started Guide: php7 installation swoole detailed tutorial (1)

    Time:2021-7-27

    I haven’t updated it for a long time. It’s not lazy. Er, it’s too busy! I finally got a few days of leisure.During this period of time, I’m going to bring you the introduction tutorial of swoole and feel the strength of nodejs in PHP. All the sample code is placed on GitHub:learn-swoole environment Apache […]