|
||||||
|
Obligatory Laugh-and-head-shake digression: I’ve been fighting email spam for 12 years plus, and I still see stupid spammers - pardon the tautology - indiscriminately junkmailing abuse@ role addresses. Idiots. Why not just offer crack to a cop? With that thought out of the way… Mike McGrath’s memcached plug prompted me to give it a go here, for well, two reasons. a) I’ve had some (good) experiences in the workplace with it - it’s a boon for database intensive web apps especially and b) because I can and it’s there (which is always a good reason in my ever humble view) Memcached itself is always a fairly simple install for Fedora - Install via yum (including memcached-selinux if you’re running SELinux - and if you aren’t why not! :-)), give it some options via /etc/sysconfig/memcached eg. CACHESIZE=”64″ (at home, usually “1024″ at work because their app is a lot heavier) start it up and point clients at it. Wordpress was a touch trickier - there isn’t an “official” Wordpress plugin, with a client available buried in Wordpress Plugins version control (http://plugins.trac.wordpress.org/browser/memcached/trunk/) - which has worked well - if you’re reading this it’s not killed my blog. To install, grab the above file(s) and drop the object-cache.php file in /usr/share/wordpress/wp-content, set “WP_CACHE” to “true” in wp-config.php and you’re most of the way there. On the server side, memcached-tool’s “stats” command should start seeing increases in cache hits/misses and cached object numbers. Adding Andy Skelton’s batcache plugin can help to fine-tune what and how it caches - it’s functional but not as “click-and-drool” as many WP plugins, but how much tweaking do you need to do really? Drupal was a similar adventure I’ll go into elsewhere; there’s a reasonably simple to install plugin from drupal.org - download, drop into /etc/drupal/all/modules, configure and enable - and the results just as good. I was surprised to find related Perl packages not in the main repository (Other major languages are covered - my workplace couldn’t survive without the Python bindings :-)) so I whipped up a package of Cache::Memcached 1.26 (also for RHEL/CentOS) on my own repository, plus I’ll be uploading it for review for Fedora proper[2] as a Perl-using systems admin it’s just too useful not to have (monitoring / stats-gathering scripts for a start :-)) In my continued masquerade as a web developer/SEO maven (which isn’t fooling anyone, I know!) I’ve spent too much time looking at analytics to the point of my poor old eyes turning square and developing line graphs burnt in to my retinas. At least that’s been a little successful. I have one sticking point in the development side, which is avoiding / dumping web form spam. I could use CAPTCHA but I forsee a lot of visitors finding it off-putting, which is undesirable (it’s for my girlfriend’s business venture). I could use Akismet but that seems more suited to blogging, alas (and I’d need to package the PHP PEAR apps for it anyway). I’m welcome to other suggestions as always. [1] well, if you’re not reading Planet Fedora via an aggregator anyway.. [2] Update at 9:07pm AEST: Bug #504403 if someone is keen.Christian lobby upset about Australian government backtracking on Internet Censorship I’ve one word to say about this: good. The whole sorry mess that is the Australian net censorship debate has become an international embarrassment. It is not or will be feasible technically (something the august members of SAGE-AU have pointed out many, many times - and they should know) is wide open to abuse and scope creep - and has never been about “protecting children”, ever (let’s be honest here!). There’s already “parental responsbility” and personal filtering software (for those that want it) to police kids’ online usage. Nationwide national filters are massive overkill for this - unless that wasn’t the *real* reason (I found the “if you’re against the filter you don’t care about the children/have something to hide” troll from the likes of Child Wise personally offensive, being an adult and a knowledgeable professional. “Don’t pee on my leg and tell me it’s raining” - Anon) I’m also pleased to see that seperation of church and state still means something here (and did the pro-filtering lobby really expect not to be cast aside by politicians when convenient for the latter? They’re pollies - CYA is their mantra and measure time in periods between polls!) On other matters: I’ve spent a little bit of time getting the (thankfully few) bugs in my packages cleaned up (pyicq-t will appear for Enterprise Linux really soon, I promise you - CVS branches are pending), signed up for identi.ca (as “thatfleminggent” - I’m impressed with the XMPP/OpenID integration so far) and tinkered with a few projects that took my fancy - integrating FDS/”389″ into my local network, setting up Asterisk, continued learning some search engine voodoo for the GF’s website. There will be a “thatfleminggent” package set for Leonidas, as usual I’m not 100% sure what form it will take and what will be retired / added. Looking over Planet Fedora, I should probably learn a language or two as I think I’m missing some good non-English content In an effort to help my girlfriends website generate a bit of traffic - and some business for her In summary I still think a lot of it is voodoo Generating the sitemap etc. is easy, as is submitting it (except Yahoo, too many hoops, FIXME) but the resulting information can be just a tad opaque - bounce rates for example (mine seems high at over 70%, maybe because of the package downloads) plus GoogleBot’s view of my site seems rather different to mine (or what awstats tell me about visitors) - I suspect the poor old META tag doesn’t get the importance it did in times past, and this old curmudgeon is still in the tech-bubble era regarding search visibility. But I’m learning again - there seems to be some positive results already and it’s another string to my bow. An impressive practical use of Google Maps (and Twitter to get the word out) during the flooding here in Brisbane: Google Map of the affected areas and road closures Fortunately I’m in the inner city and a floor up in an apartment, so wasn’t affected, unlike far too many (including a close friend who arrived home from the pub to a flooded front lounge and no electricity I also attempted to split my IPv6 allocation (a mere /64) over 2 physical links - bad idea and an epic failure on my part. It was worth a shot I guess. All of my revision controlled code has been switched from bzr to git - I don’t know why I didn’t do this sooner - it’s been a breeze, and the learning curve hasn’t been steep at all - or perhaps my needs aren’t too complex? (I’ve been primarily a bzr/cvs/Subversion user). The “tailor” package from the main Fedora repository was also helpful - it’s not the easiest to use, but the results were excellent. I’m converting my rather venerable Samba domain controller to an LDAP backend (it’s currently tdbsam and a pain to manage) - using Fedora Directory Server (ahem “389″ now - admittedly good vendor-neutral branding there folks) has been fairly painless, barring my unfamiliarity regarding how it manages ACLs (or perhaps that’s just the management console not doing what I think it is) Speaking of which - I’ve had a dreadful experience with LDAP management apps - both gq and lat crash on me badly and while I don’t mind phpldapadmin (and use it at work) it’s not particularly fast. I welcome suggestions for alternatives I’m currently hand-editing via ldapvi and feeling rather old-school. A little Perl CGI app called “pluma” has piqued my interest - I’ll package it up if it turns out to be worthwhile. After moving what seems to be several mountains at the workplace over the last few weeks, I’m finally on holiday. Additionally, my girlfriend is back from interstate, which makes me even happier. Alas, nature doesn’t like us and lo, as soon as she stepped off the plane it started raining - and it hasn’t stopped. It knows when I’m trying to chill, I tell you, it’s some sort of celestial conspiracy. Aside from pottering about my apartment while it pours and she rests I’ve whipped up a couple of quick packages for the Wordpresss user: WP-Syntax and an updated WP-Supercache (the latter is a bit experimental) - they’re in the repositories for all versions / arches I support. I’m using the former here so you should be able to put code snippets in comments (and I in posts) now. (Fedora contribs: These plugins are very easy to package; I’m happy to contribute a spec template to rpmdev or even submit them for review if there’s sufficient interest) I’m also having a crack at gluster - It builds on Fedora OK sans Apache/Lighttpd module support, merely needs a bit of init-script massaging. I’m happy to provide an eat-your-brane build for the keen/brave. Sam released 4.5.0 today (and maildrop 2.1.0, which I’m trying to package up now and having an interesting time tracking a compile problem with the db/gdbm stuff) - I’ve updated my packages for CentOS/RHEL and Fedora in the usual places In fact I’ve installed the new package for F9 on my server already without a hitch (yet, touch wood) - in fact I’ve never had a problem since moving from qmail-pop3d in Ye Olden Dayes (there’s still a few large places here in .au using qmail-pop3d; I’ve often wondered why..) On a tangentially related topic - is it just the onset of madness or is my repoview index going somewhat random? For about a week or more the main index is been VERY out of order for all repos (cf here for example ). The repository data looks fine and the RSS feed data is in perfect shape. I’m wondering if I’m alone here or this is a “bug”? I’d prefer not to waste too much of Konstantin’s time if it’s just me So don’t be alarmed regarding the latter (as a user) - I’ve not stopped. (UPDATE: maildrop 2.1.0 builds, but without db4 support. Happy to release it if people don’t mind using gdbm. Curse you, BezerkleyDB! :-)) If it’s not notifications / oddly explained failures to build from gcc itself (hello davfs2 on CentOS/RHEL5, where did that fail? Insights welcomed as the build.log is charmingly opaque. Cheers) or flex & bison (Hello vulcan on F10/x86_64, whaddaya mean you can’t parse and move the .yy files? Jebus on a razor scooter every other distro version and arch did it happily except the one I actually run!) it’s another thing. Am I also the only person who sees “advice” like this “fix” for a library error and let out a Charlie Brown-esque “AUGH!” (Two good ways to fix this, microbrew to the commenter who posts the most elegant one first ;-)) I’ve had much success installing Fedora Directory Server and Cobbler over the last couple of days (home and the workplace respectively) but remind those attempting it that “with great power, comes a great responsibility to read the supplied documentation carefully before issuing a ’service <foo> start’” . These two are an example of packages that are insanely great, very powerful and can do everything but bring about world peace. Conversely the configuration items and possibilities are legion, ergo consider what you want to achieve and what you’re working with before you open your text editor. Doing it the other way around is of course an excellent way of creating a timesink. Sensible defaults are good and common, but not always ideal. Just because it starts doesn’t mean it will suit your needs. Approach with a plan and you’ll be much happier and more successful. (The same reasoning applies to “live” server installs. “It boots” doesn’t mean “It works” or “It’s secure” - especially the latter, having seen a few folk learn the hard way ;-)) |
||||||
|
Copyright © 2009 That Fleming Gent - All Rights Reserved |
||||||
Recent Comments