ConfigServer (CSF) is advanced open-source firewall for Linux and here is how to install it on CENTOS 8 1. Disable firewalld systemctl stop firewalld systemctl disable firewalld systemctl mask firewalld 2. Install iptables yum -y install...
CF uses duck typing to deal with variable types: if it quacks like a date, it must be a date. More on duck typing When ColdFusion gets a null back from a Java function, it is much like a duck through a jet engine. It is going to...
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...
This is due to an existing or previously existing RAID configuration typically found in onboard RAID and configured in the BIOS.
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
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 ...
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'
To redirect HTTP to HTTPS, switch to zimbra user:
su - zimbra
then run:
zmprov ms SERVER_HOSTNAME zimbraReverseProxyMailMode redirect
that’s it!