Server 65

Disk Space - identify the big files
run this cmd ncdu --exclude /proc --exclude /opt/tomcat/webapps/ROOT/upload/mt --exclude /var/ftp/webapps/ROOT/upload/mt --exclude /usr/local/tomcat-dat...
Mon, 7 Nov, 2022 at 12:18 PM
Layershift - create new server setup
1. Create new env for load balancer and tomcat 2. Create new env for sql 3. Create new env for storage 4. Change default ROOT fol...
Wed, 11 Jan, 2023 at 10:47 AM
Turn email debug on - javamail
In classes AsyncServices and MessageController advanced add the line prop.put("mail.debug", "true"); 
Wed, 1 Mar, 2023 at 11:33 AM
floristpro-mini - ssl and domain settings
SETUP On load balancer - Configure lets encrypt and add in the florist domain name BELOW NO LONGER NEEDED ha proxy - add redirect to ssl in config ...
Wed, 25 Sep, 2024 at 9:45 AM
Hardening HAProxy to block ips and uris
Added the following after  frontend ft_http bind :::80 v4v6 bind :::443 v4v6 ssl crt /var/lib/jelastic/SSL/jelastic.pem alpn h2,http/1.1 ...
Mon, 28 Apr, 2025 at 11:41 AM
Page cannot be displayed error - cache size issue
increase the resource cache in context.xml up to 50000 or more
Thu, 11 Apr, 2024 at 11:41 AM
Clear the catalina without a restart
Open the cmd prompt. cd /opt/tomcat/logs truncate -s 0 catalina.out
Thu, 11 Apr, 2024 at 11:42 AM
Cross Content Scripts - add them for each a site
If you are seeing a Cross Content error because of a script or something you have embedded into a page for a florist, then you can now add the cross content...
Thu, 11 Jul, 2024 at 11:02 AM
Block Ips on New Layershift
Add ip to the file tmp/ipblocklist.ips restart haproxy
Wed, 6 Nov, 2024 at 11:53 AM
Tomcat - auto reload on jar change
Add to context.xml on server <WatchedResource>WEB-INF/lib/613fpro.jar</WatchedResource> where 613fpro.jar is the jar file you want it to...
Wed, 20 Nov, 2024 at 1:04 PM