Nginx for our performance tweakers

Nginx for our performance tweakers

- Visvanath Ratnaweera の投稿
返信数: 15
画像 Particularly helpful Moodlers 画像 Translators
Apache and Lighttpd face competition:

"Nginx: the High-Performance Web Server and Reverse Proxy. Having performance issues with your Web server? Maybe the Russians can help."

http://www.linuxjournal.com/article/10108 (goes online only 3 months later)
Visvanath Ratnaweera への返信

このフォーラム投稿は削除されました。

このフォーラム投稿のコンテンツは削除されたため現在アクセスすることはできません。
削除済みユーザ への返信

Re: Nginx for our performance tweakers

- Visvanath Ratnaweera の投稿
画像 Particularly helpful Moodlers 画像 Translators
削除済みユーザ への返信

Re: Nginx for our performance tweakers

- Frankie Kam の投稿
画像 Plugin developers

Hi Dave, any good documentation on the Web how I can install Nginx so that my Moodle site can run on it? I am currently using a Linux Centos 5 VPS (512Mb RAM) running on Apache 2 and PHP 5.1.x for my Moodle site. I am itching to convert my VPS site into Nginx since I have read good things about it.

Frnakie
Melaka, Malaysia

Frankie Kam への返信

このフォーラム投稿は削除されました。

このフォーラム投稿のコンテンツは削除されたため現在アクセスすることはできません。
削除済みユーザ への返信

Re: Nginx for our performance tweakers

- Frankie Kam の投稿
画像 Plugin developers

Dave

Thanks for the speedy reply. I've just signed on for a 2nd VPS where I hope to install Nginx on. I don't think it will be in Ubuntu since my Web Host provider by default will give me a CentOS VPS.

Frankie Kam

削除済みユーザ への返信

Re: Nginx for our performance tweakers

- Frankie Kam の投稿
画像 Plugin developers

Hi Dave,

I slaved over installing Nginx on Centos5 and managed to get the "Welcome to Nginx" welcome message. Then I tried installing Moodle 1.9.10 and got stuck with some permission 404 issue..

I'm "crossing the Rubicon" with my decision to have my Web Host reformat my new VPS with ubuntu 10.04.

I'm going to go for a Nginx installation (my Web Host won't do this for me) and then install Moodle 1.9.10 onto it. After that, I'm gunning for this: add eAccelerator and Varnish. As in the webpage: http://www.travisberry.com/2010/10/lightning-fast-php-server-with-nginx-eaccelerator-and-varnish/

My classes are at the most 25 students. So I don't think I'll miss Apache too much. I'm choosing Ubuntu for its ease of use and installation of packages. And for Ubuntu's extensive support and large community of users.

Dave, please advise me if you can on how to get Moodle installed on Ubuntu 10.04. I hope you can share with me how to get a clean, lean, fighting Nginx machine for my Moodle computer lab classes.

My VPS is a 256Mhz CPU with 512Mb RAM, but with only a 512Kbs Internet pipe. So, I'm itching to see if with Nginx on it, plus eAccelerator, plus Varnish, Moodle 1.9.10 on my new VPS can outperform my older VPS's Moodle 1.9.7 which is at http://scm.moodleace.com.

regards Comrade, for the Motherland...
Frankie

Frankie Kam への返信

Re: Nginx for our performance tweakers

- Greg Lund-Chaix の投稿
I am reasonably sure running nginx/fastcgi doesn't benefit from APC or eAccelerator much at all because the fastcgi threads don't share the cache memory, so each thread has its own separate cache.
Frankie Kam への返信

このフォーラム投稿は削除されました。

このフォーラム投稿のコンテンツは削除されたため現在アクセスすることはできません。
削除済みユーザ への返信

Re: Nginx for our performance tweakers

- Frankie Kam の投稿
画像 Plugin developers

Got Moodle 1.9.7 installed on Ubuntu. Trying Moodle 1.9.10. My VPS already has Apache, PHP and MySQL. Next up? Nginx and FastCGI and maybe more stuf that I don't know about right now.

削除済みユーザ への返信

Re: Nginx for our performance tweakers

- Frankie Kam の投稿
画像 Plugin developers

I paid USD15 for this site's access to Ubuntu command line code:

http://vpsbible.com

Best money I've paid so far for copy-and-paste code to get my VPS running from zero to hero. This site really comes in handy especially when it jives with my intention of using Nginx for my new Moodle site. Excellent stuff!

Frankie

削除済みユーザ への返信

Re: Nginx for our performance tweakers

- Frankie Kam の投稿
画像 Plugin developers

Dave

It's really tough going installing Nginx for Moodle. So far, I've managed to install Nginx on my Centos. http://202.75.41.78/index.html

gives me (after many, many hours!) the rewarding:

Welcome to nginx!

Since I'm getting permission errors whilst trying to install Moodle on my system, I'm taking a much-needed break from this grueling process...

Dave, I kinda wish that you and others who have successfully installed Ngix for Moodle, depeding on your availability and time, could/would create/write/publish/share detailed step-by-step instructions all the way from installing Nginx to getting Moodle running on it.

Frankie Kam

Frankie Kam への返信

Re: Nginx for our performance tweakers

- Jason O'Neil の投稿

Hi Frankie

I had a friend do the setup for me on a new VPS running Ubuntu 10.04.  I've attached his instructions (INSTALL.txt) and copies of the relative config files.

So we're running nginx, with squid functioning as a reverse proxy.  (Fun!).  Moodle is mostly working okay, though I am having a few issues with attached files at the moment.

As I said, I had someone else set this up and leave me semi-complete instructions, so hopefully they're thorough but their might be a step or two where you have to improvise.  Also, I'm not sure which parts of the config files were changed and which were largely the same as before, but I guess just compare them to what you've got and add in what's missing.

Or if you get stuck, you could hire him to do it for you :P

Hope this helps! (And sorry I don't have more complete instructions)
Jason