首先要有良好的网络环境,懂得都懂
#v2raya
curl -Ls https://mirrors.v2raya.org/go.sh | sudo bash
sudo systemctl disable v2ray --now ### Xray 需要替换服务为 xray
内核安装完成。
上传v2raya安装包
sudo dpkg -i installer_debian_amd64_2.0.5.deb
sudo systemctl start v2raya.service
sudo systemctl enable v2raya.service#自启
####编译固件需要的依赖
sudo 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
#源码git库
git clone https://github.com/lkiuyu/x-wrt.git
git clone https://github.com/HandsomeMod/HandsomeMod.git --depth=1
####添加插件库
src-git kenzo https://github.com/kenzok8/openwrt-packages
src-git small https://github.com/kenzok8/small
src-git helloworld https://github.com/fw876/helloworld
src-git openwrt_kiddin9 https://github.com/kiddin9/openwrt-packages
###构建命令
./scripts/feeds update -a ###更新订阅
./scripts/feeds install -a ###安装订阅插件
make menuconfig ###进入菜单
make -j8 download V=s ####下载依赖库
make V=s -j$(nproc) ###开始编译
./scripts/feeds clean ###清理缓存
rm -rf ./tmp && rm -rf .config######重新配置
#新人福利
无意侵权。
标签:git,HandsomeMod,wifi,dev,https,固件,sudo,com,### From: https://blog.51cto.com/u_16229259/7123773