Monday, February 23, 2009

How to "auto" attach guest domain in XEN

Each time you boot your xen machine, you need to run xm create "config file" to attach console to the domain as soon as it has started. If you only have 1 guest domain, you can easily do this.How if u have few domains? Well, to automate this function just do ONE step and each time you boot your machine, your guest domains will be attached automatically.

Move your Guest OS xen config in /etc/xen to /etc/xen/auto

You can restart your machine and you can view your xm list. Your Guest OS will be attached automatically.

Wednesday, February 18, 2009

Captcha - SecurityImages in Joomla

My head was spinning thinking of the way to implement securityimages in Joomla 1.5.9. Each time i try to install, i face a lot of difficulties especially with the permission of certain files. Finally i did it with my own way although i know it is not advicable.

Packages used :

* Joomla 1.5.9
* SecurityImages 5.1.1
* Patches of securityimages for joomla 1.5.9

Steps involved :

1) Change all the permission and ownership of the directory. Give full permission. For example : chmod -R 777 myjoomla/
(In order to enable plugin installation)

2) Install the plugin from your joomla administrator's interface.
(Extension > Install/Uninstall), browse the module and upload it.

3) Apply the patches (unzip the patches in your directory)

4) Reassign the full permission as in step 1
(In order to enable modules and plugins work smoothly)

5) Securityimages settings can be done in your administator's interface.

6) Choose your plugin type and proper version as in /administrator/components/com_securityimages/pluginsA/x.x

Finally, harden your joomla portal with proper permission and ownership.

a) Create a no-login user and assign the ownership to your portal directory.

b) Apply 755 to the ./ and ../ directory with root ownership

c) Apply 655 to the configuration.php,index.php,components,administrator, images and libraries.

d) Apply 555 to logs,media,plugin,templates and modules

e) Apply 400 to the rest of the files and directories.


Please advice me for the proper way of installing securityimages in Joomla...Thanks