Product SiteDocumentation Site

Testcase Nginx 1.0.10

Nginx on Fedora 16

A 30 min guide on Fedora 16 with Nginx, Postgresql, Memcache and Drupal

Robert Keersse

Belgium - Antwerp
Abstract
Testcase Nginx 1.0.10, is intended to acquaint our students with new technology in the open source environment

1. Fedora 16
1.1. Install
1.2. After reboot
2. PostgreSQL 9.1
3. NginX and PHP
4. Memcached
5. Drupal
5.1. Install Drupal 7
5.2. Install memcache module
5.3. HTTP request fails
A. Revision History
Index

1. Fedora 16

Install Fedora 16

Use Network Install ISO (http://fedoraproject.org/en/get-fedora-all)

1.1. Install

Minimal linux text installation (use tab key)
Linux text
Enable network interface (fix IP)
enable network

1.2. After reboot

Enable Network at boot:
systemctl enable network.service

Note

network.service is not a native service, redirecting to /sbin/chkconfig. Executing /sbin/chkconfig network on
Start Network:
systemctl start network.service

Warning

do not disable firewall or SELinux
Enable Remote Connection to Nginx Web Server (Open Port 80 on Iptables Firewall)
Edit /etc/sysconfig/iptables file and add following line before COMMIT:
...
-A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
...
Restart Iptables Firewall:
systemctl restart iptables.service