Restoring Grub2
If for some reason your grub has gotten corrupted, here are the steps to restore it.
Boot into a rescue CD (either Ubuntu or System Rescue CD, which you can download freely).
Mount the drive, where sdXY is the partition (eg: /dev/sda1)
RDP connection error after updating Windows - CredSSP
Microsoft has release an update for a vulnerability CVE-2018-0886. This update breaks RDP connections, if the server is not patched:
Usage logs are not being deleted (SharePoint)
We've ran into an issue recently, where the *.usage logs were filling up the partitition and not being deleted. This usually happens when the SharePoint Timer Service locks up and is not freeing those logs. To fix this problem, stop the SharePoint Timer Service. Sharepoint will then delete the logs by itself (immediately).
If that does not happen, you can delete them yourself. The logs are located here:
Postfix drop a particular email
Sometimes we have emails going to a particular address, which cannot be stopped. There are many reasons, but most common is an invalid address, which pollutes the mail queue with invalid entries. The simplest way to solve this is by adding a DISCARD directive for postfix.
If you don't have it already, add this line in main.cf
header_checks = regexp:/etc/postfix/header_checks
Create the file (or add to it, if you already have one):
Prevent programs from starting automatically on boot
There are many instances when programs are starting when the computer boots, bring annoying pop-ups and consuming resources. Most of them have a way to disable that feature, some of the more poorly designed ones do not. There's a way to disable it, using an configuration application called msconfig. It exists in all modern Windows versions:
Go to Startup Tab and uncheck any application you don’t want to launch during boot time. Click Apply and then OK.
403 Forbidden after changing DocumentRoot directory
Q. I am getting a Forbidden 403 error after I've changed the DocumentRoot in Apache for my domain. What do I do?
A. The solution is quite simple:
Edit the apache2.conf (/etc/apache2/apache2.conf) and add the new directory to default security model:
<Directory /your/new/dir>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
Restart apache and you're done
Zentyal disable password expiration
Q. My password for zentyal expired, how do I stop it from doing that in the future?
A. Login to the command line interface and run the following commang:
samba-tool domain passwordsettings set --max-pwd-age=0
Once done, it will show you:
Maximum password age changed!
All changes applied successfully!
and you are done!
More Articles...
Page 2 of 21
<< Start < Prev 1 2 3 4 5 6 Next > End >>