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
 

More Related Content

PDF
Step by-step installation of a secure linux web dns- and mail server
ODP
Forget MAMP and WAMP, Use Virtual Box to Have a Real Ubuntu Server
PDF
Deploying with Super Cow Powers (Hosting your own APT repository with reprepro)
PPT
Squid server
ODT
Squid file
PDF
Squid proxy-configuration-guide
PPT
Squid Server
PDF
Drupal camp South Florida 2011 - Introduction to the Aegir hosting platform
Step by-step installation of a secure linux web dns- and mail server
Forget MAMP and WAMP, Use Virtual Box to Have a Real Ubuntu Server
Deploying with Super Cow Powers (Hosting your own APT repository with reprepro)
Squid server
Squid file
Squid proxy-configuration-guide
Squid Server
Drupal camp South Florida 2011 - Introduction to the Aegir hosting platform

What's hot (20)

PPTX
Cloudera amazon-ec2
PDF
Connect Amazon EC2 Linux Instance
PDF
Installation CentOS 6.3
ODP
Squid Proxy Server
DOCX
Project on squid proxy in rhel 6
PDF
Tutorial CentOS 5 untuk Webhosting
DOCX
How to install and configure LEMP stack
PDF
PPTX
PPTX
Installing apache sqoop
PDF
How To Install OpenFire in CentOS 7
PPTX
Installing hive on ubuntu 16
PDF
Rdo mitaka
PPT
Squid Caching for Web Content Accerlation
PPTX
Installing hadoop on ubuntu 16
PDF
How To Install and Configure AWS CLI on RHEL 7
PDF
How to Install MariaDB Server or MySQL Server on CentOS 7
PPTX
Ansible Network Automation session1
DOCX
Installing lemp with ssl and varnish on Debian 9
Cloudera amazon-ec2
Connect Amazon EC2 Linux Instance
Installation CentOS 6.3
Squid Proxy Server
Project on squid proxy in rhel 6
Tutorial CentOS 5 untuk Webhosting
How to install and configure LEMP stack
Installing apache sqoop
How To Install OpenFire in CentOS 7
Installing hive on ubuntu 16
Rdo mitaka
Squid Caching for Web Content Accerlation
Installing hadoop on ubuntu 16
How To Install and Configure AWS CLI on RHEL 7
How to Install MariaDB Server or MySQL Server on CentOS 7
Ansible Network Automation session1
Installing lemp with ssl and varnish on Debian 9
Ad

Viewers also liked (20)

PPTX
Hosting a website on IIS Server
KEY
Server side scripting smack down - Node.js vs PHP
PPTX
Application server vs Web Server
PPT
CloudStack EC2 Configuration
DOCX
How to recover password on a cisco 2950, 2960 switch
PDF
Best Practices When Localizing And Translating Marketing Materials
PPTX
Top 8 chief security officer resume samples
PDF
AT&T Enhanced WebRTC API Overview
DOCX
Cisco Social Media Policy
PPT
"UP" characters
PPTX
2. Cellular Aberration
PPTX
Competitive spend analysis sov
PPTX
Command and Request
PDF
Collective Investment Scheme & SEBI
DOC
Capital one interview questions and answers
DOCX
Comparision of investment in mutual fund and equity
PPTX
MARKETING STRATEGY OF CAFÉ BEAN
PPSX
2. Insurance - Classification of Insurance
PPT
Flow chart a technique of process communication
PPTX
Architettura web
Hosting a website on IIS Server
Server side scripting smack down - Node.js vs PHP
Application server vs Web Server
CloudStack EC2 Configuration
How to recover password on a cisco 2950, 2960 switch
Best Practices When Localizing And Translating Marketing Materials
Top 8 chief security officer resume samples
AT&T Enhanced WebRTC API Overview
Cisco Social Media Policy
"UP" characters
2. Cellular Aberration
Competitive spend analysis sov
Command and Request
Collective Investment Scheme & SEBI
Capital one interview questions and answers
Comparision of investment in mutual fund and equity
MARKETING STRATEGY OF CAFÉ BEAN
2. Insurance - Classification of Insurance
Flow chart a technique of process communication
Architettura web
Ad

Similar to How To Deploy A Cloud Based Webserver in 5 minutes - LAMP (20)

PDF
How to install and configure lamp (linux,apache mysql mariadb,php) with jooml...
PDF
Installing Lamp Stack on Ubuntu Instance
PDF
Lamp Server With Drupal Installation
DOCX
Installation And Configuration Of DNS, Web And FTP Servers On Virtual Machine...
PPT
Its3 Drupal
PPT
Its3 Drupal
PDF
Configuration of Apache Web Server On CentOS 8
DOCX
Install cacti on open suse 13
PDF
Jones_Lamp_Tutorial
PDF
How install nagios in ubuntu 15.04, 16.04
PDF
How to Install Apache on Debian 12 Server
PDF
Install and Configure WordPress in AWS on RHEL 7 or CentOS 7
PDF
Scale Apache with Nginx
PDF
How to install Setup & Configure SSH Jump Server on a Linux box
PPTX
Linux for programmers
PPTX
Project-make a public website server using raspberry pi
PPTX
Dockerizing WordPress
PDF
Free radius billing server with practical vpn exmaple
PDF
Making Spinnaker Go @ Stitch Fix
PPTX
Java App On Digital Ocean: Deploying With Gitlab CI/CD
How to install and configure lamp (linux,apache mysql mariadb,php) with jooml...
Installing Lamp Stack on Ubuntu Instance
Lamp Server With Drupal Installation
Installation And Configuration Of DNS, Web And FTP Servers On Virtual Machine...
Its3 Drupal
Its3 Drupal
Configuration of Apache Web Server On CentOS 8
Install cacti on open suse 13
Jones_Lamp_Tutorial
How install nagios in ubuntu 15.04, 16.04
How to Install Apache on Debian 12 Server
Install and Configure WordPress in AWS on RHEL 7 or CentOS 7
Scale Apache with Nginx
How to install Setup & Configure SSH Jump Server on a Linux box
Linux for programmers
Project-make a public website server using raspberry pi
Dockerizing WordPress
Free radius billing server with practical vpn exmaple
Making Spinnaker Go @ Stitch Fix
Java App On Digital Ocean: Deploying With Gitlab CI/CD

Recently uploaded (20)

PPTX
GROUP COMMUNICATION FOR BUSINESS COMMUNICATION.pptx
PPT
THE_PARTS_OF_SPEECH.ppt ouuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu
PPT
Saraswati-Sindhi Civilization(Indus).PPT
PPT
sma13-4153-session-two-alcohol-recovery.ppt
PPTX
First_Aid_Class10_computer_Presentation.pptx
PDF
Exploring Psychology, 11th Edition by David G. Myers C. Nathan DeWall test ba...
PPTX
Leadership_Communication_Training_Pro.pptx
DOCX
DRIVING NC II SAMPLE ASSESSMENT QUESTIONS
PPTX
1 TIMOTHY 4 12 THE YOUNG GENERATION.pptx
PDF
POWER-OF-THE-MIND-student-personal_development.pdf
PDF
Advanced Strains of Tilapia and potential for Aquaculture in the world by B.pdf
PDF
What-are-the-different-forms-of-societies.pdf
PPTX
Social_Media_Presentation_Multicolour.pptx
PPTX
3. MPOS Steps in Mediation Process.pptx.pptx
PPTX
Leadership_Communication_Training_Pro.pptx
PPTX
Chapt-7-Power-of-the-Mind-and-the-Whole-Brain-Theory
PPTX
Stage Fright: Understanding Why We Fear the Spotlight and Learning Practical ...
PDF
From Procrastinate Hero to Procrastinate Zero - .pdf
PPTX
Anxiety Explained: Why It Happens, What Triggers It, and How We Can Learn to ...
PPTX
Boy Scouts Sustainability Merit Badge Sample
GROUP COMMUNICATION FOR BUSINESS COMMUNICATION.pptx
THE_PARTS_OF_SPEECH.ppt ouuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu
Saraswati-Sindhi Civilization(Indus).PPT
sma13-4153-session-two-alcohol-recovery.ppt
First_Aid_Class10_computer_Presentation.pptx
Exploring Psychology, 11th Edition by David G. Myers C. Nathan DeWall test ba...
Leadership_Communication_Training_Pro.pptx
DRIVING NC II SAMPLE ASSESSMENT QUESTIONS
1 TIMOTHY 4 12 THE YOUNG GENERATION.pptx
POWER-OF-THE-MIND-student-personal_development.pdf
Advanced Strains of Tilapia and potential for Aquaculture in the world by B.pdf
What-are-the-different-forms-of-societies.pdf
Social_Media_Presentation_Multicolour.pptx
3. MPOS Steps in Mediation Process.pptx.pptx
Leadership_Communication_Training_Pro.pptx
Chapt-7-Power-of-the-Mind-and-the-Whole-Brain-Theory
Stage Fright: Understanding Why We Fear the Spotlight and Learning Practical ...
From Procrastinate Hero to Procrastinate Zero - .pdf
Anxiety Explained: Why It Happens, What Triggers It, and How We Can Learn to ...
Boy Scouts Sustainability Merit Badge Sample

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

  • 1. How to Deploy a Cloud Based Webserver 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 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.
  • 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.
  • 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 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
  • 9. 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
  • 10. 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
  • 11. 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
  • 12. 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
  • 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 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
  • 15.