Open mikezhuo1022 opened 6 years ago
This repo use nginx
as it's web server, so when you install Apache at first and then use package manage to install nginx
, it will fail due to reason - port 80
.
Not everyone who use this script has a domain to use, and even QuickBox
is only provite a script to change from ip to domain.
Anyway, Maybe you should provite an repo address for the h5ai
with dplayer.
At this moment,
certbot
to automatically config your nginx setting.In website control panel i installed, i chose nginx+php as my default web environment, Achache was not installed, then I searched lots of sources for rutorrent (port 80 error), a saying expressed me a lot, Achache is a default user for running PHP, I've no idea wether that's true or not, i m not a coder :(
So i tried many ways to disable the process which is using port 80, even killall -9 httpd, all of them seem not work.
I knew maybe most of people who using this script do not have a domain, it's only a suggestion. QuickBox? somehow, for me, it's good, but cons, it's kind of over-included...
h5ai: 冻猫(a user in hostloc forum) re-coded (maybe just add? idk code) DPlayer into h5ai, the original post link:http://www.hostloc.com/thread-438265-1-1.html, i searched "h5ai dplayer" on github, someone have uploaded it on git. The most enjoyable change is dplayer enabled multiple-time video playing. It's easy to work, just overwrite the h5ai folder w/ this doc.
For your suggestion, Thank you alot, it offer me new thinkings about my problem. Didn't recall cerbot b4, i'll try it.
I'll make a update if i find a way out.
acme.sh
,感觉用起来很方便certbot
也很方便,可能我之前搜索姿势有问题搜错了东西) 没关系,对于我来说,花了时间写这个脚本就了不起,先忙自己更重要的事。
Thanks again ;)
【2】作为可选项目是因为可能有的人已经自己装了 ngnix 或者 apache 嘛…… 【4】那这段时间测试下好了
for 2: 是的,我当时也很想解决这个冲突问题,但是耗费了大量时间没搞定就放弃了。kvm可以很简单的通过docker解决,但是openvz就蛋疼了,而我有俩个大盘鸡是openvz框架 ;( 难受
很简单啊 ,使用acme.sh脚本先申请好ssl证书文件,然后自己替换自签的证书就好(当然首先你得有一个域名并且指向了服务器,怎么用acme.sh申请证书自己查,网上教程很多) ssl证书文件默认在 ssl_certificate /etc/ssl/ruweb.crt; ssl_certificate_key /etc/ssl/private/ruweb.key; 替换掉这两个文件就可(做好备份), 或者直接改nginx配置文件(配置文件是/etc/nginx/sites-available的default文件,把里面的ssl证书替换成你自己申请的) (也请做好备份),
很简单啊 ,使用acme.sh脚本先申请好ssl证书文件,然后自己替换自签的证书就好(当然首先你得有一个域名并且指向了服务器,怎么用acme.sh申请证书自己查,网上教程很多) ssl证书文件默认在 ssl_certificate /etc/ssl/ruweb.crt; ssl_certificate_key /etc/ssl/private/ruweb.key; 替换掉这两个文件就可(做好备份), 或者直接改nginx配置文件(配置文件是/etc/nginx/sites-available的default文件,把里面的ssl证书替换成你自己申请的) (也请做好备份),
curl https://get.acme.sh | sh && alias acme.sh=~/.acme.sh/acme.sh my_domain=XXXXX.XXX.XXXXX acme.sh --issue -d $my_domain --webroot /var/www && acme.sh --installcert -d $my_domain \ --key-file /etc/ssl/private/ruweb.key \ --fullchain-file /etc/ssl/ruweb.crt \ --reloadcmd "service nginx force-reload"
我现在是这样子在安装了 rutorrent 的基础上配置 acme.sh
其实这个脚本主要针对纯当做 seedbox 的用户——很多人压根就没有域名……
跟quickbox之类一样,脚本自签的版本是不安全的,RUT的stream功能就实现不了了吧,我用vlc是打不开的。签署安全证书需要建站环境,bt和appnode之类用惯了的几个可视面板装了建站环境后好像用这个脚本都不能编译rt,应该是nginx or achache 配置有问题,我用过一个centos的一键脚本也是同样问题,不知道怎么改面板的nginx的参数来配适rt...
纯净系统下是没问题的,但有时候抽风卡很久,我是发现先单独安装rt再进mingling面板安装其他软件比较稳, 但只要装建站环境,php的achache就会占用80端口无法安装rt,无限时间卡在Installing required packages进程...kvm和独服上我都测试过,能有解决方案吗...
另外,其实脚本里的h5ai可以考虑用dplayer的修改版,增加倍速播放功能,更适合看剧(有些节奏拖沓的)。
除了发issue找不到你的联系方式了...