Last update at :2024-07-10,Edit by888u
UnblockNeteaseMusic is suitable for users with mainland China VPS, dedicated servers, etc.
Install Nodejs:
curl -sL https://rpm.nodesource.com/setup_10.x | bash - yum -y install nodejsInstall supervisor:
yum -y install epel-release yum -y install supervisorPull files:
cd /opt git clone https://github.com/nondanee/UnblockNeteaseMusic.git cd UnblockNeteaseMusicThe first way is to listen to port 80
node app.js -p 80Windows modifies the Hosts file:
C:\Windows\System32\drivers\etc\hostsSpecify domain name resolution:
VPSIP music.163.com VPSIP interface.music.163.comThe second way is to listen to other ports, for example:
node app.js -p 65535Set HTTP proxy in Windows NetEase Cloud client:
Use supervisor to run in the background:
nano /etc/supervisord.d/netease.iniWrite (for formal use, the -s parameter should be added to prevent the agent from being abused):
[supervisord] nodaemon=false [program:netease] user=root directory=/opt/UnblockNeteaseMusic command=/usr/bin/node app.js -s -p 65535 autostart=true autorestart=trueStart:
systemctl start supervisord systemctl enable supervisordProject: https://github.com/nondanee/UnblockNeteaseMusic
Installation: https://lala.im/5373.html
Recommended site searches: US and European cloud servers, com domain name prices, registration network, domain name registration process, Singapore server, Dongguan server rental, free cloud server, Hengchuang host, managed host, purchase space,
发表评论