Barracuda Aegir with Nginx Edition 0.4-HEAD-A12.D (Lucid, Karmic and Lenny compatible)
UPDATE: Barracuda and Octopus new home is on d.o, plus there is BOA group:
http://drupal.org/project/barracuda
http://drupal.org/project/octopus
http://groups.drupal.org/boa
UPDATE: After introducing dual-core Barracuda/Octopus Aegir Installer, this thread is continued also here: http://groups.drupal.org/node/89594.
Read morePHP profiling with XHprof
If you're looking to track down the module which is killing your page load times, you may need profiling. Most people have used xdebug for this in the past with something like webgrind to display the information. Things have gotten easier.
Facebook has developed a PHP extension called XHprof and released it under the Apache license. It comes with a nice sample web interface.
Read moreNginx now properly supported in Aegir
It finally works as expected (well, almost - it's still alpha! :). You can try Provision available on GitHub: http://github.com/omega8cc/provision. It includes modified install script and hostmaster makefile to make your life easier.
[UPDATE: now it supports also SSL integration and apt-get Nginx versions, with Boost compatibility, but it should be at least nginx-0.6.36, so with Debian you need backports, and with Ubuntu you need at least Karmic or newer.]
Read moreNew module - FileField upload progress in Nginx
After some discussion on the filefield issue queue, today I released a module that adds the much needed upload progress functionality to sites running on nginx servers. Brian suggested I also post here as it may be useful to others not following that issue.
Read moreNginx Boost rules for subdirectory?
Hello,
I mean subdirectory is:
http://www.domain.tld/ is one Drupal installation, and http://www.domain.tld/app1/ is another Drupal installation.
I use this rules, and still not works:
server {
listen 80;
server_name domain.tld;
location / {
root /var/www;
index index.php;
set $boost "";
set $boost_query "_";
if ( $request_method = GET ) {
set $boost G;
}
if ($http_cookie !~ "DRUPAL_UID") {
set $boost "${boost}D";
}
if ($query_string = "") {
set $boost "${boost}Q";
}
PHP 5.3.2 with php-fpm
php-fpm, the improved process manager for php-cgi, is now included in [an experimental branch of] the PHP 5.3.2 distribution. There are some deb packages out there and it has become very easy to install. No compiling necessary. I recently installed it on my home dev server to test it out and it worked without too much trouble. My home server is running ubuntu 9.10, the karmic release.
Read moreTutorial for using Nginx in front of Apache and mod_php, to serve static files?
Hello all! I've been looking through this group's discussions, and am very thankful for all the help and advice. Here's my situation: I recently moved from shared hosting to a VPS (Linode.com). I'm a relatively competent with html/css/php, etc., but am fairly noobish when it comes to the whole server side of things. I can find information, and follow and adapt tutorials, but have a hard time knowing how to hack things out from scratch.
So I've set up my VPS running Ubuntu 9.10 (Karmic) with Apache2, mysql, and php, and have my vhosts up and running with drupal. What I want to do now is set Nginx up as a static file server, leaving dynamic content to Apache and mod_php. I just haven't been able to find a comprehensive tutorial for how to do that, taking drupal into account (specifially, image_cache and boost). Basically what I'm looking for is this:
http://www.lullabot.com/articles/using-lighttpd-static-file-server
But geared towards Nginx instead of Lighttpd (because of the memory leak issues I've read about). Can anyone point me towards some good resources to help me get this set up?
Thanks a ton!
Read moreSuggestion for performance nginx setup in CentOS 5.3
Hello,
Maybe next week I will setup a dedicated server.
Server hardware:
Dual core ATOM 330
2GB RAM
Swap: 2.2GB
OS: CentOS 5.3
Drupal:
-Use MySQL DB
-Use boost
(some of my website use statistic, some not, but all use boost)
-Lots of anonymous user, with high read & low write
For this serer, what I want is:
-highest request/sec
-lowest RAM & CPU usage
Below is what will I do, but because I dont have experience in nginx, so I hope there will be suggestion (Which one has duplicated function and can be ignored, or not enough something...)
Read morenginx with memcache
I've got a reasonably busy server which was running nginx with memcache (approx 2000 concurrent users, mostly anonymous users viewing pages).
It was running nginx with memcache - apparently happily, but I don't have any benchmarks from that time.
I updated Drupal to 6.15, plus a shed load of modules - not the memcache module, but that appears to be only a gui anyway.
Now, if I set the following in the settings.php file, the site goes offline immediately. It won't come back until I remove the setting;
$conf = array(
'cache_inc' => './sites/all/modules/memcache/memcache.inc',
Can we browse another drupal installation in subdirectory of a domain?
Hi, Im not Nginx user, but I need to ask before setting up nginx for my drupal website
I need to have my domain.tld running, which means in the domain.tld folder is Drupal installation.
So I will see my website when I browse http://www.domain.tld/
But I have a folder with name "app1" which contains another Drupal installation.
So I will see another Drupal installation when I browse http://www.domain.tld/app1/
I dont want to setup subdomain because this way is far easier and dont need other codes in config file.
This works fine in Apache2, but not works in lighttpd
Read more
