MySQL Socket Error in phpMyAdmin

While accessing phpMyAdmin, you may get the following error.

#2002 – The server is not responding (or the local MySQL server’s socket is not correctly configured)

This is due to the missing socket file in the location /tmp.

The socket path which is specified in the phpMyAdmin configuration file is /tmp/mysql.sock.

Continue reading…

Logical Volume Manager (LVM)

LVM is a method of allocating hard drive space into logical volumes that can be easily resized instead of partitions.

With LVM, a hard drive or set of hard drives is allocated to one or more physical volumes. A physical volume cannot span over more than one drive.

The physical volumes are combined into logical volume groups, with the exception of the /boot/ partition. The /boot/ partition cannot be on a logical volume group because the boot loader cannot read it. If the root (/) partition is on a logical volume, create a separate /boot/ partition which is not a part of a volume group.

Continue reading…

Installation of PHPBB with Debian OS on VPS node

To set up a VPS from the default minimal Debian Etch template (you can find it in  /vz/template/cache/), run:

[root@melbourne ~]# vzctl create 157 –ostemplate debian-5.0-i386-minimal –config vps.basic

The 157 must be a uniqe ID – each virtual machine must have its own unique ID.

To start vm  at boot, run

[root@melbourne ~]# vzctl set 157 –onboot yes –save

To set a hostname and IP address for the vm, run:

[root@melbourne ~]# vzctl set 157 –hostname –save [root@melbourne ~]# vzctl set 157 –ipadd –save


Continue reading…

Why do we get a “SSL Error – Certificate Not Trusted” ?

Have you ever wondered while you  access a website through a secure connection , you happen to get a  warning  message that the certificate is not issued by a trusted authority.

In most cases , the  exact warning message  that you will get depends on your browser as follows:

I E   The security certificate presented by this website was not issued by a trusted certificate authority.!

Firefox The certificate is not trusted because the issuer certificate is unknown. (Error code: sec_error_unknown_issuer)

Continue reading…