May 16 2008

Rails Deployment and Installation - Nginx + Mongrel Cluster + Subversion + Capistrano

Tag:tepezcuintle @ 21:31

Rails

Original Article by etienne

Ok so I’ve finished my new Rails application and it’s now time to deploy, which has turned out to be somewhat more challenging than I thought. I’m deploying to a dedicated host running SuSe 9.3.

Installation check list:

1. Ruby
2. RubyGems
3. Rails
4. Mongrel + Mongrel Cluster
5. Nginx
6. Subversion
7. Capistrano

Continua”Rails Deployment and Installation - Nginx + Mongrel Cluster + Subversion + Capistrano”


May 15 2008

Hide your Apache and PHP version from Hackers

Tag:tepezcuintle @ 20:39

You can't see me

Get your Apache server information using telnet

Code:
telnet domain.com 80

When connected type HEAD / HTTP/1.0, followed by [Enter] key.

Output:

Code:
Trying 206.xxx.xxx.xxx...
Connected to your-domain-name.com.
Escape character is '^]'.
HEAD / HTTP/1.0
Continua”Hide your Apache and PHP version from Hackers”


May 12 2008

Are you experiencing a Denial of Service Attack

Tag:tepezcuintle @ 21:39

All Your base

Depending on what type of traffic and also what type of attack it is you may need to reconfigure a number of system variables to prepare the system for extra load as it processes which connection is technically ” fake “.

Continua”Are you experiencing a Denial of Service Attack”


May 12 2008

Perishable Press Stupid htaccess tricks.

Tag:tepezcuintle @ 19:08

stupid tricks

We would like to thank Perishable Press for allowing Penguinlinux to repost this great article about htaccess.

The people at Perishable Press have a good tutorial the black magic behind htaccess configuration.

Please visit http://perishablepress.com/ for more tutorials, and great articles.

Link to original Article

Continua”Perishable Press Stupid htaccess tricks.”


May 12 2008

Troubleshooting Apache

Tag:tepezcuintle @ 18:27

Guy Troubleshooting Apache

Original Article URL http://www.gentoo.org/proj/en/apache/doc/troubleshooting.xml

If there is something wrong with your Apache, but you have no idea how to
figure out what’s wrong, your first clues will be in the log files.

There are a few log files around. All of them are located inside
/var/log/apache2/. Not all of the following log files will be
on your system: this depends on what modules you have enabled.
Continua”Troubleshooting Apache”


May 10 2008

A Cool Idea to Stop Bad Robots Attacking Your Webserver

Tag:tepezcuintle @ 3:34

Bad Robots

This week we had a major problem with one of our webserver. A roge IP address in Asia was sending hundreds of requests to our search page on our site. The UserAgent showed Mozilla but this could’ve been software that faked the user agent.

Basically these requests overwhelmed Apache and the server load got as hight as 150. I was able to parse the log files in apache and noticed the multiple connections coming from the IP address that I had already found using Netstat.

I firewalled the IP address and that solved the issue but I wanted to find a way to stop these attacks automatically.

I found this cool entry using google and here is a good idea that I am going to try to implement to stop these attacks.

It uses Ruby on Rails but I can use PHP and then use Bash to automatically firewall these IP addresses.

Continua”A Cool Idea to Stop Bad Robots Attacking Your Webserver”


May 10 2008

Ruby on Rails Guide, Great for SVN Setup

Tag:tepezcuintle @ 2:21

Ruby on Rails

This guide will help you setup a Rails development environment on Mac OS X. It includes a deployment recipe for Textdrive using lighttpd and general guide for deploying with Mongrel and Apache.

Quick Links:
Installing Lighttpd
Installing Mongrel
Deploying to TextDrive
Deploying with Mongrel and Apache

Get Set Up

Continua”Ruby on Rails Guide, Great for SVN Setup”


May 07 2008

MySQL Replication and Cluster Presentation

Tag:tepezcuintle @ 21:53

Great Instroduction to the basics of MySQL Replication and Clustering

Read this doc on Scribd: Mysql replication & cluster

May 07 2008

PostgreSQL - Replication and High Availability

Tag:tepezcuintle @ 21:46

Elephant

An important aspect of an enterprise database engineering is replication to ensure maximum availability.
PostgreSQL provides (as of this writing) four options for replication.
Each offers it’s own features, benefits and issues.
This is only an overview, hopefully leading the reader to the more relevant packages for their needs.

Continua”PostgreSQL - Replication and High Availability”


« Previous Page