上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 56 下一页
摘要: 命令 ubuntu下的常用命令 cmd /c和cmd /k 以及CMD命令 ubuntu开放指定端口 java环境 重要 安装jdk 在Ubuntu16.04中安装Tomcat8 Ubuntu下安装nginx及使用 MySql [ubuntu16.04下安装mysql详细步骤(在线迅速版)](htt 阅读全文
posted @ 2021-08-01 17:44 一只桔子2233 阅读(37) 评论(0) 推荐(0) 编辑
摘要: 1、redis设置key时上锁 参考怎样实现redis分布式锁? package com.test; import com.utils.JedisUtil; import redis.clients.jedis.Jedis; import java.util.*; public class Test 阅读全文
posted @ 2021-07-31 17:11 一只桔子2233 阅读(140) 评论(0) 推荐(0) 编辑
摘要: kill -9 $(pidof sunloginclient) cd /usr/local/sunlogin/bin/ ./sunloginclient 阅读全文
posted @ 2021-07-22 10:49 一只桔子2233 阅读(673) 评论(0) 推荐(1) 编辑
摘要: 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. 阅读全文
posted @ 2021-07-16 20:15 一只桔子2233 阅读(84866) 评论(0) 推荐(0) 编辑
摘要: 大端排序 /* * byte[]数组转short类型,大端排序 */ public static short bytes2ShortBig(byte[] bytes, int startIndex) { byte high = bytes[startIndex]; byte low = bytes[ 阅读全文
posted @ 2021-07-14 10:58 一只桔子2233 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 1 var cameraState = { "bean1": "0", "bean2": "0" , "scraper": "0", "man": "0", "hat": "0" , "belt": "0", "transfer": "0", "iron": "0" }; fun 阅读全文
posted @ 2021-07-05 12:05 一只桔子2233 阅读(82) 评论(0) 推荐(0) 编辑
摘要: 1、 INTERVAL=180030分钟重启java程序 @echo off set INTERVAL=1800 start /min "发送到redis" java -jar C:/Users/Administrator/Desktop/桌面文件/redis发送/videoSDK.jar time 阅读全文
posted @ 2021-06-26 16:18 一只桔子2233 阅读(817) 评论(0) 推荐(0) 编辑
摘要: public void startC138() { new Thread(() -> { try { Thread.sleep(10000); String killredis = "/home/bjlthy/gym/code/killredis.sh"; Process ps = Runtime. 阅读全文
posted @ 2021-06-25 18:10 一只桔子2233 阅读(206) 评论(0) 推荐(0) 编辑
摘要: 1、前言 项目上需要定时重启电脑,重启java程序 2、使用cron定时任务 sudo vim /etc/crontab 按照规则加入,这里是每2分钟执行一次 注意这里有个以root身份运行的程序 05 * * * * root /home/bjlthy/java/modubsSlave.sh #每 阅读全文
posted @ 2021-06-25 16:39 一只桔子2233 阅读(464) 评论(0) 推荐(0) 编辑
摘要: 1、前言 在Linux下java调研libPlayCtrl.so文件失败 Exception in thread "Thread-1" Exception in thread "Thread-5" Exception in thread "Thread-6" Exception in thread 阅读全文
posted @ 2021-06-21 09:48 一只桔子2233 阅读(2641) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 56 下一页