Monday, October 5, 2009

How to install or check pear package?

You can install any pear package as
———–
pear install pear-package-name
———–

You can check all the PEAR packages that are available with
————
pear list-all
————


You can check installed PEAR packages on your server as
————
pear list

Thursday, July 16, 2009

What is NFS server?

NFS word belongs to "Network File System". NFS allows to access files on server from network users which stored on computers of different types.NFS allow to access files by using Virtual File System (VFS) that runs on top of TCP/IP. With NFS, computers connected to a network as a client while accessing remote files, and as servers while providing remote users access to local shared files. With NFS we can mount all or a portion of a file system which will allow client to access partition or specific file/directory which we defined in NFS mount point for specific user or network.
Also refer following blog to collect more information http://theperfectarts.com/

Monday, July 13, 2009

How to check run level on Linux Server?

To check run level run "who -r" on shell it will show you current run level set on your server.


root@Gunjan [~]# who -r
run-level 3 2009-01-07 21:19 last=S
Also refer following blog to collect more information http://theperfectarts.com/

What is process ID zero and process ID one?

Process ID zero

All idle task has process ID zero and never exits.



Process ID one

The init process having process ID 1, which is never be used but waiting around for its child processes to die. Usually started for /etc/inittab

Also refer following blog to collect more information http://theperfectarts.com/

Sunday, May 17, 2009

Safari browser downloading .html pages.

Some time we are facing very strange problem with the browser like when we are browsing the .html pages in Safari its asking for downloading pages on local machine.To resolve such errors you need to add following code in .htaccess file.


AddHandler application/x-httpd-php5 .htm .html .php5 .php4 .php .php3 .php2 .phtml
Affiliate Program ”Get Money from your Website”
AddType application/x-httpd-php5 .htm .html .php5 .php4 .php .php3 .php2 .phtml

It will resolve you issue with the Safari browser for .html pages

Also refer following blog to collect more information http://theperfectarts.com/
Affiliate Program ”Get Money from your Website”

Wednesday, February 4, 2009

MySql server error "Client does not support authentication protocol".

After upgrade server to 5.1 generally we are getting following error message.

Client does not support authentication protocol requested by server; consider upgrading MySQL client.

The above error message are receiving because latest version of MySql uses a new format for the password in that case to use older client to use older version Mysql with new version Mysql you have to set the passwords on the server to their old format.Refer following steps to set the password.

Login into shell as root user and access mysql with root user and password

[root@gunjan.com]#mysql -u root -p


Then, copy and paste the following command in shell, editing commands if necessary, to change the password of the user to the old format.

[root@gunjan.com]#UPDATE mysql.user
[root@gunjan.com]#SET password=OLD_PASSWORD('password')
[root@gunjan.com]#WHERE user='username'
[root@gunjan.com]#AND host='host';

After running above commands flush the tables.

[root@gunjan.com]#flush privileges;

Then exit the mysql client.

[root@gunjan.com]#\q

It will sort your problems :)

Also refer following blog to collect more information http://theperfectarts.com/