摘要:
package com.dashan.utils.iputils; import org.apache.commons.lang.StringUtils; import java.io.BufferedReader; import java.io.IOException; import java.i
阅读全文
posted @ 2023-03-07 23:06
鲤斌
阅读(590)
推荐(0)
摘要:
依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId> </dependency> @SpringBootTestclass
阅读全文
posted @ 2023-03-05 18:42
鲤斌
阅读(50)
推荐(0)
摘要:
对于springcloud而言,模块是按业务进行区分的; 父工程 依赖 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>
阅读全文
posted @ 2023-03-05 01:59
鲤斌
阅读(31)
推荐(0)
摘要:
今天我的服务器发信息 “云服务器存在疑似挖矿行为的检查通知” 让我尽快处理; 首先通过top命令没有找到异常 netstat -anptl //查找异常的ip lsof -p 7149 // ls -l /proc/7149/exe //获取并记录挖矿进程的文件路径: kill -9 7149 //
阅读全文
posted @ 2023-03-05 01:53
鲤斌
阅读(162)
推荐(0)
摘要:
启动时指定端口 启动时指定端口可在一台服务器启动多个redis进程 cd /opt/work/redis/bin./redis-server ../conf/redis.conf --port 6380 创建多个redis目录 创建多个redis目录,以端口号命名,推荐使用此种方式 比如:创建638
阅读全文
posted @ 2023-03-05 01:44
鲤斌
阅读(145)
推荐(0)
摘要:
redis.conf配置文件详解 4.1. Redis默认不是以守护进程的方式运行,可以通过该配置项修改,使用yes启用守护进程 daemonize no 4.2. 当Redis以守护进程方式运行时,Redis默认会把pid写入/var/run/redis.pid文件,可以通过pidfile指定 p
阅读全文
posted @ 2023-03-05 01:38
鲤斌
阅读(154)
推荐(0)
摘要:
Ribbon负载均衡(了解) Ribbon与nacos负载均衡的区别 nginx的负载均衡是服务端的负载均衡。ribbon的负载均衡是客户端的负载均衡; 服务端的负载均衡需要将被调用的方的ip以及端口号进行配置。服务端的负载均衡 需要自己手动的进行配置,才能完成调用。如果没有配置,则无法进行负载;
阅读全文
posted @ 2023-03-03 01:19
鲤斌
阅读(155)
推荐(0)
摘要:
/deep/ .el-drawer.rtl { -webkit-animation: rtl-drawer-out .3s; animation: rtl-drawer-out .3s; background:rgba(253, 253, 252, 0.263); right: 0; } 报错不用管
阅读全文
posted @ 2023-03-02 22:29
鲤斌
阅读(62)
推荐(0)
摘要:
代码<template> <div> <div class="right3box" :style="{width: 500+'px', height:132+'px',top:200+'px',marginLeft:70+'px'}" > <div class="text3" style="flex
阅读全文
posted @ 2023-03-02 15:46
鲤斌
阅读(21)
推荐(0)
摘要:
代码 <template> <div> <!-- 左侧的滑动模块 --> <div class="scroll-box" :style="{width: 1106*screenWidth/1920+'px', height:336.52*screeHeight/1080+'px',top:130*s
阅读全文
posted @ 2023-03-02 11:47
鲤斌
阅读(78)
推荐(0)