2022年4月22日星期五

常用的

                                                           常用的

一键安装指令:

bash <(curl -s -L https://git.io/v2ray.sh)

 Trojan一键代码
bash <(curl -sSL "https://raw.githubusercontent.com/veip007/hj/main/trojan-go.sh") 

 八合一共存脚本,支持多内核安装

wget -P /root -N --no-check-certificate "https://raw.githubusercontent.com/mack-a/v2ray-agent/master/install.sh" && chmod 700 /root/install.sh && /root/install.sh

BBR 加速
wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh" && chmod +x tcp.sh && ./tcp.sh

 获取root权限:
sudo -i

apt update -y
apt install -y curl
apt install -y socat
yum install -y curl  #CentOS
sudo apt install -y curl  #Ubuntu/Debian

Ubuntu系统下:
开放所有端口
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
iptables -F

 #放行端口
iptables -I INPUT -p tcp --dport 80 -j ACCEPT
iptables -I INPUT -p tcp --dport 443 -j ACCEPT

 centos操作如下:

#停止firewall
systemctl stop firewalld.service
#禁止firewall开机启动
systemctl disable firewalld.service
#关闭iptables
service iptables stop
#去掉iptables开机启动
chkconfig iptables off

oracle Linux操作如下:
#停止firewall
systemctl stop firewalld.service
#禁止firewall开机启动
systemctl disable firewalld.service

ubuntu操作如下:
#Oracle自带的Ubuntu镜像默认设置了Iptable规则,关闭它
apt-get purge netfilter-persistent
reboot
#强制删除
rm -rf /etc/iptables && reboot

 

这个有warp
wget -N https://raw.githubusercontents.com/Misaka-blog/Xray-script/master/xray.sh && bash xray.sh

yongge
wget -N https://raw.githubusercontents.com/kkkyg/CFwarp/main/CFwarp.sh && bash CFwarp.sh

2022年4月17日星期日

有意思的图片

                                                        这是在练什么功



谷歌云服务器

                                          谷歌云服务器 1、切换到root用户:sudo -i 2 、修改SSH配置文件:vi /etc/ssh/sshd_config 3 、找到PermitRootLogin和PasswordAuthe...