• Start crontab log in Ubuntu


    Ubuntu does not turn on cron logging by default1. Modify rsyslog $ sudo vim /etc/rsyslog.d/50-default.conf Cron. * / var / log / cron. Log # remove the comment before cron 2. Restart rsyslog $ sudo service rsyslog restart 3. View crontab log $ less /var/log/cron.log PS: restart the log service and view the log after […]

  • Students! Please keep this detailed and clear basic information of computer network


    preface Computer network foundation is the knowledge that R & D / operation and maintenance engineers need to master, but it is often ignored. Today, I will present a detailed & clear computer network foundation study guide, covering TCP / UDP protocol, HTTP protocol, socket and so on. I hope you will like it.   […]

  • Arthas locate Dubbo manually register Eureka exception


    Author | Java_ keithSource|Alibaba cloud official account I haven’t written a technology sharing blog for a long time, because I can’t help sharing a good tool. After all, dullele is not as good as zhonglele The protagonist here is arths The documents on the use of Arthas are very detailed. Here I mainly record a […]

  • About network protocol


    network Network is a virtual platform for information transmission, receiving and sharing Through it, the information of each point, surface and body is linked together, so as to realize the sharing of these resources There are certain rules for network data transmission, which we call protocol HTTP protocol is one of them, and it is […]

  • MySQL updates different fields in the same table


    SQL update diag_product_list_ios as a join (select soft_package_id,soft_name from diag_product_list_ios where pdt_code=’ThinkDiag’ ) as b on a.soft_package_id=b.soft_package_id set a.soft_name=b.soft_name where a.pdt_code=’EASYDIAG4′ and a.soft_name is null mysql Synchronous update This work adoptsCC agreementReprint must indicate the author and the link of this article The meaning of life lies in the courage to bear the meaninglessness of […]

  • Deploying Vue project with docker


    common way publicPath:’/’ nginx.conf #user nobody; worker_processes 2; events { worker_connections 1024; } http { include mime.types; default_type application/octet-stream; sendfile on; #tcp_nopush on; #keepalive_timeout 0; keepalive_timeout 65; gzip on; gzip_static on; gzip_min_length 1024; gzip_buffers 4 16k; gzip_comp_level 2; gzip_types text/plain application/javascript application/x-javascript text/css application/xml text/javascript application/x-httpd-php application/vnd.ms-fontobject font/ttf font/opentype font/x-woff image/svg+xml; gzip_vary off; gzip_disable “MSIE […]

  • Pyqt5 implements long press for QPushButton and resolves the conflict with the clicked event


    from PyQt5.QtWidgets import QPushButton PyQt python This work adoptsCC agreementReprint must indicate the author and the link of this article

  • Nginx | Apache configuration API interface mapping proxy


    Replace nginx configuration / APIs withhttp://xxx.com/api/v2 server {     //   Add the following three lines     location /apis {         add_header ‘Access-Control-Allow-Origin’ ‘*’;         proxy_pass http://xxx.com/api/v2;     } } Replace Apache / APIs withhttp://xxx/api/v2 <VirtualHost *:80>     DocumentRoot “E:\www2\laravel-blog-api\public”     ServerName blog-api     ServerAlias      ProxyPass /apis http://xxxx/api/v2   <Directory “E:\www2\laravel-blog-api\public”>       Options FollowSymLinks ExecCGI       AllowOverride All       Order allow,deny       Allow from all      Require all granted   </Directory> </VirtualHost> This work adoptsCC agreementReprint must indicate the author and the link of this article

  • Components of a chat room, call on everyone to expand


    The game has been online for more than a year, and now it is in the maintenance period. Therefore, I often study the underlying architecture and components of the company. After studying thoroughly, I will try to write one by myself, and this is a communication component written after studying the related components. The scheme […]

  • Install the latest stable version of nginx in docker


    #Set the time zone to Shanghai RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime RUN echo ‘Asia/Shanghai’ > /etc/timezone #Install nginx RUN apt update \ && apt install -y curl gnupg2 ca-certificates lsb-release \ && echo “deb http://nginx.org/packages/debian `lsb_release -cs` nginx” | tee /etc/apt/sources.list.d/nginx.list \ && curl -fsSL https://nginx.org/keys/nginx_signing.key | apt-key add – \ && apt-key fingerprint ABF5BD827BD9BF62 […]

  • Centos7 switches Alibaba image source and installs docker


    Backup source image file mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup Download alisource and replace it wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo Join docker installation source yum-config-manager –add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo docker centos This work adoptsCC agreementReprint must indicate the author and the link of this article It’s not a bug, it’s just an unlisted feature!

  • In node.js source code, why is binding IPv6 the first choice【 [simple knowledge]


    The reason for writing this article is that I saw this line of code in the key part of reading the source code of node.js This means that the listening function is called and the listening port is called So I found the technical manager of cvte, Master Zhang So I click the translation to […]