智能运维

  • windows如何开放相应端口

    windows如何开放相应端口 写在前面:今天有需求在一个同局域网下的另一台window主机上搭建一个测试SpringBoot,遂去搜索如何开启端口,实现后在此记录一下 解决方法: 找到设置中的防火墙,然后进入高级设置,然后…

    智能运维 2022年8月4日
  • linux打开V4L2摄像头视频流(MJPEG格式)

    参考链接:https://blog.csdn.net/tugouxp/article/details/118516385源码:ls /dev/ 查看摄像头是video编号比如:video0 video1 点击查看代码 #include <stdio.h> #include <sys/types.h> #include &l…

    智能运维 2022年8月4日
  • centos8与centos7不同环境下时间同步

    centos7: 最常见的使用ntpdate同步主机时间: yum install -y ntpdate 设置时间同步 /usr/sbin/ntpdate cn.pool.ntp.org 加入定时任务crontab 执行:crontab -e 在文件末尾添加: */* 1 * * * /usr/sbin/ntpdate cn…

    智能运维 2022年8月4日
  • Linux下使用SerialPortStream

    SerialPortStream是一个跨平台的串口类库,可以运行在Windows和Linux系统上。直接将其部署在Linux上会抛出DllNotFoundException异常,其内容为“Unable to load shared library 'libnserial.so.1' or one of its dep…

    智能运维 2022年8月4日
  • centos检测http网站的脚本

    centos检测http网站的脚本 同时把结果导出到>/tmp/1.txt 可以安装screen yum install screen 在另外一个窗口执行这个脚本 screen窗口键入C-a d,Screen会给出detached提示  screen -ls  screen -r 12865 while 1…

    智能运维 2022年8月4日
  • Linux临时添加环境变量

    最近在写自动编译文件并从服务器下载的python脚本(使用parammiko库去连接),编译的时候碰到,有个交叉编译工具链一直提示找不到,后面百度解决了此问题   解决方法: 虽然编译的时候没法找到此交叉工具链(arm-ne…

    智能运维 2022年8月4日
  • Linux(五)

    钉钉触发报警 把钉钉组件解压放到C:/Users/85425.jenkins/plugins里,然后到D:/测试/apache-tomcat-9.0.36/apache-tomcat-9.0.36/bin里重启tomcat服务,等待组件加载,进入到Manage Jenkins,点击第一个    找到钉…

    智能运维 2022年8月4日
  • What Are The Different Types Of Certificate Formats?

    Digital certificates can be used for a variety of purposes. They can be used to secure website connections, to encrypt email messages, or to verify the identity of a user. Choosing the right type of …

    智能运维 2022年8月3日
  • 为nginx创建自签名证书

    #!/bin/sh   # create self-signed server certificate:   read -p "Enter your domain [www.example.com]: " DOMAIN   echo "Create server key..."   openssl genrsa -des3 -out $DOMAIN.key 1024   echo "Create…

    智能运维 2022年8月3日
  • Linux 命令之软连接、硬连接详解

     https://blog.csdn.net/K_520_W/article/details/124114863   分类专栏: Linux 文章标签: LinuxLinux专栏收录该内容   一、软连接 1、创建语法         ln -s target source         解释下: ln -s:表示创建一…

    智能运维 2022年8月3日