*github:https://github.com/nondanee/UnblockNeteaseMusic
1.安装Docker。
2.创建容器:
docker run --name yunmusic -d -p 1314:8080 nondanee/unblockneteasemusic
3.放行端口1314。
4.客户端设置代理,重启网易云音乐。
官网下载:
https://downloads.openwrt.org/releases/
设置软件源为
dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists
option overlay_root /overlay
arch ramips_24kec 100
arch ramips 200
arch ralink 300
arch mips 400
arch all 500
src/gz pandora_base http://downloads.pandorabox.com.cn/pandorabox/packages/mt7621/packages/base
src/gz pandora_luci http://downloads.pandorabox.com.cn/pandorabox/packages/mt7621/packages/luci
src/gz pandora_packages http://downloads.pandorabox.com.cn/pandorabox/packages/mt7621/package/packages
update
然后安装 luci-app-s-s s-s-libev
或者软件源里面再加上
src/gz sourceforge_dist http://openwrt-dist.sourceforge.net/releases/ramips/packages
src/gz sourceforge_dist_luci http://openwrt-dist.sourceforge.net/releases/luci/packages
update
然后安装 luci-app-s-s-spec s-s-libev-spec
*注意不要随便upgrade其他软件包,经常会造成各种问题,比如升级dnsmasq dnsmasq-full后不能解析域名,升级busybox常会造成不能登陆管理界面而需要重刷。
单独编译ipk插件
插件源码下载:
1.锐捷
git clone https://github.com/KyleRicardo/MentoHUST-OpenWrt-ipk
git clone https://github.com/BoringCat/luci-app-mentohust.git
2.Rosy主题
git clone https://github.com/rosywrt/luci-theme-rosy.git
下载存放路径:
/home/cheng/openwrt/lede/package
配置
make menuconfig
<M> 选中,但不编译进固件
1.锐捷
-> Network
-> Ruijie
<M> mentohust......................................... A Ruijie Client Daemon
-> LuCI
-> 3. Applications
<M> luci-app-mentohust...................... MentoHUST 802.1X Client for LuCI
2.Rosy主题
-> LuCI
-> 4. Themes
<M> luci-theme-rosy............................................... Rosy Theme
单独编译IPK的命令:
make package/MentoHUST-OpenWrt-ipk/compile V=99
make package/luci-app-mentohust/compile V=99
make package/lean/luci-app-ssr-plus/compile V=s
make package/lienol/lienol/luci-app-passwall/compile V=s
make package/lean/luci-app-syncdial/compile V=s
make package/feeds/luci/luci-app-transmission/compile V=s
make package/lean/luci-app-nps/compile V=s
make package/luci-theme-rosy/luci-theme-rosy/compile V=99
ipk生成路径:
bin/packages/mipsel_24kc/base
文件名:
mentohust_0.3.1-1_mipsel_24kc.ipk
luci-app-mentohust_1.1.-0_all.ipk
luci-theme-rosy_git-19.069.38477-5ed9705-1_all.ipk
上传ipk至路由器,清除原有密钥:
ssh-keygen -f "/home/cheng/.ssh/known_hosts" -R 192.168.10.1
拷贝至路由器:
scp mentohust_0.3.1-1_mipsel_24kc.ipk root@192.168.10.1:/tmp
scp luci-app-mentohust_1.1.-0_all.ipk root@192.168.10.1:/tmp
scp luci-theme-rosy_git-19.069.38477-5ed9705-1_all.ipk root@192.168.10.1:/tmp
安装,ssh进入路由器:
cd /tmp
opkg install mentohust_0.3.1-1_mipsel_24kc.ipk
opkg install luci-app-mentohust_1.1.-0_all.ipk
opkg install luci-theme-rosy_git-19.069.38477-5ed9705-1_all.ipk
CentOS6
https://github.com/Anankke/ss-panel-v3-mod_Uim
一键脚本:
wget -N --no-check-certificate https://raw.githubusercontent.com/mmmwhy/ss-panel-and-ss-py-mu/master/ss-panel-v3-mod.sh && chmod +x ss-panel-v3-mod.sh && bash ss-panel-v3-mod.sh
默认账号:ss@feiyang.li
默认密码:feiyang
开启BBR:
wget --no-check-certificate https://github.com/teddysun/across/raw/master/bbr.sh && chmod +x bbr.sh && ./bbr.sh
reboot
修改外观:
vi /home/wwwroot/网站/resources/views/materials/index.tpl
/home/wwwroot/网站/public/favicon.ico
修改user-config.json:
vi shadowsocks/user-config.json
关闭防火墙:
systemctl disable firewalld
systemctl stop firewalld
项目地址: https://github.com/Anankke/ss-panel-v3-mod_Uim
环境要求: 宝塔、1GB内存、centos7
安装宝塔,LNMP环境部署后添加配置网站vivi.ink
复制下面全部代码,然后粘贴到ssh命令端:
cd /www/wwwroot/vivi.ink
yum update && yum install git -y
git clone -b master https://github.com/Anankke/ss-panel-v3-mod_Uim.git tmp && mv tmp/.git . && rm -rf tmp && git reset --hard
cp config/.config.php.example config/.config.php
chown -R root:root *
chmod -R 755 *
chown -R www:www storage
php composer.phar install
软件设置php修改:
关闭 display_errors
禁用函数 system proc_open proc_get_status
运行模式设为静态
运行目录设置为public,取消勾选防跨站攻击
设置伪静态:
location / {
try_files $uri /index.php$is_args$args;
}
新建数据库,并导入sql文件夹下的glzjin_all.sql
进入网站根目录/config/config.php修改参数:
appName
baseUrl
db_database
db_username
db_password
创建管理员:
php xcat initQQWry //下载ip解析库,必须
php xcat createAdmin //创建管理员,必须
php xcat npmbuild //构建index
设置定时任务:
执行crontab -e命令, 添加以下四条
30 22 * php /www/wwwroot/demo.baiyue.one/xcat sendDiaryMail
0 0 * php -n /www/wwwroot/demo.baiyue.one/xcat dailyjob
/1 * php /www/wwwroot/demo.baiyue.one/xcat checkjob
/1 * php /www/wwwroot/demo.baiyue.one/xcat syncnode
然后按ECS键后输入:wq回车退出。