Archive for the ‘Linux’ Category

July 28, 2010 4

iRail.git

By Tuinslak in Linux, Mac, Software, iPhone, iRail, www

iRail source is on Github. To access the iRail source code; Be aware you need to be added as contributor before being able to commit changes. get Git [browse to some folder] mkdir git cd git git clone git@github.com:Tuinslak/iRail.git cd iRail git fetch To edit & commit changes: git add [file] git commit -m ‘edited [file], [...]

  • Twitter
  • del.icio.us
  • Digg
  • StumbleUpon
  • Facebook
  • Ping.fm
  • Reddit
  • Google Bookmarks
  • Yahoo! Bookmarks
  • Tumblr
  • MySpace
  • LinkedIn
  • email
  • PDF

Tags: ,

July 22, 2010 0

Four

By Tuinslak in Hardware, Linux

Has a year uptime as well! Yay It’s the one at the bottom. Running Ubuntu as OS (Dom0) and several Xen virtual machines (such as the nginx reverse proxy cache of this blog). Four is a dual core Xeon with 8Gb RAM.

  • Twitter
  • del.icio.us
  • Digg
  • StumbleUpon
  • Facebook
  • Ping.fm
  • Reddit
  • Google Bookmarks
  • Yahoo! Bookmarks
  • Tumblr
  • MySpace
  • LinkedIn
  • email
  • PDF

Tags: ,

June 30, 2010 0

nginx configs

By Tuinslak in Linux, Software, www

Been slacking a bit lately, but here they are: /etc/nginx/nginx.conf // general nginx config /etc/nginx/sites-available/blog // my current (as of posting this) rproxy settings for this blog /etc/nginx/conf.d/proxy.conf // reverse proxy related config

  • Twitter
  • del.icio.us
  • Digg
  • StumbleUpon
  • Facebook
  • Ping.fm
  • Reddit
  • Google Bookmarks
  • Yahoo! Bookmarks
  • Tumblr
  • MySpace
  • LinkedIn
  • email
  • PDF

Tags:

June 20, 2010 1

iRail slashdot effect

By Tuinslak in Linux, Networking, Software, iRail, www

Only because stats are pretty awesome. The effects of my media attention a few days ago. I’ll give some more info than what can be seen here. And pretty happy I set up my nginx caching up a few weeks ago. MRTG traffic stats on vm1, my nginx caching server, of the first 2 days [...]

  • Twitter
  • del.icio.us
  • Digg
  • StumbleUpon
  • Facebook
  • Ping.fm
  • Reddit
  • Google Bookmarks
  • Yahoo! Bookmarks
  • Tumblr
  • MySpace
  • LinkedIn
  • email
  • PDF

Tags: , ,

June 9, 2010 0

nginx cache in tmpfs

By Tuinslak in Linux, Software, www

Probably won’t change a lot to my performance, but I’ve mounted the nginx reverse proxy cache in a tmpfs mount. none on /var/cache/nginx/blog type tmpfs (rw,size=512m) none  512M   47M  466M   4% /var/cache/nginx/blog Let’s see what performance boosts this will give.

  • Twitter
  • del.icio.us
  • Digg
  • StumbleUpon
  • Facebook
  • Ping.fm
  • Reddit
  • Google Bookmarks
  • Yahoo! Bookmarks
  • Tumblr
  • MySpace
  • LinkedIn
  • email
  • PDF

Tags:

May 28, 2010 1

One

By Tuinslak in Hardware, Linux

Big grats to One, with its one year uptime. And been running for over 1500 days ! Old server is getting old. (The 2nd one from the top , resting on that Xserve) This is an old dual P3 I got off eBay years ago. This blog is running on that server. It’s running Gentoo as [...]

  • Twitter
  • del.icio.us
  • Digg
  • StumbleUpon
  • Facebook
  • Ping.fm
  • Reddit
  • Google Bookmarks
  • Yahoo! Bookmarks
  • Tumblr
  • MySpace
  • LinkedIn
  • email
  • PDF

Tags: ,

May 23, 2010 0

nginx reverse proxy with caching

By Tuinslak in Linux, Networking, Software, www

Playing around and searching the web I enabled some decent caching now. Here are some stats: image+html and php. Note that the php on apache (recompiled each request, about 1.5-2sec between every request) versus the cached output has a huge difference. Difference between images and static text files aren’t that huge. Also note that nginx [...]

  • Twitter
  • del.icio.us
  • Digg
  • StumbleUpon
  • Facebook
  • Ping.fm
  • Reddit
  • Google Bookmarks
  • Yahoo! Bookmarks
  • Tumblr
  • MySpace
  • LinkedIn
  • email
  • PDF

Tags:

May 22, 2010 1

nginx reverse proxy IP

By Tuinslak in Linux, Networking, Software, www

The issue with the wrong IP address being shown when using nginx as reverse proxy can easily be solved with mod_rpaf. cache.blog.tuinslak.org 85.234.196.237 – – [22/May/2010:16:33:46 +0200] “GET /2010/05/nginx-reverse-proxy/ HTTP/1.0″ 200 6184 “-” “Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_3; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.53 Safari/533.4″ 1766 6503 vs cache.blog.tuinslak.org 85.12.6.171 – – [...]

  • Twitter
  • del.icio.us
  • Digg
  • StumbleUpon
  • Facebook
  • Ping.fm
  • Reddit
  • Google Bookmarks
  • Yahoo! Bookmarks
  • Tumblr
  • MySpace
  • LinkedIn
  • email
  • PDF

Tags:

May 22, 2010 1

nginx reverse proxy

By Tuinslak in Linux, Networking, Software, www

I’ve been playing around a bit with nginx and its reverse proxy module. The “real” website is accessible here, whereas the cached version is here. I’m deliberately making a difference between cache.* and live.* as blog.tuinslak.* might move to the cached version lateron. The question, is it useful to reverse proxy this blog? No, probably [...]

  • Twitter
  • del.icio.us
  • Digg
  • StumbleUpon
  • Facebook
  • Ping.fm
  • Reddit
  • Google Bookmarks
  • Yahoo! Bookmarks
  • Tumblr
  • MySpace
  • LinkedIn
  • email
  • PDF

Tags:

March 21, 2010 0

nginx + fastcgi PHP

By Tuinslak in Errors, Linux, Software, www

I recently migrated vm1 to nginx instead of lighttpd. Just for the sake of playing and testing around. As there’s a PHP page as well, I had to set up fastcgi with PHP. I mainly followed this tutorial to try to get PHP working. However, every PHP page I visited returned following error: No input [...]

  • Twitter
  • del.icio.us
  • Digg
  • StumbleUpon
  • Facebook
  • Ping.fm
  • Reddit
  • Google Bookmarks
  • Yahoo! Bookmarks
  • Tumblr
  • MySpace
  • LinkedIn
  • email
  • PDF

Tags: ,