摘要:
命令 ubuntu下的常用命令 cmd /c和cmd /k 以及CMD命令 ubuntu开放指定端口 java环境 重要 安装jdk 在Ubuntu16.04中安装Tomcat8 Ubuntu下安装nginx及使用 MySql [ubuntu16.04下安装mysql详细步骤(在线迅速版)](htt 阅读全文
摘要:
1、redis设置key时上锁 参考怎样实现redis分布式锁? package com.test; import com.utils.JedisUtil; import redis.clients.jedis.Jedis; import java.util.*; public class Test 阅读全文
摘要:
kill -9 $(pidof sunloginclient) cd /usr/local/sunlogin/bin/ ./sunloginclient 阅读全文
摘要:
http://t7.cdn2020.com:12359/video/m3u8/2021/04/11/99284479/index.m3u8 http://t7.cdn2020.com:12359/video/m3u8/2021/04/08/9cc1bb47/index.m3u8 http://t7. 阅读全文
摘要:
大端排序 /* * byte[]数组转short类型,大端排序 */ public static short bytes2ShortBig(byte[] bytes, int startIndex) { byte high = bytes[startIndex]; byte low = bytes[ 阅读全文
摘要:
1 var cameraState = { "bean1": "0", "bean2": "0" , "scraper": "0", "man": "0", "hat": "0" , "belt": "0", "transfer": "0", "iron": "0" }; fun 阅读全文
摘要:
1、 INTERVAL=180030分钟重启java程序 @echo off set INTERVAL=1800 start /min "发送到redis" java -jar C:/Users/Administrator/Desktop/桌面文件/redis发送/videoSDK.jar time 阅读全文
摘要:
public void startC138() { new Thread(() -> { try { Thread.sleep(10000); String killredis = "/home/bjlthy/gym/code/killredis.sh"; Process ps = Runtime. 阅读全文
摘要:
1、前言 项目上需要定时重启电脑,重启java程序 2、使用cron定时任务 sudo vim /etc/crontab 按照规则加入,这里是每2分钟执行一次 注意这里有个以root身份运行的程序 05 * * * * root /home/bjlthy/java/modubsSlave.sh #每 阅读全文
摘要:
1、前言 在Linux下java调研libPlayCtrl.so文件失败 Exception in thread "Thread-1" Exception in thread "Thread-5" Exception in thread "Thread-6" Exception in thread 阅读全文