首页
关于
壁纸
直播
留言
友链
统计
Search
1
《三国志英杰传》攻略
6,036 阅读
2
白嫖Emby
5,772 阅读
3
Emby客户端IOS破解
5,771 阅读
4
《吞食天地1》金手指代码
4,697 阅读
5
破解emby-server
4,041 阅读
moonjerx
game
age-of-empires
zx3
san-guo-zhi
尼尔:机械纪元
net
emby
learn-video
docker
torrent
photoshop
route
minio
git
ffmpeg
im
vue
gitlab
typecho
svn
alipay
nasm
srs
mail-server
tailscale
kkfileview
aria2
webdav
synology
redis
oray
chemical
mxsite
math
π
x-ui
digital-currency
server
nginx
baota
k8s
http
cloud
linux
shell
database
vpn
esxi
rancher
domain
k3s
ewomail
os
android
windows
ios
app-store
macos
develop
java
javascript
uniapp
nodejs
hbuildx
maven
android-studio
jetbrain
jenkins
css
mybatis
php
python
hardware
hard-disk
pc
RAM
software
pt
calibre
notion
office
language
literature
philosophy
travel
登录
Search
标签搜索
ubuntu
mysql
openwrt
zerotier
springboot
centos
openvpn
jdk
吞食天地2
synology
spring
idea
windows11
吞食天地1
transmission
google-play
Japanese
xcode
群晖
kiftd
MoonjerX
累计撰写
370
篇文章
累计收到
459
条评论
首页
栏目
moonjerx
game
age-of-empires
zx3
san-guo-zhi
尼尔:机械纪元
net
emby
learn-video
docker
torrent
photoshop
route
minio
git
ffmpeg
im
vue
gitlab
typecho
svn
alipay
nasm
srs
mail-server
tailscale
kkfileview
aria2
webdav
synology
redis
oray
chemical
mxsite
math
π
x-ui
digital-currency
server
nginx
baota
k8s
http
cloud
linux
shell
database
vpn
esxi
rancher
domain
k3s
ewomail
os
android
windows
ios
app-store
macos
develop
java
javascript
uniapp
nodejs
hbuildx
maven
android-studio
jetbrain
jenkins
css
mybatis
php
python
hardware
hard-disk
pc
RAM
software
pt
calibre
notion
office
language
literature
philosophy
travel
页面
关于
壁纸
直播
留言
友链
统计
搜索到
125
篇与
server
的结果
2021-08-11
shell 获取当前脚本的绝对路径
1.单脚本这个是有缺陷的,⽐比如脚本A source 了另一个⽬目录下的脚本B, 然后脚本B尝试使⽤用此法获取路路径时得到的是A的路路径current_path=$(cd "$(dirname $0)";pwd)或current_path=$( cd $(dirname $0) pwd )2.脚本中引用脚本(推荐)current_path=$(cd $(dirname "${BASH_SOURCE[0]}") && pwd)或current_path=$( cd $(dirname "${BASH_SOURCE[0]}") pwd )
2021年08月11日
285 阅读
0 评论
0 点赞
2021-08-11
宝塔面板取消强制登录验证7.6.0版本后
宝塔面板7.6.0版本后增强了强制用户绑定账号只需要在SSH中输入:1.方法一:sed -i "s|if (bind_user == 'True') {|if (bind_user == 'REMOVED') {|g" /www/server/panel/BTPanel/static/js/index.js恢复登录:sed -i "s|if (bind_user == 'REMOVED') {|if (bind_user == 'True') {|g" /www/server/panel/BTPanel/static/js/index.js2.方法二:适用7.6.0版本rm -f /www/server/panel/data/bind.pl3.合并命令:sed -i "s|if (bind_user == 'True') {|if (bind_user == 'REMOVED') {|g" /www/server/panel/BTPanel/static/js/index.js && rm -f /www/server/panel/data/bind.pl2021-12-29发现验证又改了修改198行,去掉notvi /www/server/panel/BTPanel/__init__.py
2021年08月11日
451 阅读
0 评论
0 点赞
2021-08-06
nginx配置ssl和http2
server { listen 80; listen 443 ssl http2; server_name oss.xxxxxx.com; client_max_body_size 2048M; index index.html index.htm index.php default.html default.htm default.php; charset utf-8; #SSL-START SSL相关配置,请勿删除或修改下一行带注释的404规则 #error_page 404/404.html; ssl_certificate E:/applications/nginx-1.20.1/conf_new/certs/oss/fullchain.pem; ssl_certificate_key E:/applications/nginx-1.20.1/conf_new/certs/oss/privkey.pem; ssl_protocols TLSv1.1 TLSv1.2 TLSv1.3; ssl_ciphers ECCBH+CHACHA20:EECDH+CHACHA20-draft:ECCBH+AES128:RSA+AES128:ECCBH+AES256:RSA+AES256:ECCBH+3DES:RSA+3DES:!MD5; ssl_prefer_server_ciphers on; ssl_session_cache shared:SSL:10m; ssl_session_timeout 10m; add_header Strict-Transport-Security "max-age=31536000"; location / { #proxy_set_header Host $host; proxy_set_header Host $http_host; proxy_set_header Connection keep-alive; proxy_set_header X-Real-IP $remote_addr; proxy_set_header x-forwarded-for $remote_addr; proxy_pass http://192.168.3.53:21032; proxy_http_version 1.1; #添加 proxy_set_header Upgrade $http_upgrade; #添加 proxy_set_header Connection "upgrade"; #添加 } access_log E:/applications/nginx-1.20.1/conf_new/logs/oss.log; error_log E:/applications/nginx-1.20.1/conf_new/logs/oss.error.log; }
2021年08月06日
230 阅读
0 评论
0 点赞
2021-07-30
宝塔开机未启动nginx时的补救方法
pgrep -x nginx &> /dev/null if [ $? -ne 0 ];then /etc/init.d/nginx start fipgrep -x sshd &> /dev/null if [ $? -ne 0 ];then /usr/sbin/sshd -D & fi
2021年07月30日
153 阅读
0 评论
0 点赞
2021-07-30
修改站点显示列表导航栏
找到 /www/server/panel/BTPanel/static/js/site.js 文件1.修改417行代码$('.tootls_group.tootls_top .pull-left').append('<div class="bt_select_updown site_class_type"><div class="bt_select_value"><span class="bt_select_content">分类:</span><span class="glyphicon glyphicon-triangle-bottom ml5"></span></span></div><ul class="bt_select_list"></ul></div>');改为:$('.tootls_group.tootls_top .pull-left').append('<div class="site_class_type"style="display: inline !important;"></div>');2.修改变量var site = {}将变量中原函数 reader_site_type 改为 reader_site_type2 (不要与现有函数重名即可),然后重新定义函数 reader_site_type并将函数执行代码改为以下内容:reader_site_type: function(res) { var html = '', active = bt.get_cookie('site_type') || -1, select = $('.site_class_type'); res.unshift({ id: -1, name: "全部站点" }); $.each(res, function(index, item) { html += '<label style="margin-right: 5px;" class="bt_select_updown ' + (parseInt(active) == item.id ? 'active' : '') + '" data-id="' + item.id + '">' + '<div class="bt_select_value"><span class="bt_select_content">' + item.name + '</span></div></label>'; }); html += '<label class="bt_select_updown" data-id="type_sets"><div class="bt_select_value"><span class="bt_select_content">分类设置</span></div></label>'; select.html(html); $('.site_class_type .bt_select_updown').click(function() { var id = $(this).data('id'); if (id == 'type_sets') { site.set_class_type(); } else { bt.set_cookie('site_type', id); site_table.$refresh_table_list(true); $(this).addClass('active').css('background','#bbe6bc').siblings().css('background','#ffffff').removeClass('active'); } }); },3.示例
2021年07月30日
150 阅读
0 评论
0 点赞
1
...
22
23
24
25
您的IP: