laravel自定义函数和自定义类
创建文件 app/helpers.php<?php// 示例函数function foo() { return "foo";修改项目 composer.json在项目 composer.json 中 autoload 部分里的 files 字段加...
创建文件 app/helpers.php<?php// 示例函数function foo() { return "foo";修改项目 composer.json在项目 composer.json 中 autoload 部分里的 files 字段加...
校准节点系统时间cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime yum install ntpdate ntpdate -u time.nist.gov 国内常用NTP时间服务器NTP服务器ntp....
支持转发到ddns域名、支持udp转发,但不支持端口段转发很多玩VPS的人都会有设置端口转发、进行中转的需求,在这方面也有若干种方案,比如socat、haproxy、brook等等。他们都有一些局限或者问题,比如socat会爆内存,haproxy不支持u...
查看firewall-cmd --state停止firewallsystemctl stop firewalld.service禁止firewall开机启动systemctl disable firewalld.service
1、一键安装caddycurl https://getcaddy.com | bash -s personal wget --no-check-certificate -O /usr/bin/caddy https://cloud.shenbi.me/c...