Flarum SMTP Gmail邮箱设置
为防止滥用,PHP mail() 函数有被供应商禁用,我们可以使用SMTP。对于Google Gmail SMTP的使用,前提是帐户启用了 2FA 身份验证(2-Step Verification)。 在Google账户左边的导航栏选择安全(security),设置选择应用密码(App Passwords)。 在 Flarum 后台管理页面转到邮件,输入您的发件人电子邮件地址,在驱动中选择 SMTP,并更新如下信息: ...
为防止滥用,PHP mail() 函数有被供应商禁用,我们可以使用SMTP。对于Google Gmail SMTP的使用,前提是帐户启用了 2FA 身份验证(2-Step Verification)。 在Google账户左边的导航栏选择安全(security),设置选择应用密码(App Passwords)。 在 Flarum 后台管理页面转到邮件,输入您的发件人电子邮件地址,在驱动中选择 SMTP,并更新如下信息: ...
不要用插件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容器名及密码: ...
用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
伪静态,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; }
可以使用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端口是否有程序在运行 ...
JW Player is the most powerful & flexible video platform powered by the fastest, most-used HTML5 online video player. ...