1Panel 给Flarum 安装redis

不要用插件GB Redis Setup :composer require glowingblue/redis-setup,而用blomstra/flarum-redis并修改extend.php即可。 1Panel应用商店安装redis 安装扩展: composer require blomstra/flarum-redis 修改extend.php,文件管理器补齐return[],host和password修改为前面安装的redis容器名及密码: ...

April 16, 2025 · Leon

Oracle Cloud 安装1Panel

用ubuntu20.04,Ubuntu 20.04 Images参见: https://docs.oracle.com/en-us/iaas/images/ubuntu-2004/index.htm 开放所有端口,并关闭Iptable规则: iptables -P INPUT ACCEPT iptables -P FORWARD ACCEPT iptables -P OUTPUT ACCEPT iptables -F apt-get purge netfilter-persistent reboot

April 16, 2025 · Leon

Bludit的nginx配置

伪静态,nginx里添加如下配置即可,可避免安装后/admin 出现404的状况 location / { try_files $uri $uri/ /index.php?$args; } location ^~ /bl-content/tmp/ { deny all; } location ^~ /bl-content/pages/ { deny all; } location ^~ /bl-content/databases/ { deny all; }

January 3, 2022 · Leon

nginx配置测试

可以使用nginx的测试命令来验证下nginx.conf的配置是否正确: nginx -t 查看Nginx是否启动,Linux每运行一个程序就会产生一个进程,那么可以通过查看Nginx进程来判断它是否运行 ps -ef | grep nginx 根据pid来判断Nginx是否启动。 ps -C nginx -o pid 查看80端口运行的程序来判断Nginx是否运行 netstat -anp | grep :80 使用lsof命令来查看80端口是否有程序在运行 ...

June 15, 2021 · Leon

JW Player 插入视频测试

JW Player is the most powerful & flexible video platform powered by the fastest, most-used HTML5 online video player. ...

May 28, 2021 · Leon

Markdown编辑器的基本语法

May 28, 2021 · Leon