上一页 1 ··· 46 47 48 49 50 51 52 53 54 ··· 112 下一页
摘要: Spacemacs配置yasnippe插件 简介 spacemacs也可以像vim一样配置快捷代码块,提高输入的效率。当前比较好用的插件是yasnippet。 安装yasnippet插件 修改.spacemacs配置文件 dotspacemacs-additional-packages '( ;; 阅读全文
posted @ 2020-06-26 22:53 jiftle 阅读(615) 评论(0) 推荐(0)
摘要: vim /etc/hosts.allowsshd:192.168.31.109:allow //只允许192.168.31.109登录vim /etc/hosts.denysshd:ALL //开启白名单,只允许192.168.31.109登录systemctl restart sshd ,重启ss 阅读全文
posted @ 2020-06-23 11:39 jiftle 阅读(3520) 评论(0) 推荐(0)
摘要: 一. 设置firewall规则 例1:对外暴露8080端口 firewall-cmd --permanent --add-port=8080/tcp 例2:使mysql服务的3306端口只允许192.168.1.1/24网段的服务器能访问 #添加规则 firewall-cmd --permanent 阅读全文
posted @ 2020-06-23 11:04 jiftle 阅读(2829) 评论(0) 推荐(0)
摘要: Docker supports the following storage drivers: overlay2 is the preferred storage driver, for all currently supported Linux distributions, and requires 阅读全文
posted @ 2020-06-21 19:28 jiftle 阅读(294) 评论(0) 推荐(0)
摘要: 阿里druid数据源配置及数据库密码加密 注意: 1、阿里默认只对用户密码解密 2、druid 1.0.16版本及以上的解密时需要同时配置publicKey 一.生成密文密码 1 前提:已经配置了jdk环境 1、生成密文密码需要准备druid的jar包.然后通过命令行生成,如下步骤: 1.1准备ja 阅读全文
posted @ 2020-06-17 14:37 jiftle 阅读(8658) 评论(0) 推荐(0)
摘要: Oh My Zsh 网址 https://ohmyz.sh/ 安装 # 安装zsh sudo apt install zsh -y # 安装oh my zsh sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/ 阅读全文
posted @ 2020-06-15 09:37 jiftle 阅读(562) 评论(0) 推荐(0)
摘要: 1. 理解压力测试压力测试的理解,xxx的性能10w/s,对你有意义么? 没有那家卖瓜的会说自己家的不甜,同样,没有哪个开源项目愿意告诉你在对它条件最苛刻的时候压力情况是多少,一般官网号称给你看的性能指标都是在最理想环境下的,毫无参考意义。举个栗子,redis官网压测的例子,256字节的读速度11w 阅读全文
posted @ 2020-06-12 08:56 jiftle 阅读(4293) 评论(2) 推荐(0)
摘要: pip3 install jupyterlab pip3 install notebook 使用jupyter jupyter 默认只能通过本地地址访问,要放开配置,允许jupyter远程访问。在放开远程访问时,需要设置密码,jupyter的配置文件只支持加密后的密文密码(赞一个) #生成jupyt 阅读全文
posted @ 2020-06-11 10:38 jiftle 阅读(282) 评论(0) 推荐(0)
摘要: 在git config文件里面设置别名。git config --global alias.lg "log --graph --all --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue) 阅读全文
posted @ 2020-06-09 16:28 jiftle 阅读(7636) 评论(0) 推荐(2)
摘要: Dockerfile中使用HEALTHCHECK的形式有两种:1、HEALTHCHECK [options] CMD command(本次详细解释)2、HEALTHCHECK NODE 意思是禁止从父镜像继承的HEALTHCHECK生效下面我们主要介绍第一种形式的应用:options有三个参数可设定 阅读全文
posted @ 2020-06-09 16:13 jiftle 阅读(1898) 评论(0) 推荐(0)
上一页 1 ··· 46 47 48 49 50 51 52 53 54 ··· 112 下一页