There’s quite a few guides out there to install memcached and libevent but here are the steps I took to get it installed. This is largely based around checking out my history entries, but, it doesn’t the job!
Note that if you don’t add the prefix to configure libevent you can end up with bits everywhere and it getting a little bit fiddly.
[root@host ~] wget http://www.monkey.org/~provos/libevent-1.4.10-stable.tar.gz
[root@host ~] tar xvfz libevent-1.4.10-stable.tar.gz
[root@host ~] cd libevent-1.4.10-stable
[root@host libevent-1.4.10-stable] ./configure --prefix=/usr/local
[root@host libevent-1.4.10-stable] make && make install
[root@host libevent-1.4.10-stable] cd ~
[root@host ~] vi /etc/ld.so.conf.d/libevent-i386.conf
insert:
/usr/local/lib/
[root@host ~] ln -s /usr/local/lib/libevent-1.4.so.2 /lib/libevent-1.4.so.2
[root@host ~] wget http://memcached.googlecode.com/files/memcached-1.4.4.tar.gz
[root@host ~] tar xvfz memcached-1.4.4.tar.gz
[root@host ~] cd memcached-1.4.4
[root@host memcached-1.4.4] ./configure --with-libevent=/usr/local
[root@host memcached-1.4.4] make && make install
Now you should be able to run memcached.
memcached -vv -u nobody
Alternatively of course you can use yum but that’s no fun and not always the latest version.
After much debating, researching, comparing and generally going round and round in circles I have once again changed my dedicated host.
I had a box from The Planet over in sunny Texas which was great, got it on an offer and paid in USD so it worked out great. Problem started to come in that I wanted to upgrade the spec, perhaps more memory, CPU etc. After research most truly dedicated boxes worked out too expensive even in USD as the sites I host are mostly personal ones and I don’t get much money for them.
VPS/Cloud of course was an option and having tried The Rackspace Cloud (formally Mosso), looking at Slicehost and UK2.net’s VPS offering I found Memset. I’d heard of them in the past but quickly found quite a few people who’d used them and had good things to say.
Having signed up my payment was taken quickly and my virtual box was online in less than 15 minutes. The couple of issues I’ve had have been dealt with very quickly and so far performance of the box outweighs that of the fully dedicated machine. Only issue is the DNS control panel is very basic and is not particularly well designed or user friendly. If you understand DNS you’ll be fine, if you don’t, you won’t.
Basically I’d recommend them and now all my sites are happily running from the UK based datacenter.
With most forms, on most sites, if asked for your title you’ll normally get the usual; Mr, Mrs, Miss, Ms, Dr. Sometimes you’ll see a few more but not often. Harrods however outdoes themselves with this impressive array of titles, I think we should all start using this as a list on forms… out of curiousity if nothing else!
With the announcement of the new iPhone 3GS the predictable rage at upgrades is now the issue. It’s not unexpected as the handsets aren’t subsidised however still annoying to those people who want the latest and greatest.
o2 have now published their upgrade policy on how you can get a 3GS. Basically, buy a pay as you go phone, pay up your remaining monthly contract and sign a new one or dependent on how much you pay monthly take advantage of the early upgrade windows.
I’ll certainly put 3.0 on my phone but if it’s worth upgrading as much as I’d like to I’m not sure. In my case with 9 months left I think the pay out contract option would be cheapest – still very expensive though. Of course there’s always eBay…
My friend Claire who is a handbag and accessories addict has launched her own website. www.nudeaccessories.co.uk. It is basically a one stop shop for girls! Her website has a collection of handbags, purses, scarves and jewellery, There is something for everyone whether you are looking for a new work bag or that something with a bit of sparkle! And if you are a bloke and that’s not your thing I am sure there is someone in your life that would appreciate a gift!
Been playing with Rails 2.3.2.1 and Passenger 2.1.2 but had some problems upgrading from the two respective earlier versions. The key was in the fact I probably didn’t RTFM. Following the guides.rubyonrails.org I’d got as far as section 4, changing the default index but whenever I did this or tried to view the controller directly on my Mac (10.5.6) it just 500 errored. The key was something that a friend (@neilmiddleton) alluded to was that the app was running in production mode. There was no errors in the log files also aiding the diagnosis.
Solution? Pretty simple, just add an environment variable.
ServerName rortest.local
DocumentRoot "/Users/ian/Sites/rortest/public"
RailsEnv development
Now I’ve got to try and write something useful rather than hello world or a blog post/view page.
I’ve managed to reach my fitness goal a bit early. I’ve got myself to 1000m/40 lengths in the pool (25m) ahead of when I wanted to. I was hoping to make it by the end of the month but am early. Problem is now deciding on what the next goal should be. I did 40 lengths in 40 minutes so I guess I need to try and get that down by 10 minutes but if I get to 1000m in 30 minutes then it’s not going to be pushing myself. I guess the next step is try to get all the way up to 2000m in less than an hour but that’s quite a long way off!
I do also need to do other stuff though. I’ve been neglecting the gym a bit and concentrating on the swimming so I may just keep the swimming pace as is and then go for doing a goal on either rowing machine, bike or treadmill. I hate the treadmill/running so I think I might start out with cycling or rowing.
Next time I go to the gym I’ll let you know what happens.