Your browser (Internet Explorer 6) is out of date. It has known security flaws and may not display all features of this and other websites. Learn how to update your browser.
X

Setup A Simple LAMP Server Running WordPress

Here I demonstrate how quickly and easily you can get a server up and running WordPress with Rackspace Cloud Servers.

  • http://twitter.com/axeva axeva

    I realize this post is over a year old, but it still ranks well, so I assume others will find it in a Google search as I did.

    There are a number of changes now that CentOS is at version 6.  Many you can find by doing a bit of searching, but here is a short collection that may help:

    - CentOS no longer include unzip.  Include it in your yum command (yum install unzip)
    - Same with the setup tool.  Include that in the yum call as well (yum install setuptool)
    - Once the setup tool is installed, you need to add the firewall settings.  (yum install system-config-firewall)
    - If you want to have SEO friendly WordPress URLs (i.e.  http://myblog.com/this-is-a-post), you’ll have to activate the mod_rewrite module in your httpd.conf settings:

       a.  vi /etc/httpd/conf/httpd.conf
       b.  Search for “AllowOveride None”  It will appear a few times in the file.  You want the one under the  section.
       c.  Change AllowOveride None to be AllowOveride All
       d.  Save.
       e.  service httpd restart

    There’s a lot more (mySqlAdmin, vsftpd, etc.), but this should get you going!

      – Bryan

  • Pingback: Installing PHP 5.3 on CentOS 5.6 | DK + JFG = BFFs4Evr

  • Pingback: CentOS – Installing Apache and PHP5 | DK + JFG = BFFs4Evr

  • Anonymous

    Really great – thanks so much. The only speedbumps were installing unzip and the UI module that opened port 80. Very appreciated.

  • http://twitter.com/meber Matthew Eber

    Seems like the link to the video is down, any chance for an update?

    • http://www.ryankearney.com/ Ryan Kearney

      Thanks for letting me know, it’s been fixed. This video is pretty old though, I’ve been meaning to make an updated one for a while now. Maybe I’ll do one this weekend.

  • http://www.hostilecontact.com/news.php game servers

    wow! It has been a long time since I have heard somebody talk about something with such passion. I didn’t quite understand everything but the passion flows throughout the end, it is amazing to see someone be so in depth about something. I can feel it.

  • http://arabsciences.com/ موقع علوم ا

    Hi
    Do I need a control panel after the install ?
    my wp site is hosted on bluehost, If I install wp on rackspace cloudsever, can I import my site to the new server?

  • http://www.google.com/profiles/mgarde Mike

    the 'setup' command is not in CentOS 5.5, can you update us for new firewall config?

    • http://www.ryankearney.com/ Ryan Kearney

      This tutorial is pretty old. I've had hopes of posting more, making use of clustering and whatnot, but I haven't gotten around to it yet. If setup doesn't work, I'm assuming the OS is using iptables, which is pretty standard.

      • Nick

        Ryan,

        Very helpful tutorial. Can you tell me which screencasting software you’re using. Thanks

        Nick

  • http://www.satya.me Satya Murthy

    THANK YOU SOOO SOOO much!!!

  • http://www.ryankearney.com/ Ryan Kearney

    I will make WordPress MU + Mail Server my next video.

  • http://www.ryankearney.com/ Ryan Kearney

    Sure thing, send them on over to ryan@ryankearney.com

  • Bryan Casteel

    Thank you so much Ryan – this was a huge help! I have setup many wordpress sites on shared hosting services but this is my first time starting with a blank server. Your tutorial was invaluable. Also, I took dubious notes into a spreadsheet so I can do this over and over again. I even added a few more items to my notes to fill in a few blanks. I would post the notes here but they won't read well. If you want to have them available for others as a PDF on this page I would be happy to send them to you.

  • http://nequetech.com/ Jacky Liang

    Also I found an error when accessing any links inside WordPress MU. It shows a 404 error when I click on the categories link.

  • http://nequetech.com/ Jacky Liang

    Thanks for the response.. I left you a voicemail via Google regarding though the same problem, your tutorials are pure genius. All I want is for WordPress to send emails, like lost passwords and registrations.. stuff like that. but thanks :)

  • http://www.ryankearney.com/ Ryan Kearney

    I've been trying to get more tutorials posted for other services like mail or ftp. I'm currently working on my final project for my Bachelors degree so that's taken up most of my time.

    I've been playing around with Rackspace, EC2, and GoGrid over the past few months, learning new things as I go. I'll make the mail server my next video.

  • http://nequetech.com/ Jacky Liang

    Hey Ryan, I was wondering why can't I sent Emails in WordPress. I followed your tutorial, and I use Rackspace Cloud with CentOS 5.3. Is it because I did not install the mail server yet, and can you also make a tutorial on how to fix the error? Thanks.

  • http://gitc-c.com Matt Gustke

    Thanks Ryan for your tutorial. I am moving away from pre-configured Linux servers to the RackSpace cloud. Do you have any information on how to configure a single cloud server to handle multiple wordpress installs?

    Your tutorial has really given me a great deal of information, so I am sure I can figure out how to host additional WP installs on my single server.

    Thanks again!

    • http://ryankearney.com/ Ryan Kearney

      I’ll probably do another tutorial with setting up multiple domain names one one server, among other things. School work is piling up so there’s no ETA on that.

  • Shardul

    You rock man, I wasted two days trying to do this by reading some crappy tutorials, It took me 5 minutes to do it using yours. Thx

  • Kevin S

    hey thanks for the tutorial i’ll have to give that a shot some time.

    will do be doing more?

    • http://ryankearney.com/ Ryan Kearney

      Yes, as stated before I’ll be doing mail servers, ftp, possibly game servers, and others as they come to me.

  • Pingback: Twitter Trackbacks for Setup A Simple LAMP Server Running Wordpress | Ryan Kearney [ryankearney.com] on Topsy.com

  • http://abraham.taherivand.net Abraham

    Ryan,

    nice video tutorial for all people who wants to set up easily a LAMP within Rackspace. Within this tutorial, you show that “classic website hosting” is also possible within the Cloud without a big monthly fee (you said it right: but be aware of the not included bandwith traffic).
    IMHO Rackspace is the only Cloud Computing provider at the moment who let’s you host small applications for a fair (and small) monthly fee (compared to classic hosting offers of classic webhosting providers). AWS EC2 is still to expensive for such a usecase. IMHO EC2 is not focused to compete with low-cost webhosting providers (so far).

    • http://ryankearney.com/ Ryan Kearney

      When I get some downtime, I’m planning on switching from my current shared webhost over to Rackspace servers. I wanted to do this before, but with Amazon it would have cost me $70+ a month just for running the server. Defiantly like the smaller servers for a lesser cost. Not sure how long Rackspace Cloud Servers have been around for, but if I had known I would have started using them from the start.

      I really like what I see so far.

  • http://abrahamvegh.com/ Abraham Vegh

    Setting up a domain name to point to your server is fairly simple; Rackspace documents it here: http://cloudservers.rackspacecloud.com/index.php/DNS_-_Creating_a_DNS_Record

  • Joe

    Thanks – great tutorial. I’ve been wanting my own Rackspace Cloud Servers account but thought it might be too complicated to get up and running. (I like Cloud Sites better, but I wouldn’t come close to using $100/mo. in services.) Your tutorial is so good, I’m tempted to give it a go.

    However, I use my own domain for my site and my email. Is it just as easy to set up email account(s)? Are email accounts added/managed within the Rackspace control panel, or do users have to set them up in the same way you installed WP (via command line)? Thanks again.

    • http://ryankearney.com/ Ryan Kearney

      You would have to install a mail server as well, something I was going to make a video off at a later time. I was planning on making videos for mail, ftp, svn, games?, and whatever else I can think of while I’m making these.

      However, for my domain, I use Google Apps which you can take a look at here, http://www.google.com/apps/intl/en/business/index.html

      It’s free for personal use, up to 50 mail boxes, and requires you to setup your MX and CNAME records on your domains DNS servers. After that all your email is handled by Google. Very easy to setup.

      • Bob Wong

        Would be awesome to see those tutorials. Yours was so easy to follow.

        Tried getting vsftp and an ftp user set up — banged into a wall. Likewise trying to set up qmailtoaster.

  • Pingback: Setup your own web server in minutes. | Ryan Kearney