TypechoJoeTheme

👑潇洒空间👑

统计
登录
用户名
密码

扫码登录
/
注册
用户名

此用户名将作为登录时所用的账号

邮箱

亚马逊云VPS搭建

潇洒博 主大黑
2022-10-14
/
0 评论
/
25 阅读
/
274 个字
/
百度已收录
10/14
本文最后更新于2022年10月14日,已超过165天没有更新。如果文章内容或图片资源失效,请留言反馈,我会及时处理,谢谢!

支持的操作系统 (CentOS 7+、Ubuntu 16+、Debian 8+),操作流程是一样的。在申请SSL证书的时候,请输入对应系统的命令,其他的是一样的。
1.亚马逊申请连接:https://portal.aws.amazon.com/billing/signup#/start
2.安装finalshell,下载安装连接:https://www.hostbuf.com/
3.Debian默认用户名:admin
4.开启root登入:sudo -i
5.修改authorized_keys文件(即ssh证书):vi .ssh/authorized_keys
把ssh-rsa之前的文件都删除掉了。(要按i才能删除)
编辑ssh配置文件
按ESC键
英文的冒号“:”
wq回车
6.nano /etc/ssh/sshd_config
找到PermitRootLogin,把前面的#删除改成下面这样
PermitRootLogin yes
ctrl+x保存退出选择y然后回车
然后
Reboot 重启服务器。
可以使用root用户名配合秘秘登入了

建议使用DD命令直接恢复服务器为ROOT状态,
重装命令
bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -d 11 -v 64 -a -firmware -p 111111
更新组件
apt update -y && apt install -y curl && apt install -y socat && apt install wget -y
BBR
wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh" && chmod +x tcp.sh && ./tcp.sh

7.开启防火墙
(1) iptables -P INPUT ACCEPT
(2) iptables -P FORWARD ACCEPT
(3) iptables -P OUTPUT ACCEPT
(4) iptables -F
(5) apt-get purge netfilter-persistent
reboot 重启服务器
8.申请SSL证书
(1) apt update -y && apt-get install curl -y && apt install -y socat # Debian/Ubuntu 命令
(2) yum update -y #CentOS 命令
(3) yum install -y curl #CentOS 命令
(4) yum install -y socat #CentOS 命令
(5)curl https://get.acme.sh | sh
(6) ~/.acme.sh/acme.sh --register-account -m 替换自己的邮箱
(7) ~/.acme.sh/acme.sh --issue -d 替换自己的域名 --standalone
(8)~/.acme.sh/acme.sh --installcert -d 替换自己的域名 --key-file /root/private.key --fullchain-file /root/cert.crt
(9)公钥路径:/root/cert.crt
(10)私钥路径:/root/private.key
9.安装xray面板: bash <(curl -Ls https://raw.githubusercontent.com/vaxilu/x-ui/master/install.sh)
10.安装BBR加速(此BBR不兼容Centos和Ubuntu系统):
wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh" && chmod +x tcp.sh && ./tcp.sh
鼠标点进窗口,选择NO,回车;
再输入Y,回车
重启
11.安装v2ray,下载链接:https://github.com/2dust/v2rayN/releases
12.如果打不开v2rayN.exe,可以安装.NET Framework 4.8,下载链接:https://docs.microsoft.com/zh-cn/dotnet/framework/install/guide-for-developers

VPS亚马逊云
朗读
' controls='controls' hidden>
赞(0)
赞赏
感谢您的支持,我会继续努力哒!
版权属于:

👑潇洒空间👑

本文链接:

https://cnvip666.tk/index.php/archives/4/(转载时请注明本文出处及文章链接)

评论 (0)

互动读者

IP信息

人生倒计时

今日已经过去小时
这周已经过去
本月已经过去
今年已经过去个月

标签云

最新回复

  1. 打酱油
    2022-10-28
  2. 耍哥打酱油
    2022-10-22
  3. 耍哥打酱油
    2022-10-21
  4. 花朵大王打酱油
    2022-10-21
  5. 花朵大王打酱油
    2022-10-21
登录
X
用户名
密码

歌曲封面
0:00