Iterm2 常用插件
lantinglou 发布于 2022-07-12
plugins=(git extract z zsh-autosuggestions zsh-syntax-highlighting) zsh-autosuggestions 按tab键补全或者显示目录 还有一个 自动补全插件叫incr 也不错
阅读(61)评论(0)赞 (0)
lantinglou 发布于 2022-07-12
plugins=(git extract z zsh-autosuggestions zsh-syntax-highlighting) zsh-autosuggestions 按tab键补全或者显示目录 还有一个 自动补全插件叫incr 也不错
阅读(61)评论(0)赞 (0)
lantinglou 发布于 2022-07-12
使用iTerm2 shell intergration进行文件传输(推荐) 其实一种最强大便捷的文件传输方式是使用 iTerm2 shell intergration。 安装iTerm2 shell intergration 安装非常简单,只需要先登录服务器端,执行如下命令: 选...
阅读(63)评论(0)赞 (0)
lantinglou 发布于 2022-07-11
方式一 新建一个shell文件,如ssh.sh #!/usr/bin/expect -f set user username set password password set host ip/domian set port 22 set timeout -1 spawn ssh...
阅读(74)评论(0)赞 (0)
lantinglou 发布于 2022-07-09
介绍 iTerm2 是一个MacOS 下的终端模拟器,和其他的终端本质上没啥大不同。但相对比自带那个终端它有更多的功能和更好的用户体验。 Zsh 全称是The Z shell. 是一个unix shell. 类似Bash, ksh 等。比原生shell 提供更多的功能。(Maco...
阅读(83)评论(0)赞 (0)
lantinglou 发布于 2022-02-12
# 机器A 允许转发 echo 'net.ipv4.ip_forward=1' >> /etc/sysctl.conf sysctl -p # 机器A 建立IPIP隧道 ip tunnel add tunnel1 mode ipip local AIP remote ...
阅读(168)评论(0)赞 (21)
lantinglou 发布于 2022-02-09
用路由器拨号,IPv6设置。首先联机类型要改成Native,接口:PPP、DHCP-PD和release prefix on exit都要开启。 安全设置里面将IPv6防火墙关闭 如果不能用记得看一下DNS 改为ipv6的。 测试地址 1.http://ipv6.ustb.edu...
阅读(131)评论(0)赞 (0)
lantinglou 发布于 2022-02-02
1.ss bash <(curl -sL https://s.hijk.art/ss.sh) 2.v2 bash <(curl -s -L https://git.io/v2ray.sh) 3.tj https://github.com/p4gefau1t/troja...
阅读(131)评论(0)赞 (5)
lantinglou 发布于 2022-01-22
LemonBench.sh LemonBench工具(别名LBench、柠檬Bench),是一款针对Linux服务器设计的服务器性能测试工具。通过综合测试,可以快速评估服务器的综合性能,为使用者提供服务器硬件配置信息。 特点 服务器基础信息(CPU信息/内存信息/Swap信息/磁...
阅读(89)评论(0)赞 (2)
lantinglou 发布于 2022-01-21
卸载内核 wget -N --no-check-certificate "https://github.000060000.xyz/tcp.sh" && chmod +x tcp.sh && ./tcp.sh or wget -O tcp.sh "...
阅读(443)评论(0)赞 (0)
lantinglou 发布于 2022-01-20
Wordpress为例(未开启静态缓存) 1.Nginx PHP8 with opcache 对比 PHP 7.4 with opcache 有15-20%的性能提示 2.Openlitespeed PHP 7.4 with opcache 比 Nginx PHP 7.4 w...
阅读(102)评论(0)赞 (16)
最新评论