自己本地搭建成功之后,身为一个在网吧的常住客,不可能每次去网吧都去下载项目去重新搭建,所以决定自己研究一下搭建到服务器,于是就去研究了一整个下午,发现鸡肋太多了,楞是整了半天没整明白,于是联合了我的大哥“七云”
下面的教程来自七云博客
yum -y install git
curl -sL https://rpm.nodesource.com/setup_10.x | bash -
yum -y install nodejs
git clone https://github.com/nondanee/UnblockNeteaseMusic.git
mv UnblockNeteaseMusic /usr
wget http://cdn.qqiwu.cn/wyy/unb.service
mv unb.service /lib/systemd/system
rm -r unb_centos_install.sh
本脚本 默认端口65535 修改端口/lib/systemd/system/unb.service
添加开机自启:systemctl enable unb
去除开机自启:systemctl disable unb
重启:systemctl restart unb
本文一键脚本来源于https://github.com/NewCheung/OneKey_Unblocknetease
版权属于:作者名称
本文链接:https://blog.qqiwu.cn/37.html
转载时须注明出处及本声明
One comment
我是七云博客站长,域名出了点问题要换域名现在还在备案,原域名现在不是我的