aploium / zmirror-onekey Goto Github PK
View Code? Open in Web Editor NEW一键部署zmirror镜像
Home Page: http://zmirror.org
一键部署zmirror镜像
Home Page: http://zmirror.org
配置完毕后其他网站没有问题,但是youtube报错
验证码无效或已超时,请重试。
很抱歉打扰您。我们收到了大量来自您网络的请求。
要继续您的 YouTube 体验,请填写下面的表单。与网站所有者有关的错误:
Invalid domain for site key
这个是因为我服务器的原因吗
配置成功后反代谷歌就搜索了一次,到了下午接着用的时候就要验证了,并且人机验证那里点不了,显示“与网站所有者有关的错误:Invalid domain for site key”,望早日修复。
while executing python3 -m pip install -U distro, I got messages:
Could not import setuptools which is required to install from a source distribution.
Please install setuptools.
so I executed python3 -m pip install -U setuptools, and it worked well.
Is that a problem?
Environment:
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial
安裝到了證書步驟后開始出現/bin/sh: 1: /etc/certbot/certbot-auto: not found
的錯誤
檢查過A記錄正常。
單獨運行/etc/certbot/certbot-auto
也無法運行,看了一下https://github.com/certbot/certbot已經沒有certbot-auto
這個文件
sudo letsencrypt certonly --standalone -d "你的域名2"
這個方法要在開啓該域名的網站后才能驗證...
所以直接運行會報錯:
IMPORTANT NOTES:
The following errors were reported by the server:
Domain: xxx.xx
Type: connection
Detail: Fetching
hxtp://xxx.xx/.well-known/acme-challenge/xxxxxxx0x0x0x0x00xx0x0x0x00asx0as0x:
Error getting validation data
if content_mime == 'text/html':
# Your statistic code
my_statistic_code = r""""""
# Add to just before the html head
raw_text = raw_text.replace('', my_statistic_code + '', 1)
请问加粗一行使用什么格式才能添加cnzz的统计代码?
ubuntu 16.04 x64
[13:25:49] [INFO] executing: python3 -m pip install -U distro
Traceback (most recent call last):
File "/usr/lib/python3.5/runpy.py", line 184, in _run_module_as_main
"main", mod_spec)
File "/usr/lib/python3.5/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/lib/python3/dist-packages/pip/main.py", line 19, in
sys.exit(pip.main())
File "/usr/lib/python3/dist-packages/pip/init.py", line 215, in main
locale.setlocale(locale.LC_ALL, '')
File "/usr/lib/python3.5/locale.py", line 594, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting
[13:25:50] [ERROR] Could not import python package distro, abort installation
Traceback (most recent call last):
File "deploy.py", line 302, in
import distro
ImportError: No module named 'distro'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "deploy.py", line 154, in onekey_report
r = requests.post(REPORT_URLS[report_type], data=data)
NameError: name 'requests' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "deploy.py", line 305, in
onekey_report(report_type=REPORT_ERROR, traceback_str=traceback.format_exc())
File "deploy.py", line 159, in onekey_report
r = requests.post(
NameError: name 'requests' is not defined
如题,输入密码后点击下一步会一直在等待
网页可访问视频无法播放。
您好!搭建的youtube无法在iPhone
上播放。谢谢
反代视频失效了,无速度,演示站也是如此,大大看看什么问题?
[10:16:26] [INFO] Fetching HTTPS certifications
[10:16:26] [INFO] executing: service apache2 stop
[10:16:26] [ERROR] command:
service apache2 stop
error, installation should be abort.
Do you want to continue installation anyway?(y/N)
闲来无事,搞了两个bash脚本。ubuntu debian, centos6。 Centos6 只支持x86_64。
脚本中有简单介绍!
https://github.com/yumin9822/zmirror-docker/blob/master/zmirror-debian.sh
https://github.com/yumin9822/zmirror-docker/blob/master/zmirror-ubuntu.sh
https://github.com/yumin9822/zmirror-docker/blob/master/zmirror-centos6.sh
我已经试过很多次了,都不能安装。另外我有个问题,以前我在一台VPS上成功安装过,现在又在另一台VPS上安装,而且设置的域名和邮箱也和上一个VPS的一样,这样会不会有问题?
[14:09:44] [WARNING] cert file for google.yandere.cf does not exist!
[14:09:44] [WARNING] unable to obtaining cert for google.yandere.cf
[14:09:44] [ERROR]
I'm really sorry that we are not able to obtain an cert now,
This problem is NOT caused by zmirror-onekey itself, but caused by your DNS setting or the let's encrypt server.
If you had already set your A record correctly, please retry and wait, because sometimes the let's encrypt server may takes minutes or even hours to recognize your DNS settings.
If you doesn't sure whether your DNS A record are correct, please check it using https://www.whatsmydns.net/
Meanwhile, you can obtain cert manually using: cd /etc/certbot && ./certbot-auto certonly -n --agree-tos -t -m "[email protected]" --standalone -d "google.yandere.cf"
[14:09:44] [INFO] For more information, please see http://tinyurl.com/zmcert
max retries exceed, do you want to continue retry?(Y/n)
IMPORTANT NOTES:
Congratulations! Your certificate and chain have been saved at
/etc/letsencrypt/live/google.zywz.ml/fullchain.pem. Your cert will
expire on 2016-11-25. To obtain a new or tweaked version of this
certificate in the future, simply run certbot-auto again. To
non-interactively renew all of your certificates, run
"certbot-auto renew"
If you lose your account credentials, you can recover through
e-mails sent to [email protected].
Your account credentials have been saved in your Certbot
configuration directory at /etc/letsencrypt. You should make a
secure backup of this folder now. This configuration directory will
also contain certificates and private keys obtained by Certbot so
making regular backups of this folder is ideal.
If you like Certbot, please consider supporting our work by:
Donating to ISRG / Let's Encrypt: https://letsencrypt.org/donate
Donating to EFF: https://eff.org/donate-le
安装到这里就不动了,系统是ubuntu-14.04-x86。
比如centos的支持!很多操作系统装不上。
就一个镜像呀!大佬弄了快一年了,不见到一半..........无语!!!!!!!!!!!
为什么一键脚本安装很慢?几乎要半天的时间!!!
我的google scholar 一直出错,各种跳转,反正出来的不是学术搜索。gmail和image都正常。
密码:kstew.cc
https://google.kstew.cc/scholar
能正常打开网页但是播放不了视频,浏览器控制台报错net::ERR_TOO_MANY_REDIRECTS(意思应该是太多重定向),看一下程序,位置是/var/www/youtubePC/zmirror/zmirror.py 从1956行到2477行写了一级、二级重定向,还有多种自定义重定向,但是无奈我看不懂,如果有懂的大佬麻烦看一下,给我分享一下解决方法,非常感谢!!!
Here is a apache2 conf to disable ip direct access.
<VirtualHost *:443>
servername <IP_address>
documentroot /var/www/nosite/
</VirtualHost>
<VirtualHost *:80>
servername <IP_address>
documentroot /var/www/nosite/
</VirtualHost>
mkdir -p /var/www/nosite
touch /var/www/nosite/index.html
echo "IP direct access is forbidden, Please use domain to access!" > /var/www/nosite/index.html
domain's ip is: xxx(是我的vps的ip没错)
this machine's ip is: 127.0.0.1
这不是本地回环地址吗。。。我怎么匹配呢
Hi there, thanks for your wonderful plugin. I met the error when I tried to using one key program. The error was it cannot get the cert. I was sure that I have set the DNS (aliyun) correctly. And when I tried to get the cert manually by /etc/certbot/certbot-auto certonly XXXXXXX
I get
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/virtualenv.py", line 2363, in
main()
File "/usr/lib/python3/dist-packages/virtualenv.py", line 719, in main
symlink=options.symlink)
File "/usr/lib/python3/dist-packages/virtualenv.py", line 988, in create_environment
download=download,
File "/usr/lib/python3/dist-packages/virtualenv.py", line 918, in install_wheel
call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=SCRIPT)
File "/usr/lib/python3/dist-packages/virtualenv.py", line 812, in call_subprocess
% (cmd_desc, proc.returncode))
OSError: Command /root/.local/share/letsencrypt/bin/python2.7 - setuptools pkg_resources pip wheel failed with error code 1
而不是google香港,谢谢
报错[ERROR] This program can ONLY be used in debian-like Linux (debian, ubuntu and some others)
之前没注意用的是debian7,更换8系统后不会报错。
系统 debian8 到制作 SSl 证书时循环报错
You are using pip version 8.0.3, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
[11:43:21] [WARNING] cert file for google.bpplpp.tk does not exist!
[11:43:21] [WARNING] unable to obtaining cert for google.bpplpp.tk
[11:43:21] [INFO] wait 10 seconds and retry. (3/5)
[11:43:22] [INFO] 9 ...
看来是 Python 出问题了,这里问题先留着,换另外的方法。
3.报错
Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-6Wq_tx/cryptography/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-UAXV5B-record/install-record.txt --single-version-externally-managed --compile failed with error code -9 in /tmp/pip-build-6Wq_tx/cryptography
Storing debug log for failure in /root/.pip/pip.log
我服了,好难安装,对系统要求是比较高的, debian 8 ubuntu 16 ,一键,手动,shell一键,好艰辛的安装。
有提供修改搜索结果页面的接口吗?比如修改搜索栏logo、背景图。
Hi,
It seems it does not work for Youtube any longer. Even the demo site ytb-pc.zmirrordemo.com does not work. Could you help to update on this issue?
I appreciate your Zmirror very much, and I look forward to seeing your updates!
证书的服务器类型选Apache
最开始是试一试,只部署了谷歌
现在想加别的站点,还是可以用这个一键部署工具吗?
creating build/temp.linux-x86_64-2.7/build/temp.linux-x86_64-2.7
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c build/temp.linux-x86_64-2.7/_openssl.c -o build/temp.linux-x86_64-2.7/build/temp.linux-x86_64-2.7/_openssl.o
x86_64-linux-gnu-gcc: internal compiler error: Killed (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See file:///usr/share/doc/gcc-5/README.Bugs for instructions.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 4
----------------------------------------
Command "/root/.local/share/letsencrypt/bin/python2.7 -u -c "import setuptools, tokenize;file='/tmp/pip-build-PsNnf0/cryptography/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('
', '
'), file, 'exec'))" install --record /tmp/pip-evrzHW-record/install-record.txt --single-version-externally-managed --compile --install-headers /root/.local/share/letsencrypt/include/site/python2.7/cryptography" failed with error code 1 in /tmp/pip-build-PsNnf0/cryptography
You are using pip version 8.0.3, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Ubuntu 16.04,然后升级pip,但提示已经是9.0.1了
ubuntu14.04 64位
ram:256 全占满
swap:128 全占满
硬盘空间12g也全占满了
然后就挂了。。
不知为何。。
没有tumblr的镜像?
no matter which i install ,each website icon is youtube icon!
I do not know how to solve it!
Restarting Apache httpd web server apache2 AH00557: apache2: apr_sockaddr_info_get() failed for localhost.localdomain AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message 安装一键包的时候出现的提示,应该怎么解决?
YouTube和Twitter都无法播放视频,有解决方法吗各位大佬
请求:作者或热心人士是否能编写一个zmirror的新手教程
目的:全免费搭建自己的镜像站,供授权的人访问
(VPN收费且慢,gae目前ios很难独立实现,目前我已搜到的资料来看,搭建镜像站是最好的解决方案)
作者已推荐了免费的域名商和CDN,请问其他优秀免费前置列如VPS商是否有推荐
(仅希望得到解决方法,没有任何冒犯的意思)
刚在手机上打开PC版Youtube的镜像,它会显示移动版的界面,但是还显示“收到的响应无效。“。
RT
thanks!
提供Docker支持可以使部署更为简单
有人可以提供一个centos7的一键安装脚本吗?
还是跟不上跟新嘞
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.