How to bypass RAM check on cPanel DNSOnly Install

I recently re-purposed a small (10GB Disk, 512 MB RAM) VPS into a 2nd DNS server, using cPanel DNSOnly.

However, the cPanel DNSOnly installer does a RAM check and requires 768MB RAM to proceed.

Being as I only plan on running a few domains on this cluster 512MB will be more than enough under normal circumstances, thankfully there’s an easy way to bypass the check.

Firstly, if you haven’t done so already you’ll need to download the latest cPanel DNS Only.

# cd /home

# curl -o latest-dnsonly -L

Secondly, you need to run the install with the “–keep” flag. This keeps the install files instead of cleaning up after itself.

# sh latest-dns-only –keep

Now, you need to edit the install file and reduce the $min_memory_rules array to 512.

# cd /home/installd

# vi install

Console Install File
We can still dream of that better world

If you’re running CentOS 7,  you’ll need to edit the 2nd element instead of the default.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Exit mobile version

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.