ssh无法启动 (code=exited, status=255) 2019年1月30日ssh 服务器运行了一些脚本后,突然发现无法ssh了。 root@X61T:/home/liang# service sshd restart Job for ssh.service failed because ...
分类:
其他好文 时间:
2020-07-26 15:52:25
阅读次数:
322
。MPLS TE 利用对现有协议(中间系统到中间系统 (IS-IS)、资源预留协议 (RSVP)、OSPF)的扩展计算并建立根据网络约束设置的单向隧道。通信流在不同的隧道被映射根据他们的目的地。 (OSPF Traffic Engineering,即OSPF流量工程)是为了支持MPLS流量工程(MP ...
分类:
其他好文 时间:
2020-07-26 01:48:00
阅读次数:
77
Java数字类 1.整数 Short,Int,Long 2.浮点数 Float,Double 3.大数类 BigInteger(大整数),BigDecimal(大浮点数) 4.随机数类 Random 5.工具类 Math BigInteger类的一些操作用法如下: package cn.edu.xj ...
分类:
编程语言 时间:
2020-07-26 00:42:23
阅读次数:
73
Java数据类型 Java中的数据类型分为两大类,基本数据类型和引用数据类型。 1 基本数据类型 基本数据类型只有八种,可按照如下分类 整数类型 :long int short byte 浮点类型:float double 字符类型:char 布尔类型:boolean 数据类型大小/位可表示数据范围 ...
分类:
编程语言 时间:
2020-07-26 00:05:15
阅读次数:
66
在Django中如何使用Redis 通用方式 在utils下建立redis_pool.py文件 # 单例模式 import redis POOL = redis.ConnectionPool(host="127.0.0.1",port=6379,max_connections=1000) 在视图函数 ...
分类:
其他好文 时间:
2020-07-25 11:45:38
阅读次数:
91
静态初始化是直接创建加赋值 动态初始化,具有默认值//不赋值直接打印会打印出数组类型的默认值 int,byte,short,long=0 double,float=0.0 char=\u0000 boolean=false String=null(引用类型) 数组下标越界异常 数组长度,arr.le ...
分类:
编程语言 时间:
2020-07-25 09:59:50
阅读次数:
84
Dijkstra's algorithm is one of the very famous greedy algorithms. It is used for solving the single source shortest path problem which gives the short ...
分类:
其他好文 时间:
2020-07-24 21:53:35
阅读次数:
107
insert into t_user (id, avatar, create_time, email, nick_name, password, type, update_time, user_name, file_id, register_method, token, short_message, ...
分类:
数据库 时间:
2020-07-24 16:25:00
阅读次数:
102
一、八大基本类型 1. 整型类 类型占用存储空间范围 byte 1字节=8bit -128~127 2^8 short 2字节 -2^15~2^15-1 int 4字节 -2^31~2^31-1(约21亿) long 8字节 -2^63~2^63-1 说明:声明long型必须以“l”或者“L”结尾。 ...
分类:
编程语言 时间:
2020-07-24 09:56:13
阅读次数:
86
分支结构 Note:switch中支持的类型为byte,short,int,char,String(JDK7+),枚举共6种,不支持浮点型 1.if结构 if:如果 格式: if(布尔表达式){ //条件成立逻辑代码块 } import java.util.Scanner; public class ...
分类:
其他好文 时间:
2020-07-23 23:25:18
阅读次数:
87