• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » Installing Nginx With PHP5, MySQL on Rackspace Cloud Server

By Abhishek Ghosh August 26, 2012 12:03 pm Updated on August 26, 2012

Installing Nginx With PHP5, MySQL on Rackspace Cloud Server

Advertisement

Installing Nginx With PHP5, MySQL on Rackspace Cloud Server using Debian Sqeeeze needs only few steps. This guide is for Next Generation Cloud Servers. If you need for WordPress, you can follow this guide keeping in mind it is for old generation Cloud, so the screenshots are different from this one. And you can read about nginx HTTP Server Basics if you are relatively new to follow this guide for installing Nginx With PHP5, MySQL.

 

Factors those are considered as taken in this guide on Installing Nginx With PHP5, MySQL on Rackspace Cloud Server

 

On this guide for installing Nginx With PHP5, MySQL on Rackspace Cloud Server, we are taking that you are not a beginner and know about Command Line Interface and basics of how to use PuTTY on Windows. This is actually for the developers who want use and configure the server for other usages.

Its obvious that, you can install WordPress or Magento like CMS with few extra steps.

Advertisement

---

 

Steps for Installing Nginx With PHP5, MySQL on Rackspace Cloud Server

 

Spin up a server from your new generation Rackspace Cloud Control Panel, we will use Debian Squeeze  :

 

Installing Nginx With PHP5, MySQL on Rackspace Cloud Server

Copy Paste the password on any text editor like notepad. Please use PuTTY for Windows OS and terminal for the others. Login as root and use that password and in case of PuTTY it will look like this :

 

Installing Nginx With PHP5, MySQL

Perform an update :

 

Vim
1
apt-get update

 

Within few minutes it will be updated. I will suggest to do an restart from Control Panel. It is not mandatory.

 

Install the MySQL parts :

 

Vim
1
apt-get install mysql-server mysql-client

 

You will be prompted for an password. Use your own password.

 

installing MySQL debian

 

 

Next install nginx :

 

Vim
1
apt-get install nginx

 

After nginx is installed, start it :

 

Vim
1
/etc/init.d/nginx start

 

Create www folder and assign as public folder :

 

Vim
1
mkdir /var/www

 

Vim
1
chown www-data:www-data /var/www

 

Install PHP packages :

 

apt-get install php5-cgi php5-mysql php5-curl php5-gd php5-idn php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-ming php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl

 

Open php.ini :

 

Vim
1
vi /etc/php5/cgi/php.ini

 

And, make  cgi.fix_pathinfo=1 as active :

 

make cgi.fix_pathinfo=1 as active

 

You can now login via SFTP software like WinSCP and go to /var/www/ and create an file named index.html to test with your IP :

 

light httpd

You can open that index.ligttpd.html file and paste its content in the index.html file. Open your IP on your Browser, ot should show what you have done with index.html file. In our case it is the content of  index.ligttpd.html file :

 

index-ligttpd-html

 

We have not done few configurations on this guide for Installing Nginx With PHP5, MySQL on Rackspace Cloud Server as the guide is nonspecific and is dependent on your usage. PHP FastCGI daemon is not listening on port 9000 – keep it in mind.

 

/usr/bin/spawn-fcgi -a 127.0.0.1 -p 9000 -u www-data -g www-data -f /usr/bin/php5-cgi -P /var/run/fastcgi-php.pid

 

This will make it listening. But you need to add it to rc.local to make it automated after reboot process.

 

Signature

This Article Has Been Shared 555 Times!

Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Installing Nginx With PHP5, MySQL on Rackspace Cloud Server

  • Installing Drupal on Rackspace Cloud Sites Guide

    Installing Drupal on Rackspace Cloud Sites is a bit tougher than installing WordPress or even installing Magento for the beginners.

  • Access Rackspace Cloud FTP From Windows PC Without Any Software

    Access Rackspace Cloud FTP From Windows PC Without Any Software and even you can set the highest level of access or use Cloud Server as backup space.

  • Best Free FTP Client for Cloud : Review of WinSCP

    Best Free FTP Client for Cloud means probably you need a SFTP client software for Windows. From our experience,WinSCP is the best available GPL software for it.

  • Filezilla versus WinSCP as SFTP Software for Rackspace Cloud Sites

    Filezilla versus WinSCP as SFTP Software for Rackspace Cloud Sites demonstrates which software is more easy to use for which purpose. Both are robust for SFTP.

  • How to Install WordPress on Rackspace Cloud Server Guide

    How to Install WordPress on Rackspace Cloud Server by the novice, who never configured a Server can easily follow this guide to install WordPress.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Comments

  1. AvatarAdam Bartlett says

    August 28, 2012 at 9:15 am

    Basics of how to use PuTTY on Windows ?

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • How to Do Electrical Layout Plan for Adding Smart Switches January 26, 2023
  • What is a Data Mesh? January 25, 2023
  • What is Vehicular Ad-Hoc Network? January 24, 2023
  • Difference Between Panel Light, COB Light, Track Light January 21, 2023
  • What is COB LED? How LED Chip On Board Works January 20, 2023

About This Article

Cite this article as: Abhishek Ghosh, "Installing Nginx With PHP5, MySQL on Rackspace Cloud Server," in The Customize Windows, August 26, 2012, January 27, 2023, https://thecustomizewindows.com/2012/08/installing-nginx-with-php5-mysql-on-rackspace-cloud-server/.

Source:The Customize Windows, JiMA.in

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT