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…

Enable rc.local

To enable /etc/rc.local file run on system startup on servers runing systemd, you can run

Now you need to create file /etc/rc.local with 755 permission.

See Autostart […]

Read More…

proxychains

proxychains allow you to route traffic using proxy servers. This is useful for routing traffic throihg applications that do not support proxy by default. For example, i use ssh through proxy chains. To install proxychains on Ubuntu, run

Now you need to edit /etc/proxychains.conf and add your proxy servers.

On my computer, i […]

Read More…