comment - Display total number of 💬 comments in WordPress

Display total number of 💬 comments in WordPress

Add the following code to your active theme’s functions.php file and then add this shortcode [wpm_total_comments] anywhere on your website where you want the total number of comments to display. /** *Display total number of WordPress...

rclocal - How to enable rc.local

How to enable rc.local

To enable /etc/rc.local file run on system startup for server runing systemd, run:

systemctl enable rc-local

Then create /etc/rc.local file with 755 permission

touch /etc/rc.local
chmod 755 /etc/rc.local

linux - 🐧 Linux / Unix cp command

🐧 Linux / Unix cp command

cp command copies files from one location to another. Syntax cp [OPTION]… SOURCE DEST cp [OPTION]… SOURCE… DIRECTORY cp [OPTION]… –target-directory=DIRECTORY SOURCE… -a, –archivesame as ...

linux - Run command as another 🐧 Linux user

Run command as another 🐧 Linux user

To run a command as another user on Linux, use:

sudo -u USERNAME COMMAND

or

su USERNAME -s /bin/bash -c COMMAND

or

runuser -l USERNAME -c 'COMMAND'

Redirect Zimbra webmail HTTP to HTTPS

To redirect HTTP to HTTPS, switch to zimbra user:

su - zimbra

then run:

zmprov ms SERVER_HOSTNAME zimbraReverseProxyMailMode redirect

that’s it!

iis server certificate - How to delete SSL Certificate in IIS

How to delete SSL Certificate in IIS

Here is how to delete SSL certificate in IIS: Start Internet Information Service (IIS) ManagerClick on Server Name (server hostname)On the right side, click on the Server Certificates button.Right-click on any of the certficate and delete it. IIS...