Join the community today
Register Now

Installing from scratch(Vultr, Wordpress, CloudFlare)

Discussion in 'Install & Upgrades or Pre-Install Questions' started by Matt360, Apr 11, 2017.

  1. Matt360

    Matt360 New Member

    2
    1
    3
    Apr 10, 2017
    Ratings:
    +1
    Local Time:
    11:48 PM
    Hey.

    I'm a bit overwhelmed with all the information, threads and help pages.
    I hope you can help me get started properly, and answer few specific questions I have.

    I'm looking to install and optimized Wordpress on $5 Vultr server, which is using CloudFlare as DNS manager, CloudFlare SSL certificate(CloudFlare Flexible), and other CloudFlare services.

    Normally I do all the work manually, so I will ask few questions to see if Centminmod doing these things automatically or how I should adjust things.

    Sorry in advances for asking so much, hopefully this thread will be helpful for people with similar setup in the future.

    1. For the best balance between compatibility/performance/ease of configuration I understand that I should install the latest Centminmod beta version with PHP7. Should I use the "betainstaller7.sh" or "betainstaller-latest.sh" installer? Also, if you can point me to the right pages/threads on how to set things up start-to-finish from scratch(i.e. newly deployed Vultr server), it will be very helpful.
    2. Should I add Redis object wp plugin(for db cache) on top of the installation, i.e. in addition to WP Super Cache//Cache Enabler which will be install with the instructions from question #1? If so, do you have instruction on how to do it after I finish with the steps from #1(if there's more than just adding the plugin)?
    3. For a Vultr server with 1024MB memory and 1 vCore($5), do you recommend CentOS 6 or 7? Also, if enabling IPv6 and/or Private Network is an issue or require extra configuration - please let me know.
    4. By default Vultr uses DHCP. Should I change it to Static network configuration? (Vultr have a simple guide on how to do it, setting up ifcfg-eth0, ifcfg-1 and route-ethh0 files).
    5. What instructions I should follow in order to whitelist CloudFlare IPs, and in order to preserve the visitors IPs(so I see the visitors IPs on my server side, instead of CloudFlare IPs)?
    6. I attach a text file with the standard IPTables rules which I apply to all of my servers. With this Centminmod setup, can you let me know which ones I should apply and which ones I should discard? It's IPv4 based, but I have similar rules for IPv6. Here is the file: Untitled Post
    7. Is securing "wp-config.php", securing the login page, setting files and folders permissions, and stopping/limiting XML-RPC being take care of automatically or should I do it manually?
    8. Is there an automatic redirect from HTTP to HTTPS with Centminmod setup or should I force this redirect using CloufFlare "Always Use HTTPS" Page Rule?

    Thank again for everything. I hope it's ok I ask so much :)
     
  2. eva2000

    eva2000 Administrator Staff Member

    28,976
    6,578
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,764
    Local Time:
    2:48 AM
    Nginx 1.13.x
    MariaDB 5.5
    betainstaller-latest.sh enables all the bleeding edge tech for performance and extended features in Centmin Mod (some of which you may never use or need to use) which is usually disabled by default in standard betainstaller.sh outlined in Centmin Mod LEMP Install Guide. While betainstaller7.sh is just betainstaller.sh with PHP 7.0.17 instead of PHP 5.6.30 default. Test VPS is recommended first so you can probably try them all and see which is suited for your needs. After install, check out the next steps in the Getting Started Guide which has almost everything you need. Ultimately, this is important = Guide to learning more about Centmin Mod :)


    see https://community.centminmod.com/threads/redis-and-wordpress.10936/#post-46947. centmin.sh menu option 22 has wordpress auto installer that does it all for you too see Wordpress Nginx Auto Installer (WP Super Cache)

    Depends on your web site/web app usage requirements too but with Vultr you can scale up if needed later anyway so start with 1GB and see recommended requirements on Centmin Mod LEMP Install Guide page

    either is fine - i just use Vultr defaults myself.

    Getting Started Guide step 5 and https://community.centminmod.com/th...te-cloudflare-nginx-csf-firewall-setups.6241/ should have you info and automation covered via tools/csfcf.sh setup.

    none are needed, Centmin Mod CSF Firewall install and auto config takes care of all of them and tools/csfcf.sh auto command flag setup as a cronjob will take care of Cloudflare IPs https://community.centminmod.com/th...te-cloudflare-nginx-csf-firewall-setups.6241/

    centmin.sh menu option 22 has wordpress auto installer that does it all for you too see Wordpress Nginx Auto Installer (WP Super Cache)

    for Cloudflare usage, do it at cloudflare level.