for xwindows (buster), new location:
sudo vi /etc/xdg/lxsession/LXDE-pi/autostart
recommanded to run bash script from autostart. add at the bottom:
bash start.sh
example bash:
!/bin/bash
sleep 5
chromium-browser --start-fullscreen /media/pi/P/index.html &
sleep 10
xdotool key ctrl+R
basically adafruit solution
"Possible missing firmware..."
fix
one liner... generate palette and make gif from video:
ffmpeg -i INPUT.mp4 -filter_complex "[0:v] fps=15,scale=480:-1,split [a][b];[a] palettegen [p];[b][p] paletteuse" OUTPUT.gif
get SSL certificate
backup site
disable caching (?)
install plugin Really Simple SSL
https://wordpress.org/plugins/really-simple-ssl/
re-save permalinks
Better Search Replace (plugin)
replace "http://website.com" to "https://website.com"
enable caching
test
check and find problems:
https://www.whynopadlock.com
https://jitbit.com/sslcheck/
- Block all access "xmlrpc.php" and temporary block access to "wp-login.php" (by IP)
BEGIN Disable XML-RPC.PHP
<Files "xmlrpc.php">
Order Deny,Allow
Deny from all
</Files>
END Disable XML-RPC.PHP
BEGIN Limit Access to WP-LOGIN.PHP
<Files "wp-login.php">
Order Deny,Allow
Deny from all
Allow from 1.2.3.4
</Files>
END Limit Access to WP-LOGIN.PHP
-
Change default "admin" username if used
-
Set plugin to control login attempts
https://wordpress.org/plugins/loginizer/
(4. Password protect access to "wp-login.php" ... this doesn't work on my server, and it's apparently not the best solution)
BEGIN Password Protect WP-LOGIN.PHP
<FilesMatch "wp-login.php">
AuthUserFile /home/user/.htpasswd
AuthName "Authorized Only"
AuthType Basic
Require valid-user
</FilesMatch>
END Password Protect WP-LOGIN.PHP
BEGIN Disable XML-RPC.PHP
<Files "xmlrpc.php">
Order Deny,Allow
Deny from all
</Files>
END Disable XML-RPC.PHP
h264 encoding using intel QSV acceleration:
ffmpeg -i in.mp4 -c:v h264_qsv -global_quality 20 -look_ahead 1 out.mp4
look_ahead should be 1. global_quality can be from 1 to 51. Lower value represents better quality. ~25 should be equivalent to x264 CRF 23.