Check if a Package is Installed

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

Enable TLS version 1.2 on Plesk

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

Nginx fails to start when Centos/Plesk migrated to Azure

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

Installation for Proxmox

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

Windows Admin Prompt Greyed Out or Missing

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

See IP’s Accessing Website

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

Set Up RDNS in Azure for a public IP

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

Find Plesk users and Remove them

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

Azure/AWS Mail blocked on Port 25

This issue revolves around Azure and AWS outbound SMTP from their virtual machines / EC2 instances. AZURE Azure: https://blogs.msdn.microsoft.com/mast/2017/11/15/enhanced-azure-security-for-sending-emails-november-2017-update/ For Pay-As-You-Go or Microsoft Partner Network subscriptions created after November 15, 2017, there will be technical restrictions blocking e-mail sent directly from VMs in these subscriptions. Customers that need the ability to send e-mail from Azure … Read more