GOOD DEAL HOSTING http://goodealhosting.cn/forums/index.php? <![CDATA[Red Hat / CentOS Install Nginx PHP5 FastCGI Webserver]]> http://goodealhosting.cn/forums/index.php?tid=10&tpg=1#p10
Board Image


How do I install and configure a ngnix FastCGI php5 HTTP / web server under Red Hat / RHEL / Fedora / CentOS Linux?

Nginx (engine x) is an HTTP(S) server, reverse proxy and IMAP/POP3 proxy server written by Igor Sysoev. It is known for its high performance, stability, rich feature set, simple configuration, and low resource consumption.

Step # 1: Enable EPEL repo
ngnix is not included in the base system. Turn on EPEL repo to install nginx stable release:
(32Bit) rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm
(64Bit) rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-3.noarch.rpm


Step # 2: Install ngnix
Type the following command at a shell prompt:

# yum install nginx

Sample output:Loaded plugins: downloadonly, fastestmirror, priorities, protectbase
Loading mirror speeds from cached hostfile
* epel: archive.linux.duke.edu
* base: ftp.linux.ncsu.edu
* updates: centos.mirror.nac.net
* addons: mirror.cs.vt.edu
* extras: centos.mirror.nac.net
0 packages excluded due to repository protections
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package nginx.x86_64 0:0.6.34-1.el5 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================================================================================
Package                            Arch                                Version                                    Repository                          Size
==============================================================================================================================================================
Installing:
nginx                              x86_64                              0.6.34-1.el5                              epel                              319 k

Transaction Summary
==============================================================================================================================================================
Install      1 Package(s)
Update      0 Package(s)
Remove      0 Package(s)       

Total size: 319 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing    : nginx                                            [1/1]

Installed: nginx.x86_64 0:0.6.34-1.el5
Complete!
nginx configuration file


  • Default config file: /etc/nginx/nginx.conf
  • Default SSL config file: /etc/nginx/conf.d/ssl.conf
  • Default virtual hosting config file: /etc/nginx/conf.d/virtual.conf
  • Default documentroot: /usr/share/nginx/html


Configure PHP As FastCGI
Type the following to install php5 with other modules:

# yum install php-pear-Net-Socket php-pear php-common php-gd php-devel php php-mbstring php-pear-Mail php-cli php-imap php-snmp php-pdo php-xml php-pear-Auth-SASL php-ldap php-pear-Net-SMTP php-mysql

Install spawn-fcgi simple program for spawning FastCGI processes
Type the following command:

# yum install spawn-fcgi

Next, download spawn-fcgi init.d shell script:

# wget [url=http://bash.cyberciti.biz/dl/419.sh.zip]http://bash.cyberciti.biz/dl/419.sh.zip[/url]
# unzip 419.sh.zip
# mv 419.sh /etc/init.d/php_cgi
# chmod +x /etc/init.d/php_cgi


Start php app server, enter:

# /etc/init.d/php_cgi start
# netstat -tulpn | grep :9000


Sample output:tcp        0      0 127.0.0.1:9000              0.0.0.0:*                  LISTEN      14294/php-cgi

By default php server listens on 127.0.0.1:9000 port. Finally, update /etc/nginx/nginx.conf as follows:

# nano /etc/nginx/nginx.conf

Modify / append as follows:
   
location ~ \.php$ {
            root          html;
            fastcgi_pass  127.0.0.1:9000;
            fastcgi_index  index.php;
            fastcgi_param  SCRIPT_FILENAME  /usr/share/nginx/html$fastcgi_script_name;
            include        fastcgi_params;
        }

Save and close the file. Restart nginx:

# service nginx restart

Create /usr/share/nginx/html/test.php as follows:
<?php
    phpinfo();
?>
]]>
Tue, 17 Aug 2010 09:56:57 GMT http://goodealhosting.cn/forums/index.php?tid=10&tpg=1#p10
<![CDATA[NginX Integration with cPanel]]> http://goodealhosting.cn/forums/index.php?tid=8&tpg=1#p8
NginX Integration permits to make a fast, simple, complete and automated integration with Apache and cPanel.

NginX Integration represents an efficient tool for web servers unloading due to "smart" distribution of requests to web server (static pages are processed by nginx, dynamic – by Apache).
Description of NginX Integration as well as its great impact on average server load.

It’s much useful especially for downloading sites.

Please open sales ticket for more info at http://goodealhosting.cn/order/
]]>
Wed, 14 Jul 2010 07:39:39 GMT http://goodealhosting.cn/forums/index.php?tid=8&tpg=1#p8
<![CDATA[Pioneers in cPanel based NginX Hosting.]]> http://goodealhosting.cn/forums/index.php?tid=7&tpg=1#p7 Many enterprises, such as WordPress and Comodo, already switched to NginX as it proves to be the most powerful web-server on the planet.
Google uses site load time as one of the Google ranking factors (Google Webmaster Blog - Using site speed in web search ranking).

Here is a real example of how Google Webmaster Tools speed test results changed after migration on NginX

Before:

Board Image

After:
Board Image

You can get more information about NginX at:
]]>
Fri, 09 Jul 2010 13:40:57 GMT http://goodealhosting.cn/forums/index.php?tid=7&tpg=1#p7
<![CDATA[test pic]]> http://goodealhosting.cn/forums/index.php?tid=6&tpg=1#p6 Thu, 01 Apr 2010 03:33:08 GMT http://goodealhosting.cn/forums/index.php?tid=6&tpg=1#p6 <![CDATA[how to Install SPF records on a cPanel server]]> http://goodealhosting.cn/forums/index.php?tid=5&tpg=1#p5
Why do I want to have SPF records for my domains?
Many mail servers are now testing for the presence of SPF records so if you don’t have one your email will probably not be delivered to that server. A good example is Hotmail that is testing for SPF records since 2004.
What syntax should I use?
Now that you have learnt what it is and why you should use it, it’s time to see what syntax you should use.
For SPF to work you have to add to each DNS zone a record similar to this:



domain.com. 14400 IN TXT “v=spf1 a mx -all”


How to install SPF records?
Now that we know what they are and how to write them it’s time to install them.
I’ll divide my presentation in two sections.
In the first one I will teach you how to add a SPF record automatically to newly created accounts and in the second section how to add them to domains that are already setup and don’t have them.
If this is a new cPanel server or you want all the domains that you add on the server from now on to have a SPF record you have to do the fallowing:


  1. Login to WHM using root
  2. Click on Edit Zone Templates and then on “standard”
  3. Add at the end of file:
  4. %domain%. IN TXT “v=spf1 a mx -all” You can replace “v=spf1 a mx -all”
    with the syntax that you decide it’s the best for you.
  1. Repeat step 2 and 3 for the “simple” zone template


That’s it ! From now on all the accounts that you will create on the server will have a SPF record.

Now what do we do with all the accounts that are already created and don’t have a SPF record?

Here is a simple bash script to do this for you.
Run as root the fallowing:


for i in `ls /var/cpanel/users` ;do /usr/local/cpanel/bin/spf_installer $i ;done


Wait for it to finish. (it might take a few minutes!).
That’s about it. Hope it helps a lot a people !
]]>
Fri, 12 Feb 2010 13:03:35 GMT http://goodealhosting.cn/forums/index.php?tid=5&tpg=1#p5
<![CDATA[[Valentine's Day VPS Special] - 40GB HD, 768MB RAM, FREE cPanel/WHM $25!]]> http://goodealhosting.cn/forums/index.php?tid=4&tpg=1#p4
==================================
Valentine's Day SPECIAL OFFER - FREE cPanel
==================================

Storage: 40GB
Bandwidth: 10MBit/s Unmetered
Memory: 768MB
1 IP
Free cPanel/WHM
Price: $25/Month (Very Limited Time Offer)

Order Now

========================
Available Addons
========================

» Webmin FREE
» Extra IP - $1.50/month
» Firewall Setup - $10.00 One Time
» VNC Remote Desktop Setup - $10.00 One Time

========================
Operating Systems
========================

» CentOS 5.4 (Default)
» Debian
» Fedora Core
» uBuntu
» Gentoo
» OpenSUSE

========================
Payment Method:
========================

All major credit cards.
Bank Transfer (within US)
AlertPay
Moneybookers
PayPal
2checkout

*************************
WHY CHOOSE US?
*************************

It is our mission to provide our customers with the best possible experience when utilizing our network to further their business activities, day by day it is our intention to continue to be a leader and an online provider that our customers can depend upon and trust.

Since our inception into the web hosting market in June 2006, we have established several principles for doing business with our valued customers. These principles and overall mission can best be described in three areas:

Commitment to customer satisfaction:
We will strive to keep our customers satisfied with the services we provide. Our commitment to continually add new products as hosting technologies evolve without compromising our quality of service is at the forefront of our mission. Our commitment will focus on quality of service, reliability, and support.

Focus on quality of product and service:
We provides scalable Internet hosting solutions for organizations large and small on a worldwide scale. Through our superior products and responsive support group. We hope to continuously grow our client base as a reward for our quality of service, reliability, and superior product line.

Reliability:
We hope to exceed all expectations of our customers and terms of quality of service, product line, and support services. Our commitment to reliability will be evident from the technology in which we invest; as the saying goes, a network is only as good as the foundation it is built on.

Our Mission:
As a company, and as individuals, we value honesty, openness, personal excellence. We are committed to each and every customer we provide our services to. Large or Small.

It is our mission to provide our customers with the best possible experience when utilizing our network to further their business activities, day by day it is our intention to continue to be a leader and an online provider that our customers can depend upon and trust.


For more deals, follow us on Twitter

Support:
MSN - 9xlinux@live.com
Order/Support/Live chat - http://www.goodealhosting.cn/order/]]>
Fri, 12 Feb 2010 12:51:19 GMT http://goodealhosting.cn/forums/index.php?tid=4&tpg=1#p4
<![CDATA[Server Upgrade GREEN - 75.75.226.19]]> http://goodealhosting.cn/forums/index.php?tid=3&tpg=1#p3
This Announcement is only for shared/reseller/master hosting customers.


Firstly, we would like to thank you for using our services!

In the last 3 months we have been working hard and testing new hardware to increase the performance and reliability of our servers and we are proud to announce that, we have upgraded our GREEN Server (Shared,Reseller.Master Reseller) from QurdCore Q9550 CPU (4 CPU) to Core i7 860 (8 CPUI).
The new server is much more powerful hence performance is much better.

Server Upgrade is done, Just follow the detail below,

cPanel: http://75.75.243.97/cpanel
WHM:  http://75.75.243.97/whm

Nameservers:
ns7.goodealhosting.cn
ns8.goodealhosting.cn

Custom name server IPs:
ns1 = 75.75.243.97
ns2 = 75.75.243.98
If you are using custom name server IPs, just update the IPs.

Our old server is still working if you have any problem in new server jUst open a support ticket. if you wanna you can also got backup from old server by using their IP 75.75.226.19.
If you have any questions, please do not reply to this message but open a ticket.

Thank you]]>
Tue, 26 Jan 2010 12:48:12 GMT http://goodealhosting.cn/forums/index.php?tid=3&tpg=1#p3
<![CDATA[VPS BLOWOUT! 1GB RAM, 80GB HDD, 2 IPs, 100Mbps Port, 8 Core CPU, 99.9% Uptime,]]> http://goodealhosting.cn/forums/index.php?tid=2&tpg=1#p2 Only 8 - 12 VPS per server Node based on the VPS Plan.

========================
VPS Special I
========================
» 100 GB Diskspace
» Unmetered Premium Bandwidth (Limited Time offer)
» 2 GB Guaranteed Ram
» 2 IP's
» Full Root Access
» FREE Setup!
$39.99 Monthly

Order Now

========================
VPS Special II
========================
» 80 GB Diskspace
» Unmetered Premium Bandwidth (Limited Time offer)
» 1 GB Guaranted Ram
» 2 IP's
» Full Root Access
» FREE Setup!
$19.99 Monthly

Order Now


========================
VPS Special Small
========================
» 40GB Diskspace
» 500GB Premium Bandwidth
» 256 MB Guaranted Ram (Limited Time 512MB)
» 1 IP's
» Full Root Access
» FREE Setup!
$10.00 Monthly

Order Now

Available Addons
========================
» Webmin FREE
» cPanel/WHM - $12.00 - FREE Setup!
» Firewall Setup - $15.00 One Time
» VNC Remote Desktop Setup - $15.00 One Time


VPS Operating Systems
========================
» CentOS 5.4 (Default)
» Debian
» Fedora Core
» uBuntu
» Gentoo
» OpenSUSE

Payment Method:
========================
All major credit cards.
Bank Transfer (within US)
AlertPay
Moneybookers
PayPal
2checkout

- - - Why choose us? - - -

It is our mission to provide our customers with the best possible experience when utilizing our network to further their business activities, day by day it is our intention to continue to be a leader and an online provider that our customers can depend upon and trust.

Since our inception into the web hosting market in June 2006, we have established several principles for doing business with our valued customers. These principles and overall mission can best be described in three areas:

Commitment to customer satisfaction
We will strive to keep our customers satisfied with the services we provide. Our commitment to continually add new products as hosting technologies evolve without compromising our quality of service is at the forefront of our mission. Our commitment will focus on quality of service, reliability, and support.

Focus on quality of product and service
We provides scalable Internet hosting solutions for organizations large and small on a worldwide scale. Through our superior products and responsive support group. We hope to continuously grow our client base as a reward for our quality of service, reliability, and superior product line.

Reliability
We hope to exceed all expectations of our customers and terms of quality of service, product line, and support services. Our commitment to reliability will be evident from the technology in which we invest; as the saying goes, a network is only as good as the foundation it is built on.

Our Mission
As a company, and as individuals, we value honesty, openness, personal excellence. We are committed to each and every customer we provide our services to. Large or Small.

It is our mission to provide our customers with the best possible experience when utilizing our network to further their business activities, day by day it is our intention to continue to be a leader and an online provider that our customers can depend upon and trust.


For more deals, follow us on Twitter!


Board Image

Support:
MSN - 9xlinux@live.com
Order/Support/Live chat - http://www.goodealhosting.cn/order/]]>
Wed, 20 Jan 2010 13:26:47 GMT http://goodealhosting.cn/forums/index.php?tid=2&tpg=1#p2