hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : VPS Hosting : VPS Tutorials : Centmin Mod - Nginx / MariaDB auto installer
Reply

VPS Tutorials Tutorials related to VPS.
Forum Jump

Centmin Mod - Nginx / MariaDB auto installer

Reply Post New Thread In VPS Tutorials Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #181  
Old 07-04-2012, 03:16 AM
elvis1 elvis1 is offline
Web Hosting Master
 
Join Date: May 2007
Posts: 1,548
Quote:
Originally Posted by eva2000 View Post
Added

Question here : I forgot to uncomment
Quote:
#ARCH_OVERRIDE='i386'
Should I wipe the box and start again?

EDIT:
concerning the 64 bits stuff how about this ( I found it googling in a 3rd party web)

Code:
MACHINE_TYPE=`uname -m`
if [ ${MACHINE_TYPE} == 'x86_64' ]; then
  # 64-bit stuff here
else
  # 32-bit stuff here
fi
Maybe this helps out ( for the uncomment thing):

http://snipplr.com/view/16862/

Take into account it will uncomment every line of the file.
Maybe do a single file to be the target of Xbits detection ?


Last edited by elvis1; 07-04-2012 at 03:25 AM.
Reply With Quote
Sponsored Links
  #182  
Old 07-12-2012, 10:17 AM
eva2000 eva2000 is offline
Premium Member
 
Join Date: Apr 2000
Location: Brisbane, Australia
Posts: 1,079
only need to uncomment ARCH_OVERRIDE with Xen 32bit OS users on 64bit host nodes

Reply With Quote
  #183  
Old 07-12-2012, 11:01 AM
RRWH RRWH is offline
Web Hosting Master
 
Join Date: Mar 2005
Location: Australia
Posts: 1,273
Quote:
Originally Posted by eva2000 View Post
Centmin Mod 1st year Anniversary - just a preview of what is to come in future versions http://vbtechsupport.com/2045/

Currently, testing MariaDB 5.5 switch from MariaDB 5.2.x, if anyone has spare VPS or test servers and want to help test MariaDB 5.5 upgrade on CentOS 5.x and 6.x, let me know
I spent a little while last night upgrading an OpenVZ VPS from 6.2 to 6.3 (X86_64), then CMM from -10 to -17 (current Version), upgraded php to 5.3.14 and nginx to 2.2 - all went well, although, first run for compiling PHP failed, (ran out of memory) but re-run and it all completed fine.

I am using CMM to run on my Monitoring VPS's - build a 512Meg RAM OpenVZ VM, run up CMM, modify the nginx config to include all the modules I need, then chuck on Cacti and a few other tools. Works great!

Drop me a note if you need to run up a few test VM's - I will clone my monitoring host and run any dev version you have (with MDB 5.5) and see how it all goes.

Reply With Quote
Sponsored Links
  #184  
Old 07-12-2012, 12:00 PM
eva2000 eva2000 is offline
Premium Member
 
Join Date: Apr 2000
Location: Brisbane, Australia
Posts: 1,079
Quote:
Originally Posted by RRWH View Post
I spent a little while last night upgrading an OpenVZ VPS from 6.2 to 6.3 (X86_64), then CMM from -10 to -17 (current Version), upgraded php to 5.3.14 and nginx to 2.2 - all went well, although, first run for compiling PHP failed, (ran out of memory) but re-run and it all completed fine.

I am using CMM to run on my Monitoring VPS's - build a 512Meg RAM OpenVZ VM, run up CMM, modify the nginx config to include all the modules I need, then chuck on Cacti and a few other tools. Works great!

Drop me a note if you need to run up a few test VM's - I will clone my monitoring host and run any dev version you have (with MDB 5.5) and see how it all goes.
Thanks... always good to have feedback from Centmin Mod users

I'll have to rework my MariaDB 5.5 routine first as i did it with the usual RPM updates. But now that MariaDB has an official YUM repo for this, I'll have to change stuff around to make use of the YUM repo before providing dev versions

Reply With Quote
  #185  
Old 07-15-2012, 02:15 AM
eva2000 eva2000 is offline
Premium Member
 
Join Date: Apr 2000
Location: Brisbane, Australia
Posts: 1,079
Been quite a while since last release. MariaDB 5.5 integration is still being tested for now since I decided to skip MariaDB 5.3.

Centmin Mod v1.2.2-eva2000.18 released !

Change Log

v1.2.2-eva2000.18 - 15/07/2012
  • Updated Nginx from v1.1.20 to v1.2.2 stable release http://nginx.org/en/CHANGES
  • Updated PHP from v5.3.13 to v5.3.14 http://php.net/ChangeLog-5.php
  • Updated NSD config file with hide-version: yes option to prevent NSD from replying with the version string on CHAOS class queries
  • Updated Xcache from v2.0.0. to v2.0.1 http://xcache.lighttpd.net/browser/tags/2.0.1/ChangeLog
  • Updated pigz, lzip, plzip, lbzip2 and lzib versions
  • Updated CentOS 6.x YUM EPEL Repo version download url from epel-release-6-6 to epel-release-6-7
  • Added detection support during installation for CentOS 6.x updated /switched to Oracle Unbreakable Enterprise Kernel R2 - 2.6.32-300.25.1 and 2.6.39-100.7.1 (based on 3.0.16 Kernel). Full details here.

Full change log at:
http://centminmod.com/changelog.html

Download at:
http://vbtechsupport.com/920/ (for now until transition to centminmod.com domain).


Also Centminmod.com now has further presence and link to Centminmod.com's own Google+ Page where you can follow updates of Centminmod.com news and releases. Already 240+ folks have added Centminmod to their own circles

Reply With Quote
  #186  
Old 07-22-2012, 03:23 PM
bluesman bluesman is offline
New Member
 
Join Date: Jul 2012
Posts: 2
eva2000, I'm looking to install Nginx, PHP with APC and MarbiaDB on a 128MB OpenVZ VPS. Can I use your script for this? I recall reading somewhere that your script "requires" 256MB RAM or more than 128MB. Correct me if I am wrong.


Last edited by bluesman; 07-22-2012 at 03:31 PM.
Reply With Quote
  #187  
Old 07-22-2012, 07:39 PM
RRWH RRWH is offline
Web Hosting Master
 
Join Date: Mar 2005
Location: Australia
Posts: 1,273
Well, after much frustration with a fairly specific case over the last several month's I have identified an area for improvement. It is not a bug as such, but none the less caused me a lot of problems.

I have a specific case where the PHP timezone Must match the VPS/Server timezone or it wreaks all sorts of havoc. It was not until I looked into the script that I see that the TZ is being set.

What needs to happen is that the script needs to either look for the Server TZ or that the Instructions should be updated to reflect that you should set the TZ in the centmin script before running it.

The TZ in the centmin script is used to set the PHP timezone in the php.ini As you may or may not know, without a timzone set in php it does not work.

The specific case was when I run cacti - which uses RRD, The Timezone varied between the OS and PHP by 14 hours, which meant that I would not see any live data - just data that was 14 hours old - not ideal for a monitoring system

Anyway, just thought that I should point this out.

Reply With Quote
  #188  
Old 07-22-2012, 08:19 PM
eva2000 eva2000 is offline
Premium Member
 
Join Date: Apr 2000
Location: Brisbane, Australia
Posts: 1,079
Quote:
Originally Posted by bluesman View Post
eva2000, I'm looking to install Nginx, PHP with APC and MarbiaDB on a 128MB OpenVZ VPS. Can I use your script for this? I recall reading somewhere that your script "requires" 256MB RAM or more than 128MB. Correct me if I am wrong.
Yeah unfortunately Centmin Mod needs 256MB minimum (technically it can work with 160-192MB but it's way too slow to install i.e. on local pc tested with 112MB and it swapped to disk by 68MB and took 2+ hrs to install compared to 20-30 mins. I do have something in the works for <256MB http://www.webhostingtalk.com/showpo...&postcount=151 just need to test to see if it works

Quote:
Originally Posted by RRWH View Post
Well, after much frustration with a fairly specific case over the last several month's I have identified an area for improvement. It is not a bug as such, but none the less caused me a lot of problems.

I have a specific case where the PHP timezone Must match the VPS/Server timezone or it wreaks all sorts of havoc. It was not until I looked into the script that I see that the TZ is being set.

What needs to happen is that the script needs to either look for the Server TZ or that the Instructions should be updated to reflect that you should set the TZ in the centmin script before running it.

The TZ in the centmin script is used to set the PHP timezone in the php.ini As you may or may not know, without a timzone set in php it does not work.

The specific case was when I run cacti - which uses RRD, The Timezone varied between the OS and PHP by 14 hours, which meant that I would not see any live data - just data that was 14 hours old - not ideal for a monitoring system

Anyway, just thought that I should point this out.
Timezones can be set or changed in the script before or after install. FAQ details http://centminmod.com/faq.html#datetimezone - full link http://centminmod.com/date_timezones/index.html


Last edited by eva2000; 07-22-2012 at 08:29 PM.
Reply With Quote
  #189  
Old 07-24-2012, 02:48 AM
RRWH RRWH is offline
Web Hosting Master
 
Join Date: Mar 2005
Location: Australia
Posts: 1,273
Quote:
Originally Posted by eva2000 View Post
Timezones can be set or changed in the script before or after install. FAQ details http://centminmod.com/faq.html#datetimezone - full link http://centminmod.com/date_timezones/index.html
I might have mis-represented the problems. When You have a running system, grab the latest version of the script and run it, following the 3 steps on the homepage to just upgrade the applications it will default to the Timezone configured in the newly downloaded script. This is where I came un-done with the upgrade.

Maybe this just needs to be added to the instructions Before running the script to edit it and set the TZ ?

Hey, only trying to make it better for all and if it is just a simple addition to the install instructions...

Reply With Quote
  #190  
Old 07-24-2012, 03:32 AM
kafloofen kafloofen is offline
Web Hosting Guru
 
Join Date: Jun 2005
Posts: 325
That's why one of the steps I do when I download a new centmin is edit

inc/phpsededit.inc

and edit the line

date.timezone = Australia\/Brisbane/g

to my timezone

Reply With Quote
  #191  
Old 07-24-2012, 09:32 AM
eva2000 eva2000 is offline
Premium Member
 
Join Date: Apr 2000
Location: Brisbane, Australia
Posts: 1,079
Ah i see what you mean

Quote:
Originally Posted by kafloofen View Post
That's why one of the steps I do when I download a new centmin is edit

inc/phpsededit.inc

and edit the line

date.timezone = Australia\/Brisbane/g

to my timezone
thanks mate, forgot a hardcoded that part.. more fixes for next version

curious for folks in ssh telnet as root user when you type this command, what output do you get ?

Code:
cat /etc/sysconfig/clock | awk -F "\"" '{print $2}'


Last edited by eva2000; 07-24-2012 at 09:43 AM.
Reply With Quote
  #192  
Old 07-24-2012, 10:02 AM
RRWH RRWH is offline
Web Hosting Master
 
Join Date: Mar 2005
Location: Australia
Posts: 1,273
Quote:
Originally Posted by eva2000 View Post
curious for folks in ssh telnet as root user when you type this command, what output do you get ?

Code:
cat /etc/sysconfig/clock | awk -F "\"" '{print $2}'
On a stand-alone Server I get the expected output - on an OpenVZ Instance, well, I get nothing - except an error message.

Code:
cat: /etc/sysconfig/clock: No such file or directory

Reply With Quote
  #193  
Old 07-25-2012, 10:08 AM
eva2000 eva2000 is offline
Premium Member
 
Join Date: Apr 2000
Location: Brisbane, Australia
Posts: 1,079
Quote:
Originally Posted by RRWH View Post
On a stand-alone Server I get the expected output - on an OpenVZ Instance, well, I get nothing - except an error message.

Code:
cat: /etc/sysconfig/clock: No such file or directory
OpenVZ such a pain

RRWH and others who are interested, I have a test script to upgrade Centmin Mod based MariaDB 5.2.x rpm installs to the new MariaDB 5.5.x YUM Repo based installations for CentOS 5.5 to 5.8 and 6.0 to 6.2. Haven't tested 6.3 yet. If any of you have spare VPS or local test servers and want to help me test MariaDB 5.5 YUM repo update, please contact me.

Best thing about updating to MariaDB 5.5 is it includes what CentOS 6.x mysql-libs usually provides so you can get software which is dependent on mysql-libs to install properly i.e. postfix.

Reply With Quote
  #194  
Old 07-25-2012, 10:34 AM
kafloofen kafloofen is offline
Web Hosting Guru
 
Join Date: Jun 2005
Posts: 325
I also add this line to accomodate longer vhost domains

config/nginx/nginx.conf

Code:
add server_names_hash_bucket_size 64;

Reply With Quote
  #195  
Old 07-25-2012, 10:35 AM
eva2000 eva2000 is offline
Premium Member
 
Join Date: Apr 2000
Location: Brisbane, Australia
Posts: 1,079
More details on MariaDB 5.5 and fixes for mysql-lib http://centminmod.com/faq.html#mysqllibs

Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Nginx Auto Installer – PHP – MySQL adyshor VPS Tutorials 18 11-01-2012 12:45 AM
WHMCS-CSF Auto Unblocker - Version 2.1 ~ NOW WITH REMOTE SERVER AUTO INSTALLER ! lonea Software & Scripts Offers 0 07-05-2011 10:56 AM
nginx, php, mysql/mariadb, mail and vsftpd rasmusj VPS Hosting 8 06-15-2011 08:38 AM
Nginx Admin: The Free cPanel Nginx automated installer Plugin linux2k Software & Scripts Offers 13 05-21-2011 11:45 AM

Related posts from TheWhir.com
Title Type Date Posted
Web Host Secure Cloud Space Integrates Softaculous Auto-Installer with Control Panel Web Hosting News 2011-12-19 16:39:33
Software Developer Softaculous Launches Softaculous Auto Installer Version 3.8 Web Hosting News 2011-11-25 15:34:49
Web Server NGINX Partners With CDN Firm Jet-Stream Web Hosting News 2011-11-21 19:21:42
Softaculous Adds 17 New Apps to Auto Installer Library Web Hosting News 2011-09-12 17:51:10
Web Host HostingZoom Adds Softaculous Auto-Installer to Hosting Plans Web Hosting News 2011-08-17 17:52:34


Tags
apc, centmin, centos, mariadb, memcached, nginx, php-fpm, xcache

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?