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...

image 33 - cPanel Account Creation Status: out of available IP`s

cPanel Account Creation Status: out of available IP`s

Account Creation Status: failed (Your system has run out of available ip addresses, or you do not have permission to use any more ip addresses. (Unable to find an ip address.) ) You receive the “Account Creation Status: failed” error...

Wordpress background web design image in Backgrounds and Textures category at pixy.org

Display post ID 🔢 in WordPress

To dispaly post ID’s in your WordPress admin dashboard add the following php code in your theme’s functions.php file: /** *post ID*/ add_filter('manage_posts_columns', 'posts_columns_id', 5); add_action('manage_posts_custom_column'...