实现过程 下面的命令将配置192.168.1.0/24整个网段的IP允许访问服务器的22端口 // 先移除默认开启的没有访问限制的ssh服务 # firewall-cmd --permanent --remove-service=ssh // 添加复杂规则,只允许指定IP段访问22端口 # fire ...
分类:
其他好文 时间:
2020-07-06 16:30:30
阅读次数:
304
Given a sorted array nums, remove the duplicates in-place such that each element appear only once and return the new length. Do not allocate extra spa ...
分类:
其他好文 时间:
2020-07-06 16:06:35
阅读次数:
68
1.卸载旧版版 yum remove docker \ docker-client \ docker-client-latest \ docker-common \ docker-latest \ docker-latest-logrotate \ docker-logrotate \ docker ...
分类:
其他好文 时间:
2020-07-06 13:07:11
阅读次数:
71
shelljs https://github.com/shelljs/shelljs 实例 var shell = require('shelljs'); if (!shell.which('git')) { shell.echo('Sorry, this script requires git') ...
分类:
Web程序 时间:
2020-07-06 11:12:54
阅读次数:
98
查看一下本地是否安装open-vm-tools [root@localhost ~]# dnf remove open-vm-tools No match for argument: open-vm-tools # 不存在 关闭SElinux否则会挂 挂载CDROM镜像 # 创建文件夹 [root@ ...
分类:
系统相关 时间:
2020-07-06 11:06:37
阅读次数:
562
3、卸载低版本git# yum remove git14、依赖库安装# yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel# yum install gcc perl-ExtUtils-MakeMaker ...
分类:
其他好文 时间:
2020-07-06 01:29:17
阅读次数:
111
转:https://blog.csdn.net/weixin_42978870/article/details/83623435 方案一 1、在使用的项目右击,点击Build Path → Configure Build Path 2、在弹出的窗口中点击Libraries选项卡 3、展开JRE Sy ...
分类:
编程语言 时间:
2020-07-05 18:57:34
阅读次数:
317
apt-cache search package 查找包 sudo apt-get install package 安装包 sudo apt-get remove package 删除包 sudo apt-get autoremove 自动删除不需要的包 sudo apt-get update 更新 ...
分类:
系统相关 时间:
2020-07-05 15:15:48
阅读次数:
74
安装 sudo add-apt-repository ppa:gerardpuig/ppa sudo apt update sudo apt install ubuntu-cleaner 卸载: sudo apt remove ubuntu-cleaner && sudo apt autoremov ...
分类:
系统相关 时间:
2020-07-05 13:55:34
阅读次数:
198
场景... remove方法 list中根据判断条件符合的就remove掉一个数据 public static void main(String[] args) { List<CaseHead> list=new ArrayList<CaseHead>(); CaseHead caseHead1=n ...
分类:
其他好文 时间:
2020-07-04 22:19:51
阅读次数:
156