freevps installation on CentOS 4.1

Feb
04

1. download FreeVPS Kernel, and FreeVPS Tools for RH_EL4 from the following location:

http://www.freevps.com/download/rpms/RH_EL4/

Download both single and SMP versions:

kernel-freevps-1.5-1.i686.rpm
kernel-freevps-smp-1.5-1.i686.rpm
freevps-tools-1.4-2.i386.rpm

*Note: A sigle processor version is necessary to satisfy dependency requirement for freevps-tools.

2. Install the new kernel packages

Posted By admin read more

New mail notification in Outlook (Express)

Feb
04

When Outlook or Outlook Express announce new mail audibly, they look for and play the New Mail Notification Windows system sound. To change the way new mail is announced, you have to customize this system sound.

To change the new mail sound in Outlook and Outlook Express:

Posted By admin read more

Struts Validator does not work

Feb
04

I spent a whole day trying to figure out a Struts validator problem. It's an web application containing three modules, but only one module does not perform Struts validation. The XML config files are perfectly fine, but no clue was given by the logger or compiler. The log file spits validateInteger error, but no helpful hints what so ever was given even after turning on the root level logging to DEBUG level.

Posted By admin read more

SELinux Issue: Apache 403 permission denied on virtual hosts

Feb
04

Platform setup:
Fedora Core 3
Apache 2.0.52-3
SELinux enabled.

Apache configuration is setup correctly with right permissions, we the server throws a 403 error.

The log entry in the /etc/httpd/logs/error_log:
"[error] [client xx.xx.xxx.xxx] (13)Permission denied: access to / denied"

The issue is well known but the fixes only apply to Fedora 3, such as :
"Use : chcon -R -t httpd_sys_content_t "

or

"deactive SELinux at the command line or GUI".

or

Posted By admin read more

What is Wi-Fi and how secure is it?

Feb
04

1. Overview

Wi-Fi, (or Wireless Fidelity) is a wireless LAN technology which allows Wi-Fi equipped computers to connect to the Internet from anywhere within the range of a base station. Wi-Fi encompasses a family of specifications within the IEEE 802.11 standard. These include 802.11b (the most popular, at 11Mbps, with typical range of up to 300 feet), 802.11a (54Mbps, but at a shorter range) and 802.11g (combining the speed of "a" while keeping the range of "b").

Posted By admin read more

Perl string quotation operators (q, qq, qr and qx)

Feb
04

In scripting programming languages such as perl, php and python use string quotation extensively. To include single or double quote inside the string quotation, you'll have escape the character with a backslash. Perl string quotation operators (q, qq and qx) let you avoid putting too many backslashes into quoted strings.

Posted By admin read more

How to install mod_php5 on SuSE 11.1?

Feb
04

Installing apache2, php5 and mod_php5 shouldn't be too hard, but it took me nearly 2 hours trying to get this installed on SuSE v11.1. The later SuSE 11.4 works just fine by installing the required modules with zypper, but the SuSE 11.1 wouldn't work right out of the box.

Here are the steps required to get the mod_php5 to work on SuSE 11.1. The v11.1 installs php5-5.2.6 where v11.4 installs php5-5.3.5. We had to downgrade the php due to package dependency issues.

1. Add official OpenSuSE repository

Posted By admin read more

SuSE package manager, zypper

Feb
04

I have recently acquainted with SuSE linux, and I looked for package manager that I can use to manage software packages. I've started out with yast, but it wasn't very good at providing resolutions to dependency problems. Someone recommended zypper over yast and yast2, so here I am sharing my experience with zypper.

What is Zypper?

Posted By admin read more

Previsor PHP assessment test

Feb
04

With more and more companies using pre-employment screening test such as the one provided by Previsor, LAMP developers and PHP developers should hone their technical skills to prepare for their next career. Having taken one, Previsor assessment test resembles College Board Tests such as the ACT and SAT, which tests students' general understanding of the subject (in this case "PHP"). PHP, especially version 5, is a great scripting language to develop web applications very rapidly with a minimum effort.

Posted By admin read more

Javascript Overview

Feb
04

What is Javascript?

JavaScript is an object-oriented scripting language designed to be embedded in HTML pages for added interactivity and offer intelligence to web pages. JavaScript provides a set of objects (Array, Date, and Math), language elements (Operators, Conditional Controls, and Statements). Javascript is primarily used in client-side to control the browser elements and HTML Document Object Model (DOM) to offer interactivity to users.

Posted By admin read more

Pages

Subscribe to Web Traffic Exchange RSS