首页 > 利用GitHub ACTIONS 在线云编译大雕的OpenWRT固件

web.config在线生成,利用GitHub ACTIONS 在线云编译大雕的OpenWRT固件

互联网 2021-02-26 23:13:52

有很多朋友都想编译一个合适自己使用的OpenWRT固件,这样的好处就是只保留了自己需要使用的插件,非常精简,那么就需要自己搭建一个编译环境。但是并不是每个人都会搭建,现在有一个很便捷的方案,就是利用GitHub ACTIONS 在线云编译。一起来看看吧:

一、注册GitHub账号

官网地址:https://github.com/

二、激活GitHub ACTIONS功能(此步骤已经不需要做,直接到项目里面点击Action选项卡,就可以跳转到激活页面了)

激活地址:https://github.com/features/actions/signup

三、fork 一建脚本项目

https://github.com/KFERMercer/OpenWrt-CI

四、fork L大的LEDE源码

https://github.com/coolsnowwolf/lede

五、进入L大源码目录.github/workflows/六、打开openwrt-ci.yml,编辑代码(如需要添加其他的主题或者插件,可参考第九和第十条)## This is free software, lisence use MIT.# # Copyright (C) 2019 P3TERX # Copyright (C) 2019 KFERMercer # # #name: OpenWrt-CIon:push:branches: - master# schedule:# - cron: 0 20 * * *# release:# types: [published]jobs:build:runs-on: ubuntu-lateststeps:- name: Checkoutuses: actions/checkout@masterwith:ref: master- name: Initialization environmentenv:DEBIAN_FRONTEND: noninteractiverun: |docker rmi `docker images -q`echo "Deleting files, please wait ..."sudo rm -rf \/usr/share/dotnet \/etc/mysql \/etc/phpsudo -E apt-get -y purge \azure-cli \ghc* \zulu* \hhvm \llvm* \firefox \google* \dotnet* \powershell \openjdk* \mysql* \php*sudo -E apt-get updatesudo -E apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compilersudo -E apt-get -y autoremove --purgesudo -E apt-get clean- name: Update feedsrun: |./scripts/feeds update -a./scripts/feeds install -a- name: Costom configure filerun: |rm -f ./.config*touch ./.config## ========================固件定制部分========================# # # 如果不对本区块做出任何编辑, 则生成默认配置固件. # # 以下为定制化固件选项和说明:### 有些插件/选项是默认开启的, 如果想要关闭, 请参照以下示例进行编写:# #=========================================# |# 取消编译VMware镜像: |# |cat >> .config.config.config.config.config.config.config.config.config.config.configluci-app-accesscontrol #访问时间控制LuCI —> Applications —> luci-app-adblock #ADB广告过滤LuCI —> Applications —> luci-app-adbyby-plus #广告屏蔽大师Plus +LuCI —> Applications —> luci-app-adbyby #广告过滤大师(已弃)LuCI —> Applications —> luci-app-adkill #广告过滤(已弃)LuCI —> Applications —> luci-app-advanced-reboot #Linksys高级重启LuCI —> Applications —> luci-app-ahcp #支持AHCPdLuCI —> Applications —> luci-app-aliddns #阿里DDNS客户端LuCI —> Applications —> luci-app-amule #aMule下载工具LuCI —> Applications —> luci-app-aria2 # Aria2下载工具LuCI —> Applications —> luci-app-arpbind #IP/MAC绑定LuCI —> Applications —> luci-app-asterisk #支持Asterisk电话服务器LuCI —> Applications —> luci-app-attendedsysupgrade #固件更新升级相关LuCI —> Applications —> luci-app-autoreboot #支持计划重启LuCI —> Applications —> luci-app-bcp38 #BCP38网络入口过滤(不确定)LuCI —> Applications —> luci-app-bird4 #Bird 4(未知)LuCI —> Applications —> luci-app-bird6 #Bird 6(未知)LuCI —> Applications —> luci-app-bmx6 #BMX6路由协议LuCI —> Applications —> luci-app-bmx7 #BMX7路由协议LuCI —> Applications —> luci-app-caldav #联系人LuCI —> Applications —> luci-app-cjdns #加密IPV6网络相关LuCI —> Applications —> luci-app-clamav #ClamAV杀毒软件LuCI —> Applications —> luci-app-commands #Shell命令模块LuCI —> Applications —> luci-app-cshark #CloudShark捕获工具LuCI —> Applications —> luci-app-ddns #动态域名 DNSLuCI —> Applications —> luci-app-diag-core #core诊断工具LuCI —> Applications —> luci-app-dnscrypt-proxy #DNSCrypt解决DNS污染LuCI —> Applications —> luci-app-dnscrypt-dnsforwarder #DNSForwarder防DNS污染LuCI —> Applications —> luci-app-dnspod #DNSPodLuCI —> Applications —> luci-app-dump1090 #民航无线频率(不确定)LuCI —> Applications —> luci-app-dynapoint #DynaPoint(未知)LuCI —> Applications —> luci-app-e2guardian #Web内容过滤器LuCI —> Applications —> luci-app-filetransfer #文件传输LuCI —> Applications —> luci-app-firewall #添加防火墙LuCI —> Applications —> luci-app-flowoffload #Turbo ACC FLOW转发加速LuCI —> Applications —> luci-app-freifunk-diagnostics #freifunk组件 诊断(未知)LuCI —> Applications —> luci-app-freifunk-policyrouting #freifunk组件 策略路由(未知)LuCI —> Applications —> luci-app-freifunk-widgets #freifunk组件 索引(未知)LuCI —> Applications —> luci-app-frpc #内网穿透 FrpLuCI —> Applications —> luci-app-fwknopd #Firewall Knock Operator服务器LuCI —> Applications —> luci-app-guest-wifi #WiFi访客网络LuCI —> Applications —> luci-app-hd-idle #硬盘休眠LuCI —> Applications —> luci-app-hnet #Homenet Status家庭网络控制协议LuCI —> Applications —> luci-app-kooldns #virtual服务器 ddns替代方案(已弃)LuCI —> Applications —> luci-app-koolproxy #KP去广告(已弃)LuCI —> Applications —> luci-app-lxc #LXC容器管理LuCI —> Applications —> luci-app-meshwizard #网络设置向导LuCI —> Applications —> luci-app-minidlna #完全兼容DLNA / UPnP-AV客户端的服务器软件LuCI —> Applications —> luci-app-mjpg-streamer #兼容Linux-UVC的摄像头程序LuCI —> Applications —> luci-app-mmc-over-gpio #添加SD卡操作界面(已弃)LuCI —> Applications —> luci-app-multiwan #多拨虚拟网卡(已弃)LuCI —> Applications —> luci-app-mwan #MWAN负载均衡LuCI —> Applications —> luci-app-mwan3 #MWAN3分流助手LuCI —> Applications —> luci-app-n2n_v2 #N2N内网穿透 N2N v2 virtual服务LuCI —> Applications —> luci-app-nft-qos #QOS流控 Nftables版(已弃)LuCI —> Applications —> luci-app-ngrokc #Ngrok 内网穿透(已弃)LuCI —> Applications —> luci-app-nlbwmon #网络带宽监视器LuCI —> Applications —> luci-app-noddos #NodDOS Clients 阻止DDoS攻击LuCI —> Applications —> luci-app-ntpc #NTP时间同步服务器LuCI —> Applications —> luci-app-ocserv #OpenConnect virtual服务LuCI —> Applications —> luci-app-olsr #OLSR配置和状态模块LuCI —> Applications —> luci-app-olsr-services #OLSR服务器LuCI —> Applications —> luci-app-olsr-viz #OLSR可视化LuCI —> Applications —> luci-app-ocserv #OpenConnect virtual服务(已弃)LuCI —> Applications —> luci-app-openvirtual #Openvirtual客户端LuCI —> Applications —> luci-app-openvirtual-server #易于使用的Openvirtual服务器 Web-UILuCI —> Applications —> luci-app-oscam #OSCAM服务器(已弃)LuCI —> Applications —> luci-app-p910nd #打印服务器模块LuCI —> Applications —> luci-app-pagekitee #Pagekite内网穿透客户端LuCI —> Applications —> luci-app-polipo #Polipo代理(是一个小型且快速的网页缓存代理)LuCI —> Applications —> luci-app-pppoe-relay #PPPoE NAT穿透 点对点协议(PPP)LuCI —> Applications —> luci-app-p p t p-server #virtual服务器 p p t pLuCI —> Applications —> luci-app-privoxy #Privoxy网络代理(带过滤无缓存)LuCI —> Applications —> luci-app-qos #流量服务质量(QoS)流控LuCI —> Applications —> luci-app-radicale #CalDAV/CardDAV同步工具LuCI —> Applications —> luci-app-ramfree #释放内存LuCI —> Applications —> luci-app-rp-pppoe-server #Roaring Penguin PPPoE Server 服务器LuCI —> Applications —> luci-app-samba #网络共享(Samba)LuCI —> Applications —> luci-app-samba4 #网络共享(Samba4)LuCI —> Applications —> luci-app-sfe #Turbo ACC网络加速(开启Fast Path转发加速)LuCI —> Applications —> luci-app-s-s #SS兲朝上网(已弃)LuCI —> Applications —> luci-app-s-s-libes #SS-libev服务端LuCI —> Applications —> luci-app-shairplay #支持AirPlay功能LuCI —> Applications —> luci-app-siitwizard #SIIT配置向导 SIIT-WizzardLuCI —> Applications —> luci-app-simple-adblock #简单的广告拦截LuCI —> Applications —> luci-app-simple-softethervirtual #SoftEther virtual服务器 NAT穿透(已弃)LuCI —> Applications —> luci-app-splash #Client-Splash是无线MESH网络的一个热点认证系统LuCI —> Applications —> luci-app-sqm #流量智能队列管理(QOS)LuCI —> Applications —> luci-app-squid #Squid代理服务器——————————————————————————————-LuCI —> Applications —> luci-app-S-S R-plus #S-S R兲朝上网Plus+LuCI —> Applications —> luci-app-S-S R-plus —> Include s-s New Versiong #新SS代理LuCI —> Applications —> luci-app-S-S R-plus —> Include V2ray #V2Ray透明代理LuCI —> Applications —> luci-app-S-S R-plus —> Include Kcptun #Kcptun代理LuCI —> Applications —> luci-app-S-S R-plus —> Include s-sR Server #S-S R客户端LuCI —> Applications —> luci-app-S-S R-plus —> Include s-sR Socks and Tunnel #S-S R代理——————————————————————————————-LuCI —> Applications —> luci-app-S-S R-pro #S-S R-ProLuCI —> Applications —> luci-app-S-S Rserver-python #s-sR Python服务器LuCI —> Applications —> luci-app-statistics #流量监控工具LuCI —> Applications —> luci-app-syncdial #多拨虚拟网卡(原macvlan)LuCI —> Applications —> luci-app-tinyproxy #Tinyproxy是 HTTP(S)代理服务器LuCI —> Applications —> luci-app-transmission #BT下载工具LuCI —> Applications —> luci-app-travelmate #旅行路由器LuCI —> Applications —> luci-app-ttyd #网页终端命令行LuCI —> Applications —> luci-app-udpxy #udpxy做组播服务器LuCI —> Applications —> luci-app-uhttpd #uHTTPd Web服务器LuCI —> Applications —> luci-app-unbound #Unbound DNS解析器LuCI —> Applications —> luci-app-upnp #通用即插即用UPnP(端口自动转发)LuCI —> Applications —> luci-app-usb-printer #USB 打印服务器LuCI —> Applications —> luci-app-v2ray-pro #V2Ray透明代理LuCI —> Applications —> luci-app-vlmcsd #KMS服务器设置LuCI —> Applications —> luci-app-vnstat #vnStat网络监控(图表)LuCI —> Applications —> luci-app-virtualbypass #virtual BypassWebUI 绕过virtual设置LuCI —> Applications —> luci-app-vsftpd #FTP服务器LuCI —> Applications —> luci-app-watchcat #断网检测功能与定时重启LuCI —> Applications —> luci-app-webadmin #Web管理页面设置LuCI —> Applications —> luci-app-webshell #网页命令行终端(已弃)LuCI —> Applications —> luci-app-wifischedule #WiFi 计划LuCI —> Applications —> luci-app-wireguard #virtual**服务器 WireGuard状态LuCI —> Applications —> luci-app-wireless-regdb #WiFi无线LuCI —> Applications —> luci-app-wol #WOL网络唤醒LuCI —> Applications —> luci-app-wrtbwmon #实时流量监测LuCI —> Applications —> luci-app-xlnetacc #迅雷快鸟LuCI —> Applications —> luci-app-zerotier #ZeroTier内网穿透

 

原文地址:https://www.vediotalk.com/archives/6561

 

=========【以下的文章为系统自动为您推荐】=========如何从零开始编译OpenWRT(LEDE)固件【Lean大源码】

1.编译环境,我是使用了深度Deepin 15.7系统(64位版),也可以使用Ubuntu16.04 LTS 64位版 2.按CTRL+ALT+T进入终端,更新软件列表,下载安装更新。 (注意:仅使用非root账户操作,用root用户编译会出错。) sudo……

编译自己的OPENWRTl软路由固件

OPENWRT/LEDE编译教程 1.首先安装编译需要Linux环境,其他Linux也可以,版本较多,实机安装和虚拟机安都可以,按装步奏自行解决。 2.这里以UBUNTU最新18.04为例。按装完成后一般是英文界面要更换中文请在左下角的……

openwrt编译入门

Openwrt编译准备工作                      1.一台笔记本或台式(这是废话)                      2.一个ubuntu系统,现在官方已经出到ubuntu18.0.4                      3.一台路由器                      4.……

群晖用VMM虚拟机安装OPENWRT(LEDE)软路由

       前面写过一篇《群晖用VMM虚拟机安装ikuai(爱快)软路由》,本教程是群晖用VMM虚拟机安装OPENWRT(LEDE)。 一、安装虚拟机套件(如果已经安装过,此步骤跳过) 打开群辉的套件中心,找到 Virtual Machine ……

常见的软路由去广告原理及避坑指南

互联网广告无处不在,也是很多站点的收入来源,良性的广告环境有利于站点,用户。需要抵制的是恶意,强制观看,隐私窃取类的恶性广告。 使用去广告技术的用户大多会问这样问题: 为什么启动了去广告还是可以看到广……

免责声明:非本网注明原创的信息,皆为程序自动获取自互联网,目的在于传递更多信息,并不代表本网赞同其观点和对其真实性负责;如此页面有侵犯到您的权益,请给站长发送邮件,并提供相关证明(版权证明、身份证正反面、侵权链接),站长将在收到邮件24小时内删除。

相关阅读