Installing LAMP and WordPress on Slicehost (or elsewhere) Redux

[Disclaimer: I am not responsible for any mishaps that may occur by following these steps or advice because you follow them out of your own free will.] — I figure I better put that up-front, again.
:)

My original post on installing a LAMP (Linux, Apache, MySQL and PHP) server with WordPress seems to have helped at least a few people.

I have since come up with a few more random, but I think helpful, tidbits since writing that post. I will list them here.

Basic Commands

‘ls -alR’ for a recursive look at all owners and groups, etc.

Transferring your Blog to WordPress.org

If you are importing your blog from somewhere else and the upload doesn’t seem to be working (e.g., when you click the “Import” button you see no screen changes and/or you the browser is just “spinning”):

  • create uploads directory in wp-content
  • you may have to set wp-content to chmod 777 permissions for import
    - first try 755 on uploads. If it doesn’t work, then
    - then try 777 on uploads. If it doesn’t work, then
    - then try 777 on wp-content
  • revert everything back to 755, or what you had it before

If you are moving from wordpress.com to wordpress.org and you need your blogroll, you need to export this separately (it is not included as part of the normal export from wordpress.com). You go to http://your-wordpressDOTcom-domain.com/wp-links-opml.php and save the XML you see and then import via the blogroll/import capability (or you can just enter the link to the opml I mentioned before right in the blogroll import). Note the export only seems to work in Firefox and IE. Safari gave me a blank page.

SSL

If you want SSL for Apache – sudo a2enmod SSL (see article)

If you want SSL for your WordPress administration areas, enable SSL for wp-admin (See documentation)

For SSL resolution — if you are only using SSL on one site and you have other sites, see this forum post.

Final Setup Steps for WordPress

Make sure www-data has write access to the following — Do a ‘chmod -R g+w’ on wp-content/themes,wp-content/uploads

For final permissions:

  • find public -type d | xargs chmod 0755
  • find public -type f | xargs chmod 0644 (files)
  • find public -type d | xargs chown username:www-data
  • find public -type f | xargs chown username:www-data

If testing your wordpress.org somewhere besides the live domain, make sure to remember this article before going live.

If you find images to be funky after going live — like still pointing to your old domain or testbed site, you can manually do a search and replace in the database or use a plug in from here.

If file types should be working that aren’t working (xsl, html), maybe add to the sites-available vhost the allowed file types for the certain directory in question. For example, I added xsl because of Google Sitemaps and wanting to view my sitemaps in the browser.

Google Analytics

Google Analytics code goes above the tag in the footer file of your WordPress theme (see article)

WP Super Cache

If you are looking for a plugin that might speed up your blog by serving static, cached HTML instead of processing PHP constantly, then look to WP Super Cache. If you set up your LAMP server with Worpdress like I explained in my original post, then instead of using .htaccess, you will be putting any rules in the vhost — especially in steps 7 and 8 in the installation instructions.

Exim

Maybe replace exim with an external smtp server.

‘sudo /usr/sbin/exim4′ to get access to exim commands (like seeing message queue — exim4 -bp)

If exim4 is not working for Google Apps for some reason, check this out.


Posted in Blogging, Computers, Google, Linux, Technology, WordPress | Tagged , , , , , , , | 1 Comment

Why Backblaze Is My Choice For Online Backup Provider

I chose Backblaze as my online backup service provider for one year (possibly, longer).

It was actually a tough choice. I was weighing many options. Do I just go with the well-known leaders (by customer base), such as Mozy or Carbonite? Do I go with a provider that offers me a finite quantity of backup space per subscription, but allows me to backup unlimited computers, such as SpiderOak?

Obviously, the answers to these questions were “No”; so here is why I went with Backblaze:

  • Good communication – Backblaze communicated with me via Twitter and answered my pre-sales questions via email. SpiderOak was also very good in its email communication with me. Carbonite, iDrive, Mozy, Safecopy also communicated with me satisfactorily as well.
  • Let me into the Mac beta trial — While very late into the party (they publicly released for the Mac a week later), Backblaze gave me an invitation to try their Mac service before it went public.
  • Ease of Use / Function Offering Ratio Balance — It was very easy to set up the client on my MacBook Pro and get to backing up. An icon sits in my menu bar and allows me quick access to see what and how much is being backed up. But just because it is easy to use, doesn’t mean they skimped on the functionality. I can throttle my backup bandwidth; choose file types and folders to exclude; set my own encryption key; and set basic scheduling options.
  • Price — My choice came down to BackBlaze and SpiderOak. At retail, SpiderOak would have cost me $100/yr. Backblaze $50/yr. Like many people, I am doing my best to try to conserve some money, make appropriate purchase decisions. And while I really believe SpiderOak is a player in this space, a lot of my decision, maybe sadly, was based upon cost. Backblaze is a legitimate player and the cost was right — especially after the 10% Chris Pirillo discount, which sealed the deal for me. (To be fair, you can find 10% discounts for SpiderOak and there are even some 20% discounts out there if you are resourceful)
  • Allows me to backup external drives — As I write this, I am backing up content on an external firewire drive connected to my MacBook Pro. This drive is partitioned 3 ways, holding my Time Machine backups, SuperDuper backups and data that I just didn’t want taking up space on my primary 120GB MacBook Pro drive (e.g., videos). Backblaze does not allow you to backup your Time Machine data (seems reasonable), but I am backing up about 42 GB of data. I am 7GB into that process, which, probably expectedly, is taking just a tad longer than the primary hard drive.
  • Backup speed — The throttling mechanism is very useful and seems to work. With various degrees of throttling used in the 8 days, average 12 hours/day time it took me to backup 42.5 GB of data on my MacBook Pro, I average about 0.45 GB (450 MB) per hour. That seems pretty good to me.
  • Restore — I tested restore just a little bit. Seemed straightforward and easy. You log into the website. Enter your private encryption key if you decided to use it. Choose what directories/files you want. Then click Restore. An email comes to you really quickly saying a zip file with all the files you chose is ready to be downloaded. If you need a bunch of your stuff urgently, and can’t wait for download, you can also order, at extra cost, an overnight shipped DVD or USB drive of your data (see below why this could be an issue, though).

All that said, I do not believe Backblaze is perfect. Here are some items I think need improvement:

  • Multiple Computer Support — Backblaze would be near perfect if it allowed multiple computer support on one subscription a la SpiderOak and others. While 95% of my time is spent on my MacBook Pro (because I can run both OS X and Windows), I do have another HP laptop. It would be nice if I could just add that computer to current subscription. But, while I can add the HP to my current Backblaze account, I would have to pay another $50/yr. So instead, if I want to backup items from that machine, I use an intermediary like DropBox or SpiderOak (which both offers 2GB of space free) and then access those items from my MacBook Pro to be backed up on BackBlaze.
  • Unencrypted Data on Their Media Restore — Sort of a good cop, bad cop here. It is actually very cool that Backblaze offers the option to get your data on hard media, overnight. But the problem is that your data comes to you *unencrypted*. Me, I would be a little bit apprehensive of FedEx having a drive that has all my data readily accessible. I believe BackBlaze is working on a solution to alleviate this issue, but nothing has been announced publicly. That said, most providers don’t offer this capability anyway, so it is a nice-to-have feature. And most people restore their data through download anyway.

So in summary, I believe Backblaze, while imperfect and a relatively new service (especially on the Mac support front) provides a great service. It offers great functionality at a very good price. And I have seen no major issues with the service thus far. And, they seem willing to communicate with you if needed. I have signed up for a year commitment. SpiderOak was a very close second, and, in the end, primarily came down to financials as to why I chose Backblaze over them. I think they are pretty even on all other aspects as for what I require in an online backup provider.

Now I just hope that I am a paid user and they have lured me in, they still won’t mind the occasional Tweet every now and then :)


Posted in Computers, Mac, Software, Technology | Tagged , , , , , , , , , , | 4 Comments

Search Engine Optimization (SEO) Company Spam and Scam

At 8:44 PM last night, I get this email in my Apple Mail inbox from someone named “lisa rey” with the subject “Idea for [joelmarcey.com]“. Hey somebody has an idea for my blog!! Great! ;)

Ding! Obviously spam or a scam, without even opening the message. How do I know? Well, first the sender’s name has no capitalization. What kind of professional uses a name without capitalizing the first letter of their first and last name? Secondly, the subject screams out programmatic email with the brackets being used as a key to insert website names.

So, what other giveaways are there? I decided to open the message:


So here is what I see

  1. Message was dated 6:46 PM and I got it 2 hours later. Not sure that means much.
  2. Email address has about 10 digits after the name ellie. So, there is obviously a program generating email addresses. I mean, come on, at least have lisarey123456789@gmail.com ;)
  3. The greeting addresses me as “Website Owner”. Another indication of automation and spamming is not addressing you by your real name.
  4. An address, but no company name or link to company website. They even say “Our company is on the first page when you search on Google for our primary search term ‘SEO Company’”. REALLY? But you won’t tell me what the name of your company is, huh? (btw, here is the search result for “SEO Company” on Google.
  5. They say “Simply reply with opt out if not interested to hear from us”. Not very good English, if you ask me.
  6. I also did a search on Google and found other people seeing these types of emails.

So I wonder what would happen if I replied?? Not sure I am going to try to find out :-)


Posted in Blogging, Google, Miscellaneous | Tagged , , , , | Leave a comment

Top 25 Played Songs In My iTunes Collection As of April 2009

It has been about a year since I posted a list of my favorite music at a given point in time. I always like these sorts of lists because it gives me a chance to reflect on my personality when it comes to music. I also like when I see other lists like this because it reminds me that I am missing a bunch of great songs in my music collection, even though I have well over 3000 songs. So I go and buy some.

Anyway, I was looking at my iTunes playlists today and found one called “Top 25 Most Played”. I looked in there and was surprised what I saw. Now these are the most played since I moved my music to iTunes in May 2008. Here is the list:

  1. Last Name — Carrie Underwood (Played 33 times)
  2. Walk Away — Kelly Clarkson (31 times)
  3. Life Wasted — Pearl Jam (29 times)
  4. SIgned, Sealed, Delivered — Stevie Wonder (25 times)
  5. All Mixed Up — 311 (25 times)
  6. Killer Queen — Queen (24 times)
  7. Hello (American Idol Performance) — David Cook (21 times)
  8. Seasons of Love — Rent the Musical (20 times)
  9. Comfortably Numb [Live] — Roger Waters with Van Morrison (19 times)
  10. Gloria — Van Morrison (18 times)
  11. Because of You — Kelly Clarkson (18 times)
  12. Killing Me Softly With His Song – Fugees (16 times)
  13. Since U Been Gone — Kelly Clarkson (16 times)
  14. Drops of Jupiter — Train (16 times)
  15. No Diggity – Blackstreet & Dr. Dre (14 times)
  16. Higher Ground – Stevie Wonder (14 times)
  17. Don’t Know Why – Norah Jones (13 times)
  18. Wanted Dead or Alive – Bon Jovi (12 times)
  19. Jump Around — House of Pain (12 times)
  20. Illusion, Coma, Pimp and Circumstance – Prince (12 times)
  21. It’s So Hard To Say Goodbye — Boyz II Men (11 times)
  22. Don’t Let Love Go — En Vogue (11 times)
  23. Upside Down — Jack Johnson (11 times)
  24. Behind These Hazel Eyes — Kelly Clarkson (11 times)
  25. Verse Chorus Verse — Nirvana (11 times)

(Moving up quickly: Independence Day — Martina McBride, Kiss from a Rose — Seal, Alone — Heart, On the Other Side of the Truth — Sex Police, Animal — Pearl Jam)

So what does this list show? Well, that I have a pretty diverse musical taste. I like American Idol (yes, I admit that with no shame). Kelly Clarkson seems to be my favorite artist (although it really is Pearl Jam). And…..that I let my kids listen to the Curious George Soundtrack a little too much (WHAT THE HECK IS JACK JOHNSON DOING IN HERE :) )


Posted in Miscellaneous, Music, Personal | Tagged , , , , , | Leave a comment

MacBook Pro Battery Health Waning Quickly – But Why?

I usually leave my MacBook Pro sitting on my desk connected to a power adapter. Since I had the battery replaced back in October 2008, my guess is that I may have cycled through a power charge at the most 10-15 times.

However, this past week I had my MacBook Pro out and about around the house way more than usual. I would use the computer on battery a bit, then recharge it when I was done. Stuff like that. But, most of the time, even this week, I would still use the MacBook Pro connected to a power adapter.

So, yesterday (4 April 2009), I used iStatPro (highly recommended widget) to check the health of my battery. It was at around 96% after about 20 cycles. I didn’t think this was too bad. Before I went to bed, I noticed my batter was down to about 35% as I had been using it untethered to my power adapter. So I shutdown the computer, plug it into the power adapter and then went to bed.

This morning (5 April 2009) I woke up to the strangest thing. I noticed the light to my power adapter was *off*. No green light to mean the battery was charged. No red (or is it orange?) light to mean that the battery was charging. Nothing. So I removed the adapter from the MacBook Pro and plugged it back in; then the light went on as to indicate it was charging.

When I booted the computer up, I noticed the battery still had only 35% charge. What the heck? I had it plugged in all night. So I brought up iStatPro again, and here is what I found :-( (except replace the 100% with a 35% because I just took this snapshot right now)


69% health after only 21 cycles!!!!! No way that is normal.

Then I opened up System Profiler and found corroborating evidence.


I tried resetting the SMC, but that didn’t help.

So what is going on here? I must be doing something wrong, right?

Will calibrating the battery help me or am I just screwed and going to have to bring the battery back to the Apple Store again for replacement?


Posted in Apple, Computers, Mac, Technology | Tagged , , , , , | 3 Comments

OnLive – Intel, AMD, Microsoft, Sony, Nintendo Had Better Be On High Alert

I was listening to Windows Weekly the other day, and the topic of OnLive came up. Maybe I live under a rock, but I had never heard of OnLive. Well, I have now. And if their vision comes to fruition, there better be some companies that better get in gear or start to s#%t in their pants.

OnLive, in a nutshell, is a “cloud” video game service. In other words, all video games live on their servers and you subscribe to the ones that you want to play. But you don’t download the games to your machine and play them locally. You play them on *their* servers, and they push content back and forth to you through your web browser via your broadband connection. In other words, your computer now becomes a glorified dumb internet terminal that receives the images of the actions you perform in the video game; the OnLive servers do all of the heavy lifting of graphics processing.

So, the theory is that you can have a NetBook or an old Centrino laptop and you can play Crysis!! Crysis on a NetBook?!? I don’t effing believe it. But that is their vision, and with the way the video game companies are signing up in droves to be a part of this service (can you say EA?), this vision may actually have legs.

And if it has legs, oh my, how that changes things for companies like:

Intel, AMD: Video games are the most processor intensive applications in the world. If OnLive is successful, that opens the flood gates for more processor-intensive subscription-type markets. People can buy less powerful machines, but still get top quality functionality. That could eat heavily into the Intel and AMD profit margins — although, Intel and AMD should hope that OnLive buys their processors for the OnLive servers.

Sony, Microsoft, Nintendo: Well, this is simple. The video game console becomes obsolete. As Paul Thurrott alluded to in Windows Weekly – ‘Microsoft just wasted $5 billion in their XBox investment’

Now, of course, broadband would need to be plentiful. Quality of Service would need to be guaranteed. As they alluded in the Windows Weekly show – hey, Comcast, are you listening? And, there are other hurdles to overcome. They were talking about Amazon buying this service being a good play. I am not 100% convinced right now of that being a smart move; but if this does what I think it might do, then yes, any company should buy OnLive if they had the resources.

This is definitely something I will be keeping tabs on because this could be a “game changer” (pun absolutely intended). And I don’t say that often.


Posted in Computers, Entrepreneurship, Microsoft, Technology, Video | Tagged , , , , , , , , , , , , | Leave a comment

Conficker – Should Mac Users Be Worried?


So I was watching 60 Minutes last night (I can still hear that tick, tick, tick, tick, tick of the clock….and I am still amazed that Andy Rooney is still around!).

Their lead story was regarding internet viruses, particularly the Conficker virus that is supposedly just sitting dormant on many, many hosts waiting to be triggered.

There are rumors that this virus is going to be triggered on April 1st — of course, April Fool’s Day. Whether that happens or not remains to be seen. But it got me thinking……

Should Mac users be concerned?

From what Leslie Stahl was reporting on 60 minutes last night, all internet users should be freaking out about this virus. Maybe that is the case. I don’t know, really. I thought this was primarily a Windows virus. But a Symantec VP in the 60 minutes piece thinks that Norton will be able to help all users.

So, are you Mac users running out and buying Norton AntiVirus for the Mac? Do you still think that Mac users don’t need to be worried about anti-virus software?

I have a feeling I know where most people fall on this debate ;-)


Posted in Computers, Mac, Windows | Tagged , , , , , | Leave a comment

Choosing an Online Backup Service – Revisited

[Update 3: After tweeting Backblaze about me not being able to use their service because of no Mac support -- I get a reply inviting me to their private beta. Thanks Backblaze! But now my decision is that much harder :-) ]

[Update 2: I just realized that Backblaze does not currently have a publicly available Mac version. That rules them out, for now]

[Update: I have received two more candidate possibilities from Twitter of all places. ScottBourne of Mac fame recommended BackJack which looks interesting, but maybe a bit overkill for me. SpiderOak_Inc must have seen my posts and recommended SpiderOak, and, while I was wary and had never heard of them, their service is quite compelling, especially the zero knowledge policy. And here I thought I had almost made my decision].

Back in December, I wrote about my desire to choose an online backup service. Since then, I am still without a true service (I am doing some hodgepodge things right now to give me some semblance of offsite backup; but nothing very formal).

The desire to choose one is still there; and for whatever reason, I really wanting to choose one like right now.

I have narrowed my choices down to 4:

  • Carbonite (they finally have a Mac client; plus I can support Leo Laporte and TWiT since Carbonite sponsors Leo’s awesome and free podcasts)
  • Backblaze (they are less known, but get great reviews; plus their front page “ad” is kinda cool :-) —- Mac version currently closed to public, but I have beta invite)
  • SafeCopy (I believe they are quite new, but people have given them thumbs up; but are they too new??)
  • DropBox (There free service is actually quite compelling; I use it….but I think they are the costliest of the bunch here when it comes to getting more storage)

[Mozy -- you are out because you still cannot handle encrypted files from what I understand -- prove me wrong!]

Let me give you my current thought process:

Use the free version of DropBox to share files between my Windows laptop and my MacBook Pro, and then use Carbonite to backup offsite. I would need DropBox because Carbonite and many others only allow you to register one computer for backup, so I would use DropBox to move files I want backed up from my Windows computer over to the Mac (which will be my primary, registered computer). But, something like a SafeCopy would allow me to have unlimited computers registered because their pricing is based on storage.

So help me out. I would appreciate it. I would especially appreciate any representatives from the above companies coming by and selling me on their service.

Thanks!


Posted in Computers, Mac, Software, Technology, Windows | Tagged , , , , , , , , , , , , | 6 Comments

Help – I Want To Redesign My Company Website, But Where Do I Start

Update: I added what I think might be my favorite site — Slicehost (and, yes, they are my current hosting provider).

I am in the market to redesign my company website.

A few months ago, I put version 1.0 of the Twin Roots website out to the public. It is based on a free template that I thought was interesting and relatively unique (for something that is free). But I knew all along that it was only a temporary stopgap until I decided I wanted to get serious and get a more permanent design for Twin Roots established.

Well that time has come, and you know what, I am as confused and perplexed as ever on where to begin. Here are some things I know:

  • I am not a good front end or graphic designer. I have no shame in admitting that. Thus, that’s why I am looking around for a “3rd party” alternative.
  • I am open to free templates, free templates that can be modified, paid templates, or a real life person doing the web design
  • I am willing to pay money for the website design (whether template or web designer), but I am not willing to break the bank. For what I currently want, I have a top threshold price that I know I shouldn’t go over.
  • I want a clean, crisp look (see below for examples of sites that I really like)
  • I have no e-commerce need yet; this is currently a purely informational site
  • I like my logo; simple, clean, yet unique. So I want that incorporated into the site.

But, where to start is actually quite mind boggling. There are an infinite number of template websites, tons of “Bid For Design” sites, many individual website designers offering their services (but whom I don’t know personally), etc. Do I use a WordPress CMS theme or something else? Many questions are running through my mind.

Here is what I found in my research:

And I have just hit the tip of the iceberg.

Any advice on a sane, coherent process to get a new website for my company would be MUCH appreciated.

Thanks.


Posted in Business, Twin Roots, WordPress | Tagged , , , , , | 5 Comments

Choosing a Windows Web Host Is Difficult – It’s A Jungle Out There

UPDATE: I added 2 more hosts to my short list

A friend of mine is looking for a host for his website. His website is old school, with a bit of original ASP and, now, SQL Server 2005 (it was….gasp….SQL 7 until I converted it).

Anyway, his requirements are light. Not a lot of traffic. Not a lot of size needs (e.g., the database is < 100 MB). But given there is a data need for inventory management and entry, I need to be diligent on helping him choosing the proper host.

I think for my friend, a shared host will work just fine. Other than the possible security benefits and control, I cannot justify the cost of going VPS (and certainly not dedicated).

But it is a jungle out there trying to choose the best web host. Trust me, I had a lot of heartache choosing my current host.

How do you know which one to choose? Reputation is actually my number one factor, even over cost (well, to be fair, I know when the cost is outrageous). The problem comes when there are multiple companies with good reputations. Then how do you pick?

Here is my short list of possible hosts:

I actually have put one of those ahead of the other 5, and am planning to try them out. I won’t say yet who that is because I want to give them a whirl first.

But, I would appreciate any recommendations from you on who to choose or avoid, especially from my list above. Anecdotal evidence would be most welcomed. First hand accounts are the best aides to decision making.

Thoughts? Thanks in advance


Posted in .NET, Software, Technology, Windows | Tagged , , , , , , , , | 2 Comments