Get the most out of your Centmin Mod LEMP stack
Become a Member

Just moved site over

Discussion in 'Show Cases & Centmin Testimonials' started by Tracy Perry, Aug 26, 2014.

  1. Tracy Perry

    Tracy Perry Active Member

    280
    118
    43
    Aug 24, 2014
    Texas
    Ratings:
    +210
    Local Time:
    5:37 AM
    1.21.6
    MariaDB 10.3.36
    I just moved my site over from a Debian VPS (on a dedicated server I have) to CentOS 7 and the latest BETA of Centmin Mod.

    Using 10.0.13 of MariaDB, PHP version 5.5.16, nginx version 1.7.4 with pagespeed and SSL enabled.


    I'm running XenForo 1.4 BETA 3 on the forum currently and have these add-ons installed
    Code:
    Add Poll to Existing Threads 1.1.4
    Add user id class to user links
    Add-on Install & Upgrade 1.1.0
    All Rich Usernames 1.0.1
    Allow Tabs in Redactor Editor by Waindigo 1.0.0b
    Avatar Gallery 0.1b
    Bookmarks 1.3.0
    Browser Detection (Mobile/MSIE) 1.3.1
    Conversation Essentials 1.2.9
    Country Flags 1.0.6
    CTA Featured Threads 2.9.1
    CTA Spoiler Title 1.0.1
    Digital Point Syntax Highlighter 1.3.0
    Digital Point User Map 1.3.2
    Email Change Log 1.0.0
    External Accounts Extended 1.6.0
    Font Awesome Ratings 1.0.0
    Live Update 3.0.1
    Log Out Redirect by Waindigo 1.0.0
    Mandatory Fields by Waindigo 1.0.2a
    MobileRead Profile BB Code 1.2
    Moped Map 1.0.9
    Notifications 1.7.6
    Post Message Regex Replacer 1.0.0
    Post Ratings 1.6.6
    Prefix Forum Listing 1.2.3a
    Reset Password From ACP 1.0
    Restore Strikethrough In Editor 1.0.0
    s9e Media Pack 20140824
    Showcase 2.1.1
    Space After Smilie 1.0.0
    Special Avatar for Banned Members 1.3.6
    TAC StopCountrySpam - black/white list country IPs from registering 2.2.09
    TAC StopHumanSpam - signature/link/homepage conditions & banned word posts 1.3.3
    Tapatalk 2.3.0
    Thread Rating 1.2.1.7
    TPU: Users can view own warnings 1.0.1
    Trophies by Waindigo 1.0.5a
    Unread Post Count 1.1.3
    User Banners on Member Cards for XenForo 1.2.x 1.0.0
    User Criteria by Waindigo 1.0.13a
    Xen Cache 1.0.1
    Xen Pushover 1.1.3
    XenForo Resource Manager 1.1.3
    XenMoods 1.1.3
    XFA - Link Essentials 1.1.1
    [bd] Alerts 0.9.7b
    [bd] Cache 1.0.5
    [bd] Keyword Alert 1.0.4d
    [bd] Widget Framework 2.5.0d
    [FreddysHouse] Member Page Protection 1.1.1
    [FreddysHouse] Two-Factor Authentication 1.3.3
    [MODM] AJAX-Chat Integration for XenForo beta 2
    [MWS] Daily Statistics 1.2.4a
    [Tinhte] HTML5 Uploader 1.0.2
    [tLk] Usergroup Legend 1.2.1
    [WMTech] - External Link Interstitial 1.0.1
    [XenMods] Multi Prefix 1.0.5
    [XenMods] [Widgets] (bd Widget Framework) Beta 2
    [XI] License Validation 1.0.2
    
    As you can tell, there are a "few" there. I'm still doing some tweaking with my CentOS VPS and also with ProxMox (which is what I create the VPS's with, but a few tests that I ran shortly after installing it gave me
    Screen Shot 2014-08-25 at 11.46.29 PM.png
    Screen Shot 2014-08-26 at 12.11.15 AM.png

    And there is still quite a bit of tweaking to do. I turned on debug on the site and the results for XenForo were Screen Shot 2014-08-26 at 5.58.13 AM.png
    which isn't to shabby considering the actual main hardware is an older L5620 dual Xeon and the drives are only SATA's.
     
  2. Tracy Perry

    Tracy Perry Active Member

    280
    118
    43
    Aug 24, 2014
    Texas
    Ratings:
    +210
    Local Time:
    5:37 AM
    1.21.6
    MariaDB 10.3.36
    One thing I noticed... just for grins and giggles I disabled SSL on the site.

    Screen Shot 2014-08-26 at 7.29.42 AM.png

    And immediately turning around and re-enabling SSL (looks like I have some tuning to do here).

    Screen Shot 2014-08-26 at 7.36.20 AM.png
    Screen Shot 2014-08-26 at 7.50.09 AM.png
     
    Last edited: Aug 26, 2014
  3. eva2000

    eva2000 Administrator Staff Member

    54,361
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    9:37 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    thanks for sharing @Tracy Perry

    I noticed with SSL disabled and re-neabled SSL your page size doubled from 601KB to >1000-1231KB for document complete ? You'd want to check the waterfall and see what is shown. Could be first one was with ngx_pagespeed fully optimised and others are when ngx_pagespeed is yet to optimise the page (ngx_pagespeed can take a few page loads to optimise all assets on a page as it uses each page load before it to record which assets can be optimised and caches that info).

    Also check out discussion at https://community.centminmod.com/threads/web-page-speed-testing-tools.1123/ other tools to try :)
     
  4. Tracy Perry

    Tracy Perry Active Member

    280
    118
    43
    Aug 24, 2014
    Texas
    Ratings:
    +210
    Local Time:
    5:37 AM
    1.21.6
    MariaDB 10.3.36
    Those were upon initial load-up with and without (and probably no hits to site).

    Here is what I'm getting now with SSL and pagespeed enabled.
    Screen Shot 2014-08-26 at 6.21.20 PM.png
     
  5. eva2000

    eva2000 Administrator Staff Member

    54,361
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    9:37 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    definitely much better ~600ms to 1300ms faster speed index score = faster initial visual page rendering time :)
     
  6. Tracy Perry

    Tracy Perry Active Member

    280
    118
    43
    Aug 24, 2014
    Texas
    Ratings:
    +210
    Local Time:
    5:37 AM
    1.21.6
    MariaDB 10.3.36
    In the process of setting up another VPS on my server with 6.5 and the stable - in preparation of moving xenadmins.com over to it. The fun is going to be she's been on a shared hosting environment and this is a VPS. :D
     
  7. eva2000

    eva2000 Administrator Staff Member

    54,361
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    9:37 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    nice move to VPS :D
     
  8. Tracy Perry

    Tracy Perry Active Member

    280
    118
    43
    Aug 24, 2014
    Texas
    Ratings:
    +210
    Local Time:
    5:37 AM
    1.21.6
    MariaDB 10.3.36
    yeah, not to bad. 4GB RAM, 4 cores, 300GB storage..
     
  9. eva2000

    eva2000 Administrator Staff Member

    54,361
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    9:37 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    they use 300GB of storage :eek:
     
  10. Tracy Perry

    Tracy Perry Active Member

    280
    118
    43
    Aug 24, 2014
    Texas
    Ratings:
    +210
    Local Time:
    5:37 AM
    1.21.6
    MariaDB 10.3.36
    Naw... that's just what I'm allocating them. I have 4TB of RAID 10 capacity of storage. :p
    The real headache is that there are going to be multiple users with sites on it... so now I'm debating instead of using CentMin getting a cPanel license and installing it and nginx cpanel on it. Make it easier on them since one of them is not that familiar with SSH related setup/maintenance.
     
  11. rdan

    rdan Well-Known Member

    5,444
    1,408
    113
    May 25, 2014
    Ratings:
    +2,201
    Local Time:
    7:37 PM
    Mainline
    10.2
    Nginx on Cpanel using whm addon is buggy.
    You better use Nginx on DirectAdmin, I think DA officially support Nginx.

    Edit: DirectAdmin Knowledge Base
     
  12. Tracy Perry

    Tracy Perry Active Member

    280
    118
    43
    Aug 24, 2014
    Texas
    Ratings:
    +210
    Local Time:
    5:37 AM
    1.21.6
    MariaDB 10.3.36
    Probably not even going to fool with cPanel on it... it's looking to be a REAL pain in the arse.
    In fact, due to needing the ability to run nginx domains from the users home directory I'm leaning even more towards just setting up a Debian VPS for them and that way I can do what I need easily. It would be much nicer (because CentOS is kinda growing on me) if CentMin Mod had the ability for that, but it's restricts everything to the /home/nginx/domains - which makes it kind of difficult to set up for multiple users.
    What I've done for now is set up vsftpd with /home/nginx/domains as the root directory and gave the individual users the additional group of nginx (which allows them to FTP their files into the associated domains) but the headache now is setting up phpMyAdmin. That's easy enough to do with Debian (and I can probably duplicate it on CentOS/CentMin Mod - but yum won't install phpMyAdmin so looks like I have to download it direct from phpMyAdmin and then install it). My main concern is because it's not very new user friendly to do that.

    I'm trying to get them totally off of Apache and onto nginx for their HTTP server.
     
  13. eva2000

    eva2000 Administrator Staff Member

    54,361
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    9:37 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  14. Tracy Perry

    Tracy Perry Active Member

    280
    118
    43
    Aug 24, 2014
    Texas
    Ratings:
    +210
    Local Time:
    5:37 AM
    1.21.6
    MariaDB 10.3.36
  15. eva2000

    eva2000 Administrator Staff Member

    54,361
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    9:37 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Lots to on the to list before that :D
     
  16. Tracy Perry

    Tracy Perry Active Member

    280
    118
    43
    Aug 24, 2014
    Texas
    Ratings:
    +210
    Local Time:
    5:37 AM
    1.21.6
    MariaDB 10.3.36
    Is there a limit on the number of vhosts you can use? I've got 9 loaded (3 active) and one of them keeps going to the default nginx installed page.
     
  17. rdan

    rdan Well-Known Member

    5,444
    1,408
    113
    May 25, 2014
    Ratings:
    +2,201
    Local Time:
    7:37 PM
    Mainline
    10.2
    No limit.
     
  18. Tracy Perry

    Tracy Perry Active Member

    280
    118
    43
    Aug 24, 2014
    Texas
    Ratings:
    +210
    Local Time:
    5:37 AM
    1.21.6
    MariaDB 10.3.36
    OK.. any idea why I go to option 2, create the new vhost (and it does and everything is pointing at the right location) but it loads the default nginx page (not even the Centmin mod vhost one)?
     
  19. Tracy Perry

    Tracy Perry Active Member

    280
    118
    43
    Aug 24, 2014
    Texas
    Ratings:
    +210
    Local Time:
    5:37 AM
    1.21.6
    MariaDB 10.3.36
    Never mind.. .figured it out.
    My boo-boo.:rolleyes:
     
  20. eva2000

    eva2000 Administrator Staff Member

    54,361
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    9:37 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    and the reason is ?