Featured Post

How to create multiple Flat Rate shipping in Oscommerce?

If  there is a requirement where you want to create multiple shipping categories in Oscommerce that a user can select like No Shipping :  $0.00 Flat Rate Manhattan: $25.00 Flat Rate Overnight Manhattan: $30.00 Then just follow the steps given below: Create copy of “flat.php” Ex: flat2.php,flat3.php in catalog\includes\modules\shipping and catalog\includes\languages\english\modules\shipping. Open catalog\includes\languages\english\modules\shipping\flat2.php and replace lines with the following. [...]

Read more →

Android-Steps to install SDK in Ubuntu

Posted by admin | Posted in Open source technology | Posted on 04-08-2009

Tags: , ,

0

You will require a suitable development environment such as Eclipse, JDK6 and Apache Ant.

In order to download and install ADT you will first need to configure an Eclipse remote update, this can achieved via the following steps:

1. Start Eclipse, then select Help > Software Updates > Find and Install….
2. In the dialog that appears, select Search for new features to install and press Next.
3. Press New Remote Site.
4. In the resulting dialog box, enter a name for the remote site (e.g. Android Plugin) and enter this as its URL: https://dl-ssl.google.com/android/eclipse/.
5. Press OK.
6. You should now see the new site added to the search list (and checked).
7. Press Finish.
8. In the subsequent Search Results dialog box, select the checkbox for Android Plugin > Eclipse Integration > Android Development Tools and press Next.
9. Read the license agreement and then select Accept terms of the license agreement, if appropriate.
10. Press Next.
11. Press Finish.
12. The ADT plugin is not signed; you can accept the installation anyway by pressing Install All.
13. Restart Eclipse.
14. After restart, update your Eclipse preferences to point to the SDK root directory ($SDK_ROOT):
Select Window > Preferences… to open the Preferences panel. (Mac OS X: Eclipse > Preferences)
Select Android from the left panel.
For the SDK Location in the main panel, press Browse… and find the SDK root directory.
15. Press Apply, then OK

Updating the ADT Plugin

To update the ADT plugin to the latest version, follow these steps:

1. Select Help > Software Updates > Find and Install….
2. Select Search for updates of the currently installed features and press Finish.
3. If any update for ADT is available, select and install.

Alternatively:

1. Select Help > Software Updates > Manage Configuration.
2. Navigate down the tree and select Android Development Tools
3. Select Scan for Updates under Available Tasks.

LDAP-Drual Integration

Posted by admin | Posted in Open source technology | Posted on 01-08-2009

Tags: , , , ,

0

LDAP Integration Module (ldap_integration-5.x)  is a set of three modules:

  • ldapauth
    It implements basic LDAP integration and sets up the environment for the other optional modules.
  • ldapgroups
    Extends the basic functionality and integrates LDAP Groups into Drupal Roles
  • ldapdata
    Extends the basic functionality and allows for the management of LDAP Attributes from within Drupal.

Enable ldap_inetgration in Administer >> Site building >> Modules.

Configure LDAP Server at Administer >> Site Configuration >> LDAP Integration

Enter LDAP server,port, base dn,user and mail attribute, save the configuration). So next time when user loggs in drupal will check users in LDAP.

Configure LDAP Data at Administer >> Site Configuration >> LDAP Data

Map LDAP to user profile attribute.

Configure LDAP Data at Administer >> Site Configuration >> LDAP Groups

Select “Groups exist as LDAP entries where a multivalued attribute contains the members’ Cns” and inside “Nodes containing groups (one per line):” type the name of the node where drupal groups are stored. In “Attribute holding group members: “ type “memberUid”. Save Configuration.

Configure LDAP Data at Administer >> Site Configuration >> LDAP Registration

Type server name and base-dn of the users in LDAP.

Recomplie PHP with LDAP support

Posted by admin | Posted in Linux solutions | Posted on 01-08-2009

0

Step1
apt-get update

Step2
sudo apt-get install php5-ldap

Step3
sudo apache2ctl restart

Step4
sudo a2enmod authnz_ldap

One step installation of apache,php,mysql,phpmyadmin

Posted by admin | Posted in Linux solutions | Posted on 01-08-2009

Tags: , , ,

0

Step1.

sudo apt-get install apache2 php5 mysql-client-5.0 mysql-server-5.0 phpmyadmin libapache2-mod-php5 libapache2-mod-auth-mysql php5-mysql

Step2

sudo /etc/init.d/apache2 start

* Works in Ubuntu