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
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 -dpR–backup[=CONTROL]make a backup of each existing destination...
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!
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...
Enter single user mode: grub After entering the startup screen, type “e”, move the cursor to the kernel… line, type “e” again, add a space single at the end of the kernel line, and press Enter Type “b” to start the system and enter the single user...
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 message while...
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'...
Actually, there are plenty of ways to contribute without coding: Submit bug reportsSuggest new features and optionsMake other comments on how to improve the the quality of the programHelp write good documentationTranslate the documentation (and...
A system administrator has quickly become one of the most important jobs in any company. Virtually all businesses these days rely heavily on their computer network so it should probably not come as a surprise that the guy who looks after that...