1 / 15

How to Deploy a Cloud Based Webserver in 5 minutes

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

minnie
Download Presentation

How to Deploy a Cloud Based Webserver in 5 minutes

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. How to Deploy a Cloud BasedWebserver in 5 minutes

  2. Cloud based hosting allows your company to deploy servers On Demand For Pennies With No Up-Front Fees or Contracts

  3. Steps to Get a Cloud Based Webserver Up and Running • Deploy the Cloud Server • Install Mysql, Apache2, PHP5 • Edit the Server Firewall

  4. Deploying the Cloud ServerFirst 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.

  5. 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.

  6. Deploying the Cloud Server

  7. 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

  8. Installing MysqlBelow are the linux commandsYum -fedora package manager does most the work Install Mysql Packages # yum install mysql mysql-server Start the Mysql Server # /etc/init.d/mysql start Set the Mysql Server to start automatically on boot # chkconfig --levels 235 mysqld on Set the Mysql root password # mysqladmin -u root password <NEWPASS>

  9. Installing ApacheBelow are the linux commandsYum -fedora package manager does most the work Install httpd Packages # yum install httpd Start the httpd Server # /etc/init.d/httpd start Set the httpd Server to start automatically on boot # chkconfig --levels 235 httpd on

  10. Installing ApacheBelow are the linux commandsYum -fedora package manager does most the work 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 Remove firewall # iptables -F

  11. Installing PHPBelow are the linux commandsYum -fedora package manager does most the work Install php Packages # yum install php There are many more php modules you will want to install. This is the bare minimum to get php and mysql to work together Install php-mysql Package # yum install php-mysql Restart the httpd Server # /etc/init.d/httpd restart

  12. Restart FirewallBelow are the linux commands Restore iptables from old config # iptables-restore /etc/sysconfig/iptables.old Add the httpd port 80 # iptables -A INPUT -p tcp --dport 80 -j ACCEPT Save new config # service iptables save Restart firewall # /etc/init.d/iptables restart

  13. 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…

  14. Watch the sister video for these slides at:youtube.com/watch?v=3eqUZ6fzpOM Thanks for watching this slideshow. If you need any help or want to ask a questions, please connect with me at the following networks • 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

More Related