lunes, 30 de junio de 2008

FreeBSD: new wiki page to collect information about the ATA subsystem

Jeremy Chadwick (koitsu@) has been gathering together information on the wiki about commonly seen problems with FreeBSD:

http://wiki.freebsd.org/JeremyChadwick/Commonly_reported_issues
http://wiki.freebsd.org/JeremyChadwick/ATA_issues_and_troubleshooting

Based on a discussion on #freebsd-bugbusters, I've gone ahead and added a signup page for people that are interested in volunteering to do ATA regression testing (either for patches that are included in the various PRs, or for isolating regressions that have already happened):

http://wiki.freebsd.org/ATA/ATA_Volunteers

(more...)

Build your own ultimate boot disc

You turn on your trusty old Linux box, and things are going well as you pass through the boot loader, until the disk check reveals that your hard drive partition table is corrupt, and you are unable to access your machine. You need a good rescue disk -- and the best way to get one is to create your own.

OpenBSD-based BSDAnywhere Live CD Released (Beta 1)

An often heard complaint on misc@ is that we don't have a Live CD. Now our friends at BSDanywhere are trying to fill that void. The first beta release of the OpenBSD-based BSDanywhere - "enlightenment at your fingertips" is available.

Create Your Own Web Server With BIND And Apache On CentOS 5

This tutorial explains how you can run your own web server on CentOS 5 with the help of Apache and the BIND name server.

100 Vim commands every programmer should know

Since the 70’s, Vi is one of the programmer’s best friend. Nevermind you’re new to Vi or not, here’s a big list of 100 useful commands, organized by topic, which will make your coder life better.

9 PHP Debugging Techniques You Should Be Using

Save yourself time, effort and headaches by employing the debugging techniques discussed in this article. I cover topics from enabling notices to writing Unit Tests, as well as some ideas you may not have thought of...

Encrypted Traffic No Longer Safe From Throttling

"New research could allow ISPs to selectively block or slow down your encrypted traffic even if they cannot snoop on your transmitted data. Italian researchers have found a way to categorize the type of traffic that is hidden inside an encrypted SSH session to around 90% accuracy. They are achieving this by analyzing packet sizes and inter-packet intervals instead of looking at the content itself."

(more...)

Three reasons why GNU/Linux is better for Web servers than OS X

Apple's OS X, which has been an official certified Unix system for some time now, is often installed onto Internet-exposed or intranet-only Web servers for serving up dynamic content. I've worked with such configurations for a couple of years, and with GNU/Linux alternatives for even longer. There are at least three reasons why GNU/Linux systems do the job better.

domingo, 29 de junio de 2008

Understand the benefits of using a native XML database

Native XML databases have grown in popularity along with XML, because data is stored as native XML, rather than through tables in a traditional database. Using a native XML database means that a change to the schema requires minimal changes to your code and no change to the database. PHP and Java™ developers can benefit greatly from using native XML databases. In this tutorial, you will get quickly up to speed using a native XML database and see how to use it to benefit XML development.

This tutorial
shows you how to reduce development time with a native XML database. As an illustration, you will change an existing XML schema, and see these changes in the code also. Developers will learn the common necessities for working with a native XML database in both PHP and Java technologies.

Top 10 Linux financial tools

Many people don’t realize the wealth of applications available for Linux — and that includes financial software. Jack Wallen introduces 10 Linux apps that will meet your financial needs, whether you just want a digital replacement for your checkbook or you’re looking for a full-blown accounting package for your organization.

AjaxCRUD

AjaxCRUD is an open-source PHP API which allows you to connect to a mySQL database and easily perform the necessary CRUD operations (create, read, update, & delete rows).

(more...)

Prevent form post request from another domain in PHP

HTTP POST request from outside domain is one of the way of attacking your website. A intruder can use JavaScript in other domain or localhost to send the repetitive POST request to your web page containing PHP script. We must prevent this kind of cross domain form posting which might be harmful of our website.

(more...)

sábado, 28 de junio de 2008

Configure a professional firewall using pfSense

The guide will take you through the setup of the pfSense firewall with one WAN interface, one LAN interface and one Opt1-WiFi Interface.

This guide was written for Linksys, Netgear, and D-link users with no firewall or router experience. No experience is needed with FreeBSD or GNU/Linux to install and run pfSense. When you are finished, management of pfSense will be from a web interface just like any of the SOHO firewall/router appliances.

Setting up Virtual Hosting in Apache 2

Virtual hosting allows you to host multiple websites, accessed by unique domain names, from the same IP address (same server).

(more...)

Add multiple IP’s to a server

I will try to explain in here an easy way to add a lot of IP’s to a server without having to add every one of them manually but of course this works if IP’s are part of same classes.

How to sync data between 2 servers automatically

Have you ever wanted to know how to easily synchronize the data between multiple servers automatically?

In this article I’ll explain how to setup 2 Linux servers to automatically synchronize data between a specific directory on each server. To do this we will use rsync, ssh key authentication, and a cron job.