Posts by ServerOk

Install Preview Generator in Nextcloud

Nextcloud apps

To enable preview for files in nextcloud, you need to install “Preview Generator” from next cloud app store https://apps.nextcloud.com/apps/previewgenerator To install login to nextcloud as admin. From right drop down menu, click + Apps link. Once on Apps page, you can use the search button on right side to search for “Preview Generator” and install […]

Read More…

Enable SEO url in nextcloud

To enable SEO url in next cloud, first make sure your web server have mod_rewrite module enabled. Edit config.php file

add following

overwrite.cli.url may already there, in that case, don’t add it again. Now run

See NextCloud […]

Read More…

csf error path to iptables is either not set or incorrect

Whem install csf firewall on Ubuntu 20.04, i get following error

This is because path for iptables is changed in Ubuntu 20.04. To fix the error edit csf.conf

Find

Replace with

Now restart csf with csf -r, it will work.

See csf […]

Read More…

View SSL certficate Details

To view certificate details

For web server

IMAP via SSL

POP3 via SSL

SMTP via SSL

SMTP via TLS/StartTLS

See SSL […]

Read More…

Disable systemd-resolved on Ubuntu/Deb/CentOS

systemd-resolved provide DNS resolver facility in newer version of Linux servers running systemd. I prefer manually editing /etc/resolv.conf and add resolvers. If you are running your own DNS server, then you need to disable systemd-resolved as it listen on port 53, with out disabling the service, you can’t start your DNS server. To disable systemd-resolved, […]

Read More…