Check CPU Type
Here is how to check the CPU type in CentOS: Output:
Here is how to check the CPU type in CentOS: Output:
One of the most common requests and inquirys is “Do I have the …xyz package or program installed?” Here is how to check. Ubuntu/Debian List all packages To check whether a package is installed or not: Use file /var/lib/dpkg/available to find out all package names available to you. Or use following command (list all packages … Read more
Enabling TLS 1.2 and disabling other versions on Plesk. In order to use the steps outlined below, you will need to upgrade Plesk to it’s most recent version. You can do so within the System Overview section of the Home screen in Plesk Panel or by running # /usr/local/psa/admin/bin/autoinstaller Once you have completed the upgrade … Read more
There is a small issue where a Plesk/CentOS 7 system is migrated to Azure and nginx fails to start. This is the error in the nginx log # cat /var/log/nginx/error.log 2018/06/14 22:11:41 [emerg] 9341#0: bind() to 10.144.114.11:443 failed (99: Cannot assign requested address) If so then to edit: # /etc/sysctl.conf And add: # net.ipv4.ip_nonlocal_bind = … Read more
Install 3 nodes. Each node specs: Since our host acts as a router we have to make sure it’s kernel has all IP packet forwarding features activated. Take a look at ‘/etc/sysctl.conf’ and make sure that the following two lines aren’t commented out: net.ipv4.ip_forward=1 net.ipv6.conf.all.forwarding=1 Lastly make sure your host won’t send ICPM “redirect” messages … Read more
If the Admin prompt has a greyed out or missing Yes button but no password entry box, use the Built-In Admin account in Safe mode to create two new Admin accounts. https://answers.microsoft.com/en-us/windows/forum/windows_10-performance/if-the-admin-prompt-has-a-greyed-out-or-missing/21053df9-39fb-4395-be3c-7f1797dc145b Mine was missing so I did this: Boot into Safe mode by following this procedure. There is also an illustrated and well-explained procedure … Read more
Here is a way to see what IP’s are accessing the website domain.com. Find the location of the access logs. In a cpanel account: # cd /home/domain.com/access-logs Now run the following on the access logs… # cat domain.com | awk '{print $1}' | sort | uniq -c | sort -rn | head Here is the … Read more
When setting up an Azure VM that will have mail functions, you may need to set up a rDNS record. The Azure portal at this time does not have that capability but you can set this up in with the Azure CLI or PowerShell. Guide for creating Reverse DNS records: https://docs.microsoft.com/en-us/azure/dns/dns-reverse-dns-for-azure-services https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest
Plesk uses system users to handle logins. As such removing the user effectively removes their access to the entire server. If you want to delete the user without deleting any of their files, type this command as root: #userdel username If you want to delete the user’s home directory along with the user account itself, … Read more
How to find a specific domain error in cpanel # grep domainname.com /usr/local/apache/logs/error_log