甲骨文云服务器x-ui面板搭建记录
甲骨文云服务器x-ui面板搭建记录
kikockvps基本信息
VPS状态如下:
CPU 型号
CPU 核心 合计 0 核心,4 线程
CPU 状态 当前主频 MHz
内存大小 23989 MB (234 MB 已用)
硬盘大小 45.3 GB
虚拟化技术 No Virtualization Detected
IPv4 地址 xxx.xxx.xxx.xxx
运营商 AS31898 Oracle Corporation
地理位置 AU, New South Wales, Sydney
操作系统 Ubuntu 20.04.6 focal (aarch64)
系统内核 5.15.0-1067-oracle
常用脚本
1. 一键安装 curl 和 wget
1 |
|
2. 一键 IP 质量体检和解锁检测
1 |
|
3. 流媒体平台及游戏区域限制综合检测
1 | # https://github.com/lmc999/RegionRestrictionCheck |
4. 网络测速
1 |
|
5. 性能测试
1 | curl -fsL https://ilemonra.in/LemonBenchIntl | bash -s fast |
6. 硬件信息查看
1 | wget -q https://github.com/Aniverse/A/raw/i/a && bash a |
7. 融合检测
1 |
|
服务器准备
切换管理员
打开文件修改密钥内容,将ssh-rsa之前的内容都删除掉.
1
2
3
vi /root/.ssh/authorized_keys
修改密码,修改设置ssh配置
找到PermitRootLogin,把前面的#去掉,更改为PermitRootLogin yes
找到PasswordAuthentication, 更改为 PasswordAuthentication yes1
2
3
4
5
6sudo -i # 切换root用户
echo root:Aa551122 |sudo chpasswd root # 修改root密码
sudo sed -i 's/^#\?PermitRootLogin.*/PermitRootLogin yes/g' /etc/ssh/sshd_config; // 开启root登录
sudo sed -i 's/^#\?PasswordAuthentication.*/PasswordAuthentication yes/g' /etc/ssh/sshd_config; // 开启密码验证
service sshd restart
1panel 面板
1panel面板一键安装脚本
1 | curl -sSL https://resource.fit2cloud.com/1panel/package/quick_start.sh -o quick_start.sh && sudo bash quick_start.sh |
x-ui面板安装脚本
x-ui精简修改版一键脚本
使用[甬哥侃侃侃ygkkk]https://github.com/yonggekkk/x-ui-yg 修改版本
原版 脚本地址:https://github.com/vaxilu/x-ui
1 | bash <(curl -Ls https://raw.githubusercontent.com/yonggekkk/x-ui-yg/main/install.sh) |
或
1 | bash <(wget -qO- https://raw.githubusercontent.com/yonggekkk/x-ui-yg/main/install.sh) |
安装面板后如图 :
哪吒探针官方脚本
1 | curl -L https://raw.githubusercontent.com/naiba/nezha/master/script/install.sh -o nezha.sh && chmod +x nezha.sh && sudo bash nezha.sh |
安装准备
- GitHub(账号登录使用)
创建 GitHub Apps
Homepage URL
http://你的域名:8008
Authorization callback URL
http://你的域名:8008/oauth2/callback
创建完成
记录 Client ID 和 Client secrets 和 github用户名称备用
安装面板
如图填入 Client ID 和 Client secrets 访问端口 github用户名 RPC端口等
完成后使用ip或者域名打开面板
点击登录会跳转github授权登录
添加主机 先再设置中修改 未接入CDN的面板服务器域名/IP (当前服务器ip或域名)





