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 debian.server.com –save [root@melbourne ~]# vzctl set 157 –ipadd 192.168.0.157 –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…

How to recover lost root password

Things happen. You loose password, forget passwords etc.. You can recover your root password if you have access to the server directly. Its slightly different for different distributions. So we will look at teh Debiandistributionexample.
The steps for reseting root password on Debian machine through single user
mode is shown below.

1. Reboot the server and enter GRUB screen (The screen which shows the
boot options)
2. Once the GRUB screen is displayed, use the arrow keys to select the
boot entry showing kernel entry.
3. Press the key “e” to edit the entry
4. At the end of the kernel line add the word “1” or “single” (without the
double quotes)
5. After adding the entry press ESC key to go back to the grub screen
6. press the key “b” to boot this kernel in single user mode
7. You will be now logged in to the shell as root user
8. In the shell type: passwd root
9. It will prompt you for your new password and will ask you to confirm it.
10. Now root password has been reset, you can now reboot your server using
the command “reboot”

Now keep it so that you don’t make this ahabit. Good luck with your root password.

Exim Utilities ..

EXIM UTILITIES

Introduction

Exim is the default mail transport agent installed on some Linux systems; it runs on many versions of Unix and is suitable for any TCP/IP network with any combination of hosts and end-user mail software. It is open source, scalable, rich in features, andbest of all-easy to configure.

Exim utilities

  • exiwhat : List what Exim processes are doing.

The exiwhat script sends the signal to all Exim processes it can find, having first emptied the file. It then waits for one second to allow the Exim processes to react before displaying the results. In order to run exiwhat successfully you have to have sufficient privilege to send the signal to the Exim processes, so it is normally run as root.

Continue reading…