lvdisplay

lvdisplay is used to display logical volumes. You can also use lvs command.

See LVM […]

Read More…

Firewalld list rules

To list rules use command

To list all open ports

Example

See firewall-cmd […]

Read More…

Install Monit on CentOS

Monit allow you to monitor process. It can restart failed process or alert when server is overloaded. On CentOS server, you need to enable EPEL repo to install monit.

Install monit with

Enable monit to auto start on boot

Start monit service

On CentOS, monit configuration file located at

See […]

Read More…

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…