• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
How To Deploy A Cloud Based Webserver in 5 minutes - LAMP
 

How To Deploy A Cloud Based Webserver in 5 minutes - LAMP

on

  • 14,171 views

Simple tutorial showing how easy it is to deploy a cloud based webserver with apache, mysql and php in about 5 minutes. You can also watch the video for this slideshow at ...

Simple tutorial showing how easy it is to deploy a cloud based webserver with apache, mysql and php in about 5 minutes. You can also watch the video for this slideshow at http://www.youtube.com/watch?v=3eqUZ6fzpOM

Statistics

Views

Total Views
14,171
Views on SlideShare
14,130
Embed Views
41

Actions

Likes
6
Downloads
125
Comments
3

5 Embeds 41

http://www.slideshare.net 25
http://us-w1.rockmelt.com 7
http://www.linkedin.com 7
http://www.lmodules.com 1
http://translate.googleusercontent.com 1

Accessibility

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel

13 of 3 previous next Post a comment

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    How To Deploy A Cloud Based Webserver in 5 minutes - LAMP How To Deploy A Cloud Based Webserver in 5 minutes - LAMP Presentation Transcript

    • How to Deploy a Cloud Based Webserver in 5 minutes
    • Cloud based hosting allows your company to deploy servers On Demand For Pennies With No Up-Front Fees or Contracts
    • Steps to Get a Cloud Based Webserver Up and Running
      • Deploy the Cloud Server
      • Install Mysql, Apache2, PHP5
      • Edit the Server Firewall
    • Deploying the Cloud Server First You need to find a provider
      • Rackspace.com
      • GoGrid.com
      • Slicehost.com (Owned by Rackspace)
      • servepath.com
      There are many more to choose from. I use Rackspace.com. I previously used Slicehost.
    • Deploying the Cloud Server
      • Create an account at Rackspace.com
      • Once you have an account, you can deploy cloud servers.
      • To deploy a new server, you select the size based on memory and disk space. Then you choose the OS.
    • Deploying the Cloud Server
    • Deploying the Cloud Server
      • New servers take about a minute to build.
      • You will get an email with IP number and root password.
      • You can now log into the server using SSH and set up the webserver
    • Installing Mysql Below are the linux commands Yum -fedora package manager does most the work # yum install mysql mysql-server # /etc/init.d/mysql start # chkconfig --levels 235 mysqld on Install Mysql Packages Start the Mysql Server Set the Mysql Server to start automatically on boot # mysqladmin -u root password <NEWPASS> Set the Mysql root password
    • Installing Apache Below are the linux commands Yum -fedora package manager does most the work # yum install httpd # /etc/init.d/httpd start # chkconfig --levels 235 httpd on Install httpd Packages Start the httpd Server Set the httpd Server to start automatically on boot
    • Installing Apache Below are the linux commands Yum -fedora package manager does most the work # iptables -F Remove firewall You can now enter the IP number of the server into your browser and you should see the “Apache Test Page” If it just hangs, you will probably need to remove your firewall to allow port 80 to talk
    • Installing PHP Below are the linux commands Yum -fedora package manager does most the work # yum install php # /etc/init.d/httpd restart Install php Packages Restart the httpd Server # yum install php-mysql Install php-mysql Package There are many more php modules you will want to install. This is the bare minimum to get php and mysql to work together
    • Restart Firewall Below are the linux commands # iptables-restore /etc/sysconfig/iptables.old # iptables -A INPUT -p tcp --dport 80 -j ACCEPT # service iptables save Restore iptables from old config Add the httpd port 80 Save new config # /etc/init.d/iptables restart Restart firewall
    • That’s it – Has it been 5 minutes yet? Now that you have a full webserver running we can start building our websites. In the next few videos/slides:
      • How to deploy many websites automatically
      • How to template websites to use the same layout but different content
      • The new way to drive website traffic to your website
      • much much more…
    • Watch the sister video for these slides at: youtube.com/watch?v =3eqUZ6fzpOM
      • mattdunlap.org – My Blog
      • twitter.com/mattdunlap – Send me a tweet
      • youtube.com/unomateo – Please subscribe to my tech vlog
      • linkedin.com/mattdunlap - Let’s Connect
      Thanks for watching this slideshow. If you need any help or want to ask a questions, please connect with me at the following networks
    •