Linux 第2页

Linux下后台运行几种方法

lantinglou 发布于 2022-07-15

1、nohup 将程序以忽略挂起信号的方式运行起来 补充说明 nohup命令 可以将程序以忽略挂起信号的方式运行起来,被运行的程序的输出信息将不会显示到终端。 无论是否将 nohup 命令的输出重定向到终端,输出都将附加到当前目录的 nohup.out 文件中。 如果当前目录的 ...

阅读(22)评论(0)赞 (0)

Iterm2 常用插件

lantinglou 发布于 2022-07-12

plugins=(git extract z zsh-autosuggestions zsh-syntax-highlighting) zsh-autosuggestions 按tab键补全或者显示目录 还有一个 自动补全插件叫incr 也不错

阅读(24)评论(0)赞 (0)

使用iTerm2 shell intergration进行文件传输

2

lantinglou 发布于 2022-07-12

使用iTerm2 shell intergration进行文件传输(推荐) 其实一种最强大便捷的文件传输方式是使用 iTerm2 shell intergration。 安装iTerm2 shell intergration 安装非常简单,只需要先登录服务器端,执行如下命令: 选...

阅读(27)评论(0)赞 (0)

iTerm2 ssh自动登陆脚本

4

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...

阅读(28)评论(0)赞 (0)

GRE隧道打通及IP地址映射 Centos7

lantinglou 发布于 2022-02-13

# 机器A 允许转发 echo 'net.ipv4.ip_forward=1' >> /etc/sysctl.conf sysctl -p # 机器A 建立GRE隧道 ip tunnel add tunnel1 mode gre local AIP remote BI...

阅读(84)评论(0)赞 (0)

IPIP隧道打通及IP地址映射 Centos7

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 ...

阅读(121)评论(0)赞 (21)

一些辅助工具

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...

阅读(70)评论(0)赞 (5)

VPS常用测试脚本

12

lantinglou 发布于 2022-01-22

Bench.sh 秋水逸冰大佬的写的Bench.sh脚本 特点 显示当前测试的各种系统信息; 取自世界多处的知名数据中心的测试点,下载测试比较全面; IO 测试三次,并显示平均值。 使用 wget -qO- bench.sh | bash #或者 curl -Lso- bench...

阅读(46)评论(0)赞 (2)

Centos一键安装 锐速/BBRPLUS/BBR2

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 "...

阅读(58)评论(0)赞 (0)

Openlitespeed Nginx wordpress whmcs 测试结论

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...

阅读(51)评论(0)赞 (16)