install netbeans 6.7 on fedora 9

For installation of  netbeans package you need JDK 1.6 installed on your Fedora box. on Fedora 9 you are having already installed JDK 1.6 so you need to update the installation only.

Use following command for installing or updating JDK installation.

#su

#ROOT_PASSWORD

#yum update java-1.6.0-openjdk-devel

#yum install java-1.6.0-openjdk-devel
Than go to this URL (http://www.netbeans.org/downloads/index.html) and download the .sh file which you want install on your Fedora 9 box.

As per my view Netbeans supports for Rails and PHP and Netbeans is best IDE for Rails and PHP.

For Linux platforms, the installer file has the .sh extension. For these platforms, you need to make the installer files executable by using the following command:
#chmod +x netbeans-6.7.0-ml-ruby-linux.sh

This command i given for ruby IDE, you can choose your IDE or as per file name.

Than run the installer file

#netbeans-6.5.1-ml-ruby-linux.sh

That sit netbeans installtion will start to PC. After installation you can start netbeans from programming menu.

Compress the server response with Nginx

Maybe you aware with apache “mod_gzip and mod deflate”

Compress the server response with Nginx

Web page compression is not a new technology, but it has recently gained higher recognition in the minds of IT administrators and managers because of the rapid ROI it generates. Compression extensions exist for most of the major Web server platforms

For Apache Normally use following syntax:

mod_gzip_item_exclude file \.js$
mod_gzip_item_exclude mime ^text/css$

mod_gzip_item_include file \.html$
mod_gzip_item_include file \.shtml$
mod_gzip_item_include file \.php$
mod_gzip_item_include mime ^text/html$

mod_gzip_item_include file \.txt$
mod_gzip_item_include mime ^text/plain$

mod_gzip_item_include file \.css$
mod_gzip_item_include mime ^text/css$

We used gzip and compressing files technology with various browers. You need following browser support for this.

  • Accept-encoding: gzip
  • Accept-encoding: gzip, deflate

For Nginx i used following code in Nginx.conf file:

# Compression of response time
gzip on;
gzip_buffers 16 8k;
gzip_comp_level 9;
gzip_http_version 1.0;
gzip_min_length 0;
gzip_types text/plain text/html text/css image/x-icon image/png image/jpg image/jpeg text/js text/php;
gzip_vary on;