人类的文明灯塔(科学上网)

科学上网

推荐使用 Debian 9 系统,脚本会自动启用 BBR 优化。一键DD为VPS服务器更换/重装纯净版Debian9

bash <(curl -sL https://git.io/v2ray.sh)
如果提示 curl: command not found ,那是因为你的 VPS 没装 Curl
ubuntu/debian 系统安装 Curl 方法: apt-get update -y && apt-get install curl -y
centos 系统安装 Curl 方法: yum update -y && yum install curl -y
安装好 curl 之后就能安装脚本了
apt-get update
apt-get upgrade
apt-get install curl

上述不行就用下面这个:


使用Cloudflare 服务,准备一个域名并将A记录添加好。
安装/更新方式(Xray 前置)安卓v2rayNG使用XTLS
支持配置方式

VLESS + TCP + XTLS / TLS + Nginx

VLESS + TCP + XTLS / TLS + Nginx 及 VLESS + TCP + TLS + Nginx + WebSocket 回落并存模式

wget -N --no-check-certificate -q -O install.sh "https://raw.githubusercontent.com/wulabing/Xray_onekey/main/install.sh" && chmod +x install.sh && bash install.sh

安装/更新方式(Nginx 前置)
支持配置方式

VLESS + TCP + TLS + Nginx + WebSocket

wget -N --no-check-certificate -q -O install.sh "https://raw.githubusercontent.com/wulabing/Xray_onekey/nginx_forward/install.sh" && chmod +x install.sh && bash install.sh

参考:https://github.com/wulabing/Xray_onekey


Vmess+websocket+TLS+Nginx+Website

wget -N --no-check-certificate -q -O install.sh "https://raw.githubusercontent.com/wulabing/V2Ray_ws-tls_bash_onekey/master/install.sh" && chmod +x install.sh && bash install.sh

VLESS+websocket+TLS+Nginx+Website

wget -N --no-check-certificate -q -O install.sh "https://raw.githubusercontent.com/wulabing/V2Ray_ws-tls_bash_onekey/dev/install.sh" && chmod +x install.sh && bash install.sh

参考:https://github.com/wulabing/V2Ray_ws-tls_bash_onekey
使用TLS的情况下,VLESS协议比VMESS速度更快,性能更好。


搭建Telegram的MTProto代理(不建议使用)

一、先安装Docker→→→→→→https://mlldxe.cn/archives/72
二、一键搭建Telegram的MTProto代理
# CentOS

yum install curl -y
bash <(curl -sL https://storage.googleapis.com/tiziblog/mt_setup.sh)

# Ubuntu&Debian

apt-get update -y&apt-get install curl -y
bash <(curl -sL https://storage.googleapis.com/tiziblog/mt_setup.sh)
*注意事项
  1. 目前MTProto已经发展到第三代,已经不建议使用V2ray内置的MTProto来搭建
  2. 本脚本使用了 9seconds 的docker镜像搭建;docker访问外网需求,因此禁用了VPS的防火墙。如果你的VPS用于网站等重要业务,不建议使用本脚本搭建;
  3. 国内VPS,建议使用中转,防止被封;
  4. MTProto很可能过一段时间就导致被封,稳妥的方法还是使用带伪装的V2ray或者trojan,参考配置Telegram走SS/SSR/V2ray/trojan代理的操作使用TG。

客户端下载

Windows:
本地下载

Android:
本地下载
xray内核:https://download.mlldxe.cn/VPN/v2flyNG_1.7.17.apk

IOS:Shadowrocket(请联系)
小火箭Shadowrocket共享账号 https://apple.zhizhi.bike/
telegram android
本地下载(官网)
Twitter android
本地下载

VPS常用的系统信息查看命令代码
系统
# uname -a # 查看内核/操作系统/CPU信息
# head -n 1 /etc/issue # 查看操作系统版本
# cat /proc/cpuinfo # 查看CPU信息
# hostname # 查看计算机名
# lspci -tv # 列出所有PCI设备
# lsusb -tv # 列出所有USB设备
# lsmod # 列出加载的内核模块
# env # 查看环境变量
资源
# free -m # 查看内存使用量和交换区使用量
# df -h # 查看各分区使用情况
# du -sh # 查看指定目录的大小
# grep MemTotal /proc/meminfo # 查看内存总量
# grep MemFree /proc/meminfo # 查看空闲内存量
# uptime # 查看系统运行时间、用户数、负载
# cat /proc/loadavg # 查看系统负载
磁盘和分区
# mount | column -t # 查看挂接的分区状态
# fdisk -l # 查看所有分区
# swapon -s # 查看所有交换分区
# hdparm -i /dev/hda # 查看磁盘参数(仅适用于IDE设备)
# dmesg | grep IDE # 查看启动时IDE设备检测状况
网络
# ifconfig # 查看所有网络接口的属性
# iptables -L # 查看防火墙设置
# route -n # 查看路由表
# netstat -lntp # 查看所有监听端口
# netstat -antp # 查看所有已经建立的连接
# netstat -s # 查看网络统计信息
进程
# ps -ef # 查看所有进程
# top # 实时显示进程状态
用户
# w # 查看活动用户
# id # 查看指定用户信息
# last # 查看用户登录日志
# cut -d: -f1 /etc/passwd # 查看系统所有用户
# cut -d: -f1 /etc/group # 查看系统所有组
# crontab -l # 查看当前用户的计划任务
服务
# chkconfig –list # 列出所有系统服务
# chkconfig –list | grep on # 列出所有启动的系统服务
程序
# rpm -qa # 查看所有安装的软件包

点赞

发表评论

电子邮件地址不会被公开。必填项已用 * 标注