Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-03-28, 11:57:04

Author Topic: best setup  (Read 7638 times)

0 Members and 1 Guest are viewing this topic.

Offline Sauron73

  • Junior Member
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
best setup
« on: 2014-09-29, 21:53:12 »
Hi, just wondering what everyone would consider to be the best setup for a general site with forums using kloxo7 on a centos 6.5 server in terms of web (apache etc) dns (bind) php versions (5.3 etc and suphp etc)

thank you for sharing your superior knowledge

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: best setup
« Reply #1 on: 2014-09-30, 04:52:44 »
Please compare http://forum.mratwork.com (this forum; Kloxo-MR 7.0.0) with http://community.lxcenter.org (Kloxo official 6.1.19) performance via http://gtmetrix.com. Give me your opinions/comments about it.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: best setup
« Reply #2 on: 2014-09-30, 05:28:07 »
;) well that's just funny.  KloxoMR is superior, definetely.

I would recommend hiawatha in the front whether proxied or not.  If it is just you, not hosting for others, i say scrap apache altogether and run straight hiawatha.

Dns is a preference.  Depending on ram, etc.  I'm old fashioned ;) and run bind chrooted.

Php: php-fpm event is superior in speed to all the others, the version again is a preference really, or neccessity depending on what script you are actually running.  If you are using maria db instead of mysql (recommended) you want to use php54m or php54u branch (or higher).

It really comes down to your server and your needs. :)
« Last Edit: 2014-09-30, 05:31:00 by chrisf »
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline Sauron73

  • Junior Member
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: best setup
« Reply #3 on: 2014-09-30, 23:39:53 »
Hi, thanks for the replies, chance are I would be using vbulletin or something similar forum wise, will stick with bind, was unsure about apache/nginx/hiawatha and choic of php branches was utterley confusing between normal, event and workers???? is php-fpm secure or seena bit about others recommending suphp and mod security etc

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: best setup
« Reply #4 on: 2014-10-01, 03:04:51 »
Suphp is outdated, and even the original developer has stated the need for it is no longer.  Php-fpm event, in kloxoMR runs under your client name, directory restrictions in place, and just blows suphp away in performance.

Mod_security is great, if you know what you are doing, as in being a knowledgable server admin.  Hiawatha web server is a neat little webserver, SECURE, able to protect against a lot of attacks, and well, my preference.  I left apache when one of our production servers was running constantly at 8.5 load due to apache.  Hiawatha, same server, about 4 - sometimes slightly more, but just a drastic difference under load/high traffic.

I know the die hard apache fans will start barking about settings/configs/whatever... well, hiawatha does it faster, easier, and WAY LESS RAM.

;)
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: best setup
« Reply #5 on: 2014-10-01, 03:44:19 »
This setting for server of this forum (also purpose for shared-hosting):

1. Hiawatha + Apache (aka Hiawatha-proxy)
2. Use php54m with enable apc (copy apc.nonini to _apc.ini in '/opt/php54m/etc/php.d') --> not the best choice like xcache but no issue related to shared-hosting environment
3. Enable cache plugin in website application (like hypercache in wordpress)
4. Convert all database tables to 'myisam' + 'utf8' and increasing certain parameters
5. Add 'header("X-Hiawatha-Cache: 10");' in 'index.php' in website if needed
6. Install mod-pagespeed (from google; with 'yum install mod-pagespeed-stable')

Yes, my setting is optimize setting for shared-hosting.

Testing gtmetrix.com, 'page speed' score is '97' and 'yslow' is '94' (if using 'cdn', 'yslow' is '99').
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: best setup
« Reply #6 on: 2014-10-01, 18:10:28 »
Sounds great for you, but put 1600-2000 domains under that configuration, with heavy load, constant hits on the domains, apache is a resource hog.  Watch the load tap out even a healthy server.  I simply have watched our load average on our production box nearly split in half without apache.  Also, hiawatha has a neat run-away stopper, you can set the maximum load hiawatha can consume before it will drop incoming connections.  So if we have a drastic flux in load due to hiawatha, it won't take the server with it.  I am speaking out-of-the-box also.

'Gtmetrix' is also only an indicator for how a 'browser' will handle your page.  Not how much server resource is needed.  And it can be deceiving, more content takes more load time.


« Last Edit: 2014-10-01, 18:14:51 by chrisf »
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline Sauron73

  • Junior Member
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: best setup
« Reply #7 on: 2014-10-01, 21:09:29 »
thank guys, really glad I found this site as a true alternative to cpanel, knowledge and feedback is outstanding so far compared to other panel equivalent sites. :D

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix
Click Here

Page created in 0.063 seconds with 21 queries.

web stats analysis