Wednesday, March 19, 2014

Nginx + Magneto

In 2007, I was running OScommerce and Cent OS, Apache, MySQL and PHP.  I knew that Magneto ran the LAMP configuration.  Reviews and statistics prove Nginx servers have lot less errors then LAMPs. The enterprise ecommerce uses Nginx web server, but needs to be downloaded off the Red Hat respondories. I should have run Magneto on Nginx in 2007 cos OScommerce won't. Nginx should be included on the installation DVD.

[root@centos63 ~]# vi /etc/yum.repos.d/nginx.repo
name=nginx repo
2. Perform yum install for nginx :
[root@centos63 ~]# yum install nginx -y
Examples :
[root@centos63 ~]# yum install nginx -y
Loaded plugins: fastestmirror, presto
Loading mirror speeds from cached hostfile
 * base:
 * extras:
 * updates:
nginx                                                                        | 1.3 kB     00:00
nginx/primary                                                                | 3.9 kB     00:00
nginx                                                                                         25/25
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package nginx.i386 0:1.2.2-1.el6.ngx will be installed
--> Finished Dependency Resolution

Dependencies Resolved

 Package              Arch                Version                        Repository            Size
 nginx                i386                1.2.2-1.el6.ngx                nginx                308 k

Transaction Summary
Install       1 Package(s)

Total download size: 308 k
Installed size: 623 k
Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 308 k
nginx-1.2.2-1.el6.ngx.i386.rpm                                               | 308 kB     00:02
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : nginx-1.2.2-1.el6.ngx.i386                                                       1/1

Thanks for using NGINX!

Check out our community web site:

If you have questions about commercial support for NGINX please visit:

  Verifying  : nginx-1.2.2-1.el6.ngx.i386                                                       1/1

  nginx.i386 0:1.2.2-1.el6.ngx

3. Start nginx :
[root@centos63 ~]# service nginx start
Starting nginx:                                            [  OK  ]
4. Make nginx auto start at boot :
[root@centos63 ~]# chkconfig nginx on

No comments:

Post a Comment