Friday, June 15, 2012

Setup Server on Fedora 16

Hello, I've used Fedora 14 for all time and for my project works and developments. I think it was a very stable version of Fedora family. Then I moved to Fedora 16. It's gnome 3 environment was great. I became fan of it. and I installed it in my personal laptop also. But when I was starting server httpd it was not starting properly. and was throwing failure for starting server.

So, in this post I'll include that, how I set up server on my laptop.

step 1 :  Remove httpd server inbuilt with fedora 16.  [if you've installed from your Fedora DVD. ]
                              yum remove httpd


this will remove httpd as well as php from your system.

step 2 : Again install httpd server.
                             yum install httpd
                              yum install php
this will install properly configured apache httpd server.


step 3 :  now start httpd server.
                             service httpd start




Now, it'll work properly and goto your browser.

Sunday, March 11, 2012

My Zip v1.0

This is Java based Compression and decompression utility. This can be used for .zip file formats.
This version 1.0 is very basic utility. Advance GUI interface and with optimizing code version 2.0 is under development.

Download :
Support your own development.

Install PHPMyAdmin in Fedora server

This is about to install phpmyadmin in your Fedora based servers. That can simplify your task to manage database. So, no need to use terminals and fire queries in database.

1.) yum install phpmyadmin
2.) now open terminal and login into mysql database

   now type :
     CREATE USER 'admin'@'localhost' IDENTIFIED BY 'admin';
     GRANT ALL PRIVILEGES ON *.* TO 'admin'@'localhost' WITH GRANT OPTION;

3.) now open browser -> type : http://localhost/phpmyadmin -> enter user name and password : admin

and enjoy it..!!!

Fedora Server

If you have installed Fedora server and want to configure server, i.e. http and mysql are already installed with your fedora.  then this tutorial is for you.

Step 1 :
 Open your terminal and login as a super user.



Step 2 :
 type:
a.)  service httpd start  [for starting http server].

b.) service mysqld start [for starting mysql server]


Step 3 :

  • to see your http server started or nor ?  : open browser -> type : http://locahost/ then it'll show you default page of server.
  • to see your mysql server :  open new terminal -> type :  mysql -u root

  • to start services from booting operating system:
    • chkconfig --levels 235 httpd on   [for http server]
    • chkconfig --levels 235 mysqld on [for mysql server]

Now, your http and database servers are ready to use.

to put your content in your server, put them all in /var/www/html directory.


Note : To install http and mysql server from ground I'll explain it in next tutorial.

Saturday, September 3, 2011

WinRar Archive for LinuxBox

I've recently searched Rar extract software for Linux, by Rar Labs.
You can directly download official WinRar  files:
It has only Command Line Interface.
     1.)     Rar 4.01 for Linux
     2.)     Rar 4.01 for Linux x64
     3.)     Rar 4.01 for FreeBSD

Steps to install :

1.)   Download any required tar.gz file & Extract it.
2.)   reach there using terminal.
3.)   type "make".

That's all. now type "rar" on terminal and it'll show you all possible hints.


Example :  To extract any rar file.

"rar e abc.rar "
this will extract all files from abc.rar in same directory.

Thursday, August 18, 2011

Mozilla lays out goal for multi-process FireFox

The non-profit organization, Mozilla, has laid out plans for the engineering behind FireFox, with the aim to make the browser spread even more of its workload between multiple processes.

Mozilla's Chirs Blizzard mentions in a blog post : "What this means is that every release of FireFox will get faster, more stable and have better multi-web page interactive performance even if it doesn't include support for multiple processes. But we know that in order to get across some hurdles, we're going to need to invest in the multi-process model. That's what this post is about. Multi-process is not a panacea for any of these topics, but it does give us a leg up on some of the more systemic problems."

Sunday, July 24, 2011

Power Blogging with WordPress Plug-ins


The power of WordPress lies in its many plus-ins, which can greatly enhance functionality. Understanding the plug-in infrastructure and equipping your WordPress site with them, gives you an edge by getting a better ranking with search engines, and hence, the deserved attention. Ranking apart, plug-ins improve ones blogging experience ten-fold. This article recommends plug-ins available only from the WordPress database, and that have been selected based on my personal usage.


This is not a how-to article on installing plug-ins for WordPress. If you are a newbie, you can refer to the link in the References section for information on how to install WordPress plug-ins. The plug-ins I recommend can be used directly with a compatible WordPress set-up, or a similar plug-in can be picked up from the WordPress plug-in site. Naturally, you are required to have administrator privileges on a functioning WordPress set-up. Before we start, here are a couple of things to remember:

  • Compatibility needs to be checked before installing plug-ins.
  • Since these open source plug-ins are provided without a warranty, any critical data needs to be backed up before you use them. You are solely responsible for any potential damage or loss to your personal data.

The List

Quick Cache
This plug-in caches the pages of your site. Since WordPress is database-driven, on every request there are a bunch of connections to the database. Repeatedly querying the database for the same old content is an awful waste of processing power. 'Quick cache' serves the request from a cached copy of unchanged pages, and improves response time. Configuration options let you tweak what to cache, and what not to. The minimum requirement is WordPress version 3.1.

Captcha
As per Wikipedia, Captcha stands for 'Completely Automated Public Turing test to tell Computers and Humans Apart'. This plug-in ensures that all comments on the site are entered by a human, by including math puzzle on the page that human brain must solve before entering the answer. This prevents spam bots from posting comments on the site. The minimum required is WordPress version 3.1.

Digg Digg
We definitely want to share information on our blogs through social media channels. This plug-in adds that capability for various social media site like Facebook, Twitter and Buzz. Users that click the enabled social media icon will be prompted to share the current blog on their social networking profiles. Various social media buttons can be enabled via the settings. The minimum required is WordPress version 2.3.

Hitcounter
To count how many people have visited your blog, use this plug-in. It stores and retrieves the count from a database and displays it on the blog. The WordPress version required is 2.3 or later.

Statpress Visitors
This is one of the most useful plug-ins for statistics, beyond those of Hitcounter. Some of the details it collects includes information on visitors, robots from Google or other search engines; keywords in search engines; browser types and various other traffic to your site. It is highly customisable, with various type of statistics. The minimum required is WordPress version 2.5.

Comment Rating
This plug-in lets users rate the comments for a particular blog, through the use of 'like' and 'dislike' buttons. The most-liked comments are displayed accordingly. The rating is also displayed beside each comment. The plug-in allows only one vote per IP address, and tries to prevent fraud. Various customisable options can be explored. The minimum required is WordPress version 2.3.

WordPress automatic online backup
The best way to avoid losing your blog is to back it up online. A free online account at wordpressbackup.com provides you the necessary space; this plug-in provides the necessary infrastructure to automate this process. Backups can be restored at any time. I recommend this plug-in for all those who value their data. The minimum required is WordPress version 2.1.



Coding a new plug-in
If you think the existing plug-ins do not meet your specific requirements, you can pretty much code your own. Check the link in References for instructions.

All-in-One SEO pack
The best way to attract visitors to your blog is to make it visible to a search engine. This plug-in does everything to optimize your blog in order to make it visible to search engine and attract visitors. The minimum requirement is WordPress version 2.8.

Saturday, July 9, 2011

Google Upgrades WebP image format

Google has launched an improved version of the WebP image format, which is designed to reduce the image size on the web and speed up browsing. WebP is now natively supported in Chrome and Opera. Google products including gmail and Picasa Web Albums, have also added support to WebP so you can share, send and receive WebP images. WebP support is also coming to AppEngine. In addition, Google Instant previews now store images in WebP to reduce its storage needs. Google says it is working on transparency (alpha channel) support and will ass it to the "... next stable version of the codec."

The WebP format was introduced by the company last year in 2010. "WebP's compression algorithms have been significantly improved while remaining completely compatible with the previous releases," Richard Rabbat product manager and Pascal Massimino, a progrmmer as Google started in a blog post. "On the decoding side, we have integrated a fancy upsampler. Fancy upsampling reduces the pixelation of strong edges. You can see this feature when you zoom in," the post added.

The improved version will also include technology that will allow the image-data to be internally decoded during its download. With this feature, users won't have to wait for the entire file to download before being able to watch it.

Wednesday, June 1, 2011

Set up two different IP addresses on a single network interface controller (NIC)

The example given below is based on a wired Ethernet device.

Step 1:  The settings for the first IP address should be as specified below:


               $cat /etc/sysconfig/network-scripts/ifcfg-eth0

               DEVICE=etho
               BOOTPROTO=static
               BROADCAST=192.168.1.255
               IPADDRS=192.168.1.155
               NETMASK=255.255.252.0
               NETWORK=192.168.1.0
               ONBOOT=yes

Step 2:  Add the set of parameters given below to the "ifcfg-eth0:1"  file to set up the second IP address.


               $cat /etc/sysconfig/network-scripts/ifcfg-eth0:1

               DEVICE=etho:1
               BOOTPROTO=static
               BROADCAST=192.168.99.255
               IPADDRS=192.168.1.182
               NETMASK=255.255.252.0
               NETWORK=192.168.1.0
               ONBOOT=yes

Now, ypu can ping and check both IP address.

Saturday, April 9, 2011

The Best Open Source Graphics Programs


GIMP


The GNU Image Manipulation Program (GIMP) is one of the oldest and most successful open source applications. It's widely used by photography enthusiasts and open source enthusiasts who are looking for an alternative to Photoshop. While it's not quite as full-featured as Photoshop (and enthusiasts can explain in great detail where GIMP has shortcomings for high-end photo editing), GIMP offers just about everything that a small business owner would need for image retouching, editing and so on.
GIMP has a rich set of filters and tools to manipulate photos for print or Web publishing. Whether you need to do some simple re-sizing, heavy retouching or creating images from scratch, GIMP is the tool of choice for working with bitmap images.
If you already know Photoshop, you might want to check out GIMP shop. GIMPshop is a modified version of GIMP that replicates the feel of Adobe Photoshop. It still works like GIMP, but it might be more comfortable for people who have experience with Photoshop, but don't want to pay the stiff license fees for it.
Here's another reason to love GIMP. It has a comprehensive user manual and a fair amount of help online. GIMP is available for Windows, Linux and Mac OS X -- though you'll need to be sure you have X11 installed as well. I believe X11.app is installed by default on Mac OS X 10.5 (Leopard) and 10.6 (Snow Leopard).