会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
itur
博客园
首页
新随笔
联系
订阅
管理
随笔 - 25
文章 - 0
评论 - 0
阅读 -
7434
上一页
1
2
3
下一页
2021年2月22日
防火墙常用操作
摘要: 1、防火墙状态、启动、关闭 systemctl status | start | stop firewalld 2、防火墙端口 1) 查看防火墙全部开放端口 firewall-cmd --zone=public --list-ports 2) 永久 (开放|关闭) 端口 firewall-cmd -
阅读全文
posted @ 2021-02-22 17:42 itur
阅读(133)
评论(0)
推荐(0)
2021年1月27日
SSH基础知识
摘要: 1、生成密钥 :ssh-keygen 1) 公钥、私钥会生成在 /root/.ssh目录下;默认ras加密 2) 指定密钥路径,文件名 ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key 3) 其他加密算法 ssh-keygen -t rsa|dsa|ed2
阅读全文
posted @ 2021-01-27 16:15 itur
阅读(168)
评论(0)
推荐(0)
2021年1月25日
Linux控制台简单编程
摘要: 1、查看变量 :set 2、删除变量 :unset 变量名 3、变量赋值 :var1=`cat test.txt | grep -w "this is a test"` 1) 变量名=值,之间不要有空格,不然变量名会被当做命令 2) 如果将某个命令的结果赋值给变量,用 `` 引起来 3) grep全
阅读全文
posted @ 2021-01-25 12:21 itur
阅读(305)
评论(0)
推荐(0)
2021年1月14日
linux常用工具安装 - yum
摘要: 1、安装 unzip zip apt-get install zip 或者 yum install -y unzip zip 2、安装 rz sz yum -y install lrzsz 3、安装 nodejs, npm (免编译) 1) 下载安装包(tar.xz) :https://nodejs
阅读全文
posted @ 2021-01-14 10:57 itur
阅读(286)
评论(0)
推荐(0)
2021年1月11日
Maven 项目引用 github 包
摘要: 1、设置github个人令牌 1) 登录github后,点击个人头像 ——> Settings ——> Developer settings ——> Personal access tokens ——> Generate new token 2) 输入token名,选择授权范围(repo全选,adm
阅读全文
posted @ 2021-01-11 16:51 itur
阅读(821)
评论(0)
推荐(0)
Maven 设置 mirror
摘要: 在maven的配置文件 maven/conf/setting.xml 的 <mirrors> 标签对里添加要设置的 mirror <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org
阅读全文
posted @ 2021-01-11 16:27 itur
阅读(826)
评论(0)
推荐(0)
2021年1月7日
Docker 常用命令
摘要: 1、查看所有容器 docker ps -a 2、进入容器 docker exec -it 容器ID /bin/bash 或 docker exec -ti 容器ID /bin/sh 3、退出镜像 exit 或 ctrl+d 快捷键 4、将容器中文件拷贝到物理机,物理机上执行 docker cp 容器
阅读全文
posted @ 2021-01-07 18:33 itur
阅读(72)
评论(0)
推荐(0)
2020年11月25日
项目引用本地jar包
摘要: 1、直接在POM文件中映入本地包 <dependency> <groupId>随意</groupId> <artifactId>随意</artifactId> <scope>system</scope> <systemPath>YourPath/xxx.jar</systemPath></depen
阅读全文
posted @ 2020-11-25 14:55 itur
阅读(317)
评论(0)
推荐(0)
2020年11月12日
JMeter脚本 - 命令行执行
摘要: 1、JMenter中参数使用可配置,线程数 - ${__P(threadCount,1)}、持续时间 - ${__P(duration,60)} 2、命令:jmeter -n -t xxxxx.jmx -JthreadCount=100 -Jduration=600 -l result.jtl -e
阅读全文
posted @ 2020-11-12 10:35 itur
阅读(212)
评论(0)
推荐(0)
2020年10月30日
Mybatis 写SQL时 #{} 与 ${} 的区别
摘要: 1、查询数据库,获取字段值用 #{} SELECT `name` FROM table WHERE id=#{id} 2、查询数据库,查询字段为变量中获取,使用 ${} SELECT ${FieldName} FROM ${TableName} WHERE ${FieldName}=#{value}
阅读全文
posted @ 2020-10-30 10:59 itur
阅读(111)
评论(0)
推荐(0)
上一页
1
2
3
下一页
公告
点击右上角即可分享