• 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 » Install Nginx PHP5-FPM on HP Cloud

By Abhishek Ghosh December 4, 2014 2:35 am Updated on December 4, 2014

Install Nginx PHP5-FPM on HP Cloud

Advertisement

Here is How To Install Nginx PHP5-FPM on HP Cloud. HP Cloud means HP Helion Public Cloud. It is basically very easy to work with HP Cloud. People fear HP Helion Public Cloud very much. The basic reason possibly is not understanding the basics of Security Group Rules. So, you need to read our previous guide on Router settings, rightly open the Ports (Port 80 and Port 443).

 

Install Nginx PHP5-FPM on HP Cloud : Needs

 

A sane operating system like OS X or any Linux or Unix Like OS. Microsoft Windows users can use PuTTY, but basically Windows is not very safe Operating System. It is practical to dual boot with minimum Ubuntu like easy to use Linux. We are writing while using OS X 10.10 with iTerm2+ZSH+Homebrew. PuTTY and iTerm2 has no difference on running commands on remote server. Neither there is difference in Ubuntu of Rackspace and HP Cloud.

Again, please make Security Group Rules right. If you are using Default, add new Rule to make it looking like :

Advertisement

---

Vim
1
Ingress IPv4 TCP 80 (HTTP) 0.0.0.0/0 (CIDR)

This is too wide open settings. Unless you know more, use this settings. Default is a bad name. Change the name to your-name-region like name.

 

Install Nginx PHP5-FPM on HP Cloud : Steps

 

This guide is just a basic nginx, PHP5-FPM setup. Please run this command first :

Vim
1
netstat -natu

If port 80 is not listening, nginx can not open it. Simple. On HP Cloud, OS software based firewall is not much of importance. You can control from one level up. Build an Instance with Ubuntu 14.04 LTS AMD64 Partner Image. 4 GB is great, you can use 2 GB for lesser traffic. Practically, more the number of cores, nginx works more better plus xcache works faster with more RAM.

SSH to the instance. You are not root user, initially using sudo once, do not disturb the installation process. Yet, we are providing the commands with sudo. First, fully update the instance :

Vim
1
2
3
4
sudo apt-get update -y && sudo apt-get upgrade
# check if there is anything suspicious, if not great
# proceed. These lines with # are not commands
sudo apt-get dist-upgrade -y

We are making a web server for running PHP MySQL based web software like WordPress. Run these :

Vim
1
2
3
sudo apt-get install python-software-properties
# if it ask something, accept it
apt-get install php5-common php5-mysqlnd php5-xmlrpc php5-curl php5-gd php5-cli php5-fpm php-pear php5-dev php5-imap php5-mcrypt

Run auto-remove to get rid off stuffs not needed :

Vim
1
sudo apt-get autoremove

Install Nginx :

Vim
1
2
3
4
sudo add-apt-repository ppa:nginx/stable
# accept anything if asked
sudo apt-get update -y
sudo apt-get install nginx

Reboot the instance once as we have upgraded lot of stuffs :

Vim
1
sudo reboot

Again SSH to the instance. Install these things :

Vim
1
apt-get install php5-mysql php5-curl php5-gd php5-intl php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-ming php5-ps php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl php5-xcache

Yeah, php5-curl and php5-gd are repeats. Running commands twice will not harm. php5-fpm has installed, still we will run :

Vim
1
sudo apt-get install php5-fpm php5-gd libssh2-php mysql-client

I want a separate database server, so only mysql-client for testing connection like work. If you want to install full MySQL, the steps will be like our guides on Rackspace. Perform a search on this website. Open your IP address and default Nginx webpage will show up. Run this command :

Vim
1
php -v

If you are facing lot of errors like :

Vim
1
2
3
Cannot adopt OID in UCD-SNMP-MIB: ucdShutdown ::= { ucdTraps 2 }
Cannot adopt OID in UCD-SNMP-MIB: ucdStart ::= { ucdTraps 1 }
Cannot adopt OID in LM-SENSORS-MIB: lmMiscSensorsTable ::= { lmSensors 5 }

then you need to install :

Install Nginx PHP5-FPM on HP Cloud

Vim
1
sudo apt-get install snmp

Run :

Vim
1
php -v

You’ll get a clean output like :

Vim
1
2
3
4
5
6
7
8
PHP 5.5.9-1ubuntu4.5 (cli) (built: Oct 29 2014 11:59:10)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
    with XCache v3.1.0, Copyright (c) 2005-2013, by mOo
    with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies
    with XCache Optimizer v3.1.0, Copyright (c) 2005-2013, by mOo
    with XCache Cacher v3.1.0, Copyright (c) 2005-2013, by mOo
    with XCache Coverager v3.1.0, Copyright (c) 2005-2013, by mOo

snmp should get installed but basically it does not get installed in expected way; it depends on vendor, so we install it later. I kept this for record :

Vim
1
http://www.webpagetest.org/result/141203_ZV_1532/1/details/

117 ms is the response time. Its very fast. On other good hosts, you’ll get response time like this with huge tweak :

Vim
1
http://www.webpagetest.org/result/141203_SM_156S/1/details/

Tagged With cannot adopt oid in ucd snmp mib

This Article Has Been Shared 767 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 Install Nginx PHP5-FPM on HP Cloud

  • Private cloud in the business : More Possibilities

    Private cloud in the business is offered by various bigger web hosting or Cloud Service Providers. But, when and why a Business will seek for Private Cloud?

  • Essential Online Testing Tools For Server and Domain

    Essential Online Testing Tools For Server and Domain are quite useful during propagation and also for checking pitfalls of server or to compare better setup.

  • Cloud Does Not Solve All The Problems : That's What You Need To Know

    Cloud does not solve all the problems, unfortunately this real truth is not quite clear to a portion.Defect in web design will always render the website slower.

  • Cloud Computing Users Are Now Becoming Professional

    Cloud Computing users are now professionally using the cloud services to incorporate the cloud into their IT strategies and inclining towards IaaS over SaaS.

  • Productive Social Software for Cloud Computing Platform

    For higher productivity, better collaboration and a transparent and seamless communication, enterprise grade Productive Social Software for cloud is of need.

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

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

  • Zebronics Pixaplay 16 : Entry Level Movie Projector Review February 2, 2023
  • What is Voice User Interface (VUI) January 31, 2023
  • Proxy Server: Design Pattern in Programming January 30, 2023
  • Cyberpunk Aesthetics: What’s in it Special January 27, 2023
  • How to Do Electrical Layout Plan for Adding Smart Switches January 26, 2023

About This Article

Cite this article as: Abhishek Ghosh, "Install Nginx PHP5-FPM on HP Cloud," in The Customize Windows, December 4, 2014, February 3, 2023, https://thecustomizewindows.com/2014/12/install-nginx-php5-fpm-hp-cloud/.

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