前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
社区首页 >专栏 >轻量服务器安装 OpenWrt

轻量服务器安装 OpenWrt

作者头像
XRSec
发布2022-03-30 14:34:59
发布2022-03-30 14:34:59
7.5K00
代码可运行
举报
文章被收录于专栏:XRSec.BlogXRSec.Blog
运行总次数:0
代码可运行

轻量服务器安装 OpenWrt

环境

GitHub:https://github.com/esirplayground/VPS_OpenWrt

OpenWrt:自由下载

BaiduPAN:https://pan.baidu.com/s/1jtf3g97rCbuPhbiFxTkyhA / ktiw

腾讯云轻量服务器

开始

  1. 把你的 img 、vps_deploy.sh、wrt_kernel.bin 打包成为压缩包,对了,vps_deploy.sh 里面有下载链接,删了就好
  2. 上传你压缩后的文件 到 https://quickfile.cn/#/ 中转站,保留下载地址
  3. ⚠️ 注意,接下来的操作会初始化你的服务器
  4. 下载 压缩包 并解压,执行 chmod +x vps_deploy.sh && vps_deploy.sh
  5. 等待两次系统重启
  6. 腾讯轻量服务器 vnc 页面进入终端
  7. 执行一段命令
代码语言:javascript
代码运行次数:0
运行
复制
vi /etc/config/network

# 找到 lan --> static --> 修改为 dhcp ,下面这个样子
# config interface 'wan'
#        option ifname 'eth0'
#        option proto 'dhcp'

# 重启网络
/etc/init.d/network restart

# 暂时关闭防火墙
/etc/init.d/firewall stop
  1. 访问你的服务器IP,端口80,注意有没有开放80 端口权限
  2. 密码 password 或者 passwd
  3. 进入 网络 –> 防火墙 –> 把所有能见到的拒绝全部改成接受

修改 网页访问权限,端口啥的都可以改

修改 ssh 权限,端口啥的都可以改

页面好看点,前提是能 服务器能 Google

代码语言:javascript
代码运行次数:0
运行
复制
wget --no-check-certificate https://github.com/jerrykuku/luci-theme-argon/releases/download/v1.7.0/luci-theme-argon_1.7.0-20200909_all.ipk
opkg install luci-theme-argon*.ipk

# 系统 主题里面改主题!

别忘记腾讯云做个镜像备份下

结束

(https://rmt.ladydaily.com/fetch/ZYGG/storage/2022-03-16 12.11.08.png)

XRSec has the right to modify and interpret this article. If you want to reprint or disseminate this article, you must ensure the integrity of this article, including all contents such as copyright notice. Without the permission of the author, the content of this article shall not be modified or increased or decreased arbitrarily, and it shall not be used for commercial purposes in any way

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2022-03-16,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 轻量服务器安装 OpenWrt
    • 环境
    • 开始
    • 结束
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档