20 private links
https://www.phpmyadmin.net/
在线 MarkDown 表格:
https://tableconvert.com/
执行以下命令安装依赖包
yum install -y yum-utils \
device-mapper-persistent-data \
lvm2
添加yum软件源
yum-config-manager \
--add-repo \
https://download.docker.com/linux/centos/docker-ce.repo
安装 Docker CE
yum install docker-ce docker-ce-cli containerd.io
#启动docker
systemctl start docker
重启Docker服务
systemctl daemon-reload
systemctl restart docker后台错误及警告解决
PHP 内存限制低于建议值 512MB。
解决:
编辑文件 /usr/local/php/etc/php.ini
memory_limit = 1024M
内存缓存未配置,为了提升使用体验,请尽量配置内存缓存。更多信息请参见文档。
解决:
1.安装 Redis 以及 PHP 的 Redis 模块
2.将相关配置代码添加至 NextCloud 目录 /config/config.php
HTTP 请求头 "X-Frame-Options" 没有配置为 "SAMEORIGIN
HTTP的请求头 “Referrer-Policy” 未设置为 “no-referrer”, “no-referrer-when-downgrade”, “strict-origin” or “strict-origin-when-cross-origin”. 这会导致信息泄露
解决:
编辑文件 /usr/local/nginx/conf/vhost/pan.tap.tw.conf
添加以下字段至 server
add_header X-Frame-Options SAMEORIGIN;
add_header Referrer-Policy "no-referrer";
下载大文件(>1G)自动中断的问题
原因:由 PHP 和 Nginx 共同限制超时时间造成的
解决:
1./usr/local/php/etc/php.ini
执行时间(上传和下载):
max_execution_time = 3600
上传相关:
max_input_time = 3600
post_max_size = 10240M
upload_max_filesize = 10240M
max_file_uploads = 200
2./usr/local/php/etc/php-fpm.conf
request_terminate_timeout = 3600
3./usr/local/nginx/conf/nginx.conf(可选,遇到问题再改)
fastcgi_connect_timeout 3600;
fastcgi_send_timeout 3600;
fastcgi_read_timeout 3600;
也可修改vhost下单个网站的独立配置
1.添加虚拟主机
cd /root/oneinstack
./vhost.sh
2.删除虚拟主机
cd /root/oneinstack
./vhost.sh del
3.如出现文件权限问题时,请执行下面 3 条命令:
chown -R www.www /data/wwwroot/
find /data/wwwroot/ -type d -exec chmod 755 {} \;
find /data/wwwroot/ -type f -exec chmod 644 {} \;
4.文件目录:
Your domain: pan.tap.tw
Virtualhost conf: /usr/local/nginx/conf/vhost/pan.tap.tw.conf
Directory of: /data/wwwroot/pan.tap.tw
Self-signed SSL Certificate: /usr/local/nginx/conf/ssl/pan.tap.tw.crt
SSL Private Key: /usr/local/nginx/conf/ssl/pan.tap.tw.key
SSL CSR File: /usr/local/nginx/conf/ssl/pan.tap.tw.csr
最先就是在爱奇艺、优酷之类的站找啦
国内更新比较及时的--磁力
MP4吧==》http://www.mp4ba.com/ 资源质量好,老牌(不知道是不是原来的站长)
电影天堂==》https://www.dytt8.net/ 没用过,应该也可以
BT之家==》http://btbtt.biz/ 要FQ,有三级
高清电台==》https://gaoqing.fm/ 更新也快,有的会有原碟
泡饭网==》http://www.chapaofan.com
电影首发站==》http://www.wuhaozhan.net/movie/list/
片源网==》http://pianyuan.la/
PianHD==》http://www.pianhd.com/
国际大站--磁力
RARBG==》https://rarbgprx.org/torrents.php
EZTV==》https://eztv.io/
ETTV==》https://www.ettv.to/home/
海盗湾==》https://piratebayblocked.com/
喜欢看蓝光原碟、4K原碟的还是养个PT站的好,毕竟BT的环境就是大家下完爽完就删,这种大种子很容易断种
PT==》馒头、CMCT、我堡、春天、TTG等等
在线播放
NO视频(推荐,速度快)==》https://www.novipnoad.com/ 腾讯云CDN,速度超快,影片全部是用户上传,质量都还好
一些采集站(有广告,更新贼快,刚上映的是TS版的最好不要看,辣眼睛)
ok资源==》http://www.okzy.co/
最大资源==》http://zuidazy.net/
关于下载
推荐使用比特彗星优化版,个人用着体验很好,该版本解锁了种子市场,用户列表IP显示,电驴下载加速插件等等功能
蓝奏云:https://www.lanzous.com/i5tztgj
所以那啥蓝光就是辣鸡,做**还要立牌坊,不接受反驳
下载下来的电影当然还是用Potplayer看比较爽
Potplayer==》https://potplayer.daum.net/
Potplayer设置madVR==》https://www.hao4k.cn/thread-26476-1-1.html
4K知识小学堂==》https://www.hao4k.cn/xinshou/
最后广告
蓝光订阅频道==》https://t.me/voidrss
安装:
yum -y install git
cd root
git clone https://github.com/magnific0/wondershaper.git
cd wondershaper
sudo make install
配置:
$ ifconfig
$ wondershaper -a eth0 -d 245760
#下载限速30M/S
$ wondershaper -ca eth0
#解除限速
https://www.52pojie.cn/thread-693641-1-1.html
“找源码加密”和“PHP加密”的加密算法是完全完全一样的 http://www.zhaoyuanma.com/phpencode.html,文中的解码程序对两个网站的免费加密通杀
Seafile 一键安装
采用官方英文版的安装方案:
Centos 系统:
cd /opt
wget https://download.seafile.com/seafhttp/files/71064cd6-610a-44b6-9a84-044e0b7c1afe/seafile-pro-server_7.0.7_x86-64.tar.gz
cd /root
wget --no-check-certificate https://raw.githubusercontent.com/haiwen/seafile-server-installer/master/seafile_centos
bash seafile_centos 7.0.7
错误解决 Failed:
initscripts.x86_64 0:9.49.24-1.el7 initscripts.x86_64 0:9.49.30-1.el7
chattr -i /usr/lib/udev/rules.d/60-net.rulesUbuntu 系统:
cd /opt
#下载程序安装包
wget https://download.seafile.com/seafhttp/files/c26fac9a-15e3-4769-9c8d-5a2e34a8216c/seafile-pro-server_7.0.9_x86-64.tar.gz
cd /root
#下载程序安装脚本
wget --no-check-certificate https://raw.githubusercontent.com/haiwen/seafile-server-installer/master/seafile_ubuntu
bash seafile_ubuntu 7.0.9Seafile 彻底从磁盘中删除文件
Seafile是一个非常棒的私有云方案,在服务器搭建测试的时候上传了很多文件,删除之后发现磁盘空间并没有减少,官方文档中也没有详细说明如何清理,最通过论坛搜索找到了答案。
解决办法
删除文件后将回收站一并清空
官方提到删除后还会保留最后一次的历史,并且这个历史是看不到的,因此磁盘不会释放,假如我删除了test文件夹下的所有文件,磁盘不会释放,继续在test目录上传一个小文件。
最后执行 /opt/seafile/seafile-pro-server-7.0.9/seaf-gc.sh 脚本进行清理
php再调用json_decode从字符串对象生成json对象时,如果使用[]操作符取数据,会得到下面的错误
解决方法(2种):
1、使用 json_decode($d, true)。就是使json_decode 的第二个变量设置为 true。
2、json_decode($res) 返回的是一个对象, 不可以使用 $res['key'] 进行访问, 换成 $res->key 就可以了。
申请地址:https://www.whmcs.com/hostgator
方法来自:https://www.lowendtalk.com/discussion/119249/get-free-whmcs-key-for-lifetime-hurry-up
- FREE WHMCS LICENSE Go to http://www.whmcs.com/hostgator/
- eneter : anyname.project247.ml” in the domain field (without the quotes of course replace your name with anything you want)
- Click on button “Check eligibility” Click “Sign up” Click “Update cart”. After that you will be redirected to registration form.
- Fill in your information and be sure to fill in a valid email because you will get your key there! Finish your order and within few minutes you will receive totally free WHMCS key
https://www.escripts.club 破解软件
直接插入视频,无需插件,需支持html5
<video width="100%" controls>
<source src="https://download.marshadow.com/s1/?/21948363_opener-pack/21948363_opener-pack_preview.mp4" type="video/mp4">
Your browser does not support the video tag. 您的浏览器不支持视频标签。
</video>
https://flatsome3.uxthemes.com
减少文件加载,加速网站:
1.关闭主题产品页面 lightbox,减少以下文件加载:
photoswipe.min.js?ver=4.1.1
photoswipe-ui-default.min.js?ver=4.1.1
photoswipe.css?ver=3.6.3
default-skin.css?ver=3.6.3
2.functions 移除 wp-block-library-css 前端 CSS
block-library/style.min.css
C:\Users\MY\AppData\Roaming\Scooter Software\Beyond Compare 3
演示:https://www.portotheme.com/wordpress/porto_landing/
破解方法 porto\inc\admin\admin.php 的两处简单修改即可
另 porto\inc\plugins\importer\ 里需要集成演示数据
或许是因为破解版的问题,主题问题很多。
演示数据和官网不一致
演示数据后台面板存在大量自定义css
汉化po文件后存入lang,后台面板无法汉化
取消翻译后前台仍有部分数据保持翻译状态,可能是缓存,却无法找到相关选项
没有更改任何选项,仅切换翻译后导致前台大量内容缺失,可能是block的问题
开发时,经常有ctrl+f5无法做到真正的强制刷新,以下可以帮到你
Ctrl+Shift+Del 清除Google浏览器缓存的快捷键
Ctrl+Shift+R 重新加载当前网页而不使用缓存内容