Tuesday, December 29, 2009

mChoice Soltura as a Managed Service


mChoice Soltura, You may have heard about this before, it is a user friendly and highly customizable mobile based software application platform which can create your own mobile applications without getting anyone’s help. Your application can be a mobile SMS voting application or just a SMS quiz application or else… now it is easy to create with mChoice Soltura, without knowing any computer programming language.


mChoice Soltura for Application Owners

mChoice Soltura has four separate valuable service protocols such as SMPP, WAP, USSD and MM7. Your application can use one service protocol among them. It can be chosen while you create the application.


Let’s say when you create your voting application, initial forms will prompt you to select the service type for your application. After you create the application you can do further changes using the application control panel. The application control panel will be shown once you logged-in. There you can manage most of the settings of your application.
mChoice Soltura now allows you to change your privacy settings such as listing the subscribers of your application. You can keep black listed users and white listed users in two separate lists. When you need to change the list you can login to the application control panel and change the list as you want. After you create your application, it will appear in mChoice Soltura’s App Store which is called mChoice Vishma (Which is free and open source software). Your subscribers can rate your application and write review comments in app store. They can recommend and share details of your application in any community web site and you also can embed the application details in your blog or web site.
Once your application is rated as a good content providing application and once it could collect more subscribers, you can earn more money. All sending / receiving messages and share amount of each message can be seen in the reports of mChoice Soltura. You can take subscriber detail reports daily, weekly, monthly and yearly and can analyze the application usage details graphically.

mChoice Soltura for Telecommunication Operators
mChoice Soltura has allocated a considerable throttling size for sending and receiving messages of each type. According to the allocated size you can broadcast your information throughout your subscriber base. To broadcast messages mobile phone subscribers should already be registered with a particular broadcasting application.
Telecommunication operators can configure the charging mechanisms according to their own plans. Charging can be applied either to MT (Mobile Terminating messages) or to MO (Mobile Originating messages). All the messages which had gone through the mChoice Soltura can be seen using the Soltura reports.  

Monday, November 09, 2009

Skype 2.1 sounds not working with Sabayon Linux.

In my laptop this happen due to pulseaudio software. After uninstalling it, skype is start working. I followed steps which noted below to get skype work.

  • killed all pulsaudio processes. 
    • following command will kill all processes which related to pulseaudio.
    • ps ax | grep pulseaudio | cut -c 1-5 | xargs kill -9
  • removed pulseaudio start up files from /etc/X11/xinit/xinitrc.d/  directory.
  • or you can remove execution permission from pulseaudio, using following command.
    • chmod -x /usr/bin/pulseaudio
  • reinstall the skype (because sometimes without reinstalling skype not working)
  • goto skype options and check the driver.
  • now Skype should work.
This is happening with other linux OS as well,

I could see people facing to similar issue who used the Ubuntu.

Thursday, November 05, 2009

Xen Paravirtualization using NFS mounted iso images.

Here I'm going to explain how to install paravirtualization using iso images. Right now paravirtualization not supporting for direct installation of iso images but full virtualization is doing.

We have to mount iso image locally and need to give the iso mount path to virt-install script as NFS mount point.

Here I'll explain whole process in a step by step guide.

1. First you need to create disk image, inside your hard disk. XEN standard image location is "/var/lib/xen/images/", but you can create it in anywhere.
You can use following command to create it. It's 6GB file and block size is 1MB

dd if=/dev/zero of=/var/lib/xen/images/CentOS.img bs=1M count=1 seek=6144

2. Format the image file using ext3 partition type. You can use following command.

mkfs.ext3 /var/lib/xen/images/CentOS.img

3. Mount your iso image locally. (I already placed my iso image /usr/local/VM/CentOS-5.4-i386-bin-DVD.iso)

mkdir /mnt/CentOS
mount -o loop /usr/local/VM/CentOS-5.4-i386-bin-DVD.iso /mnt/CentOS/

4. Edit NFS server 'exports' file, put there "/mnt/CentOS *(ro)" this will mount the partition in read only mode.

vim /etc/exports

if you cat the file, you can see it like this.
[root@nipuna ~]# cat /etc/exports
/mnt/CentOS *(ro)

5. Start NFS server, and run exportfs command, it will show all exported mount points.

/etc/init.d/nfs start
exportfs

6. Use virt-install command as follows. --ram set the memory size and --vnc will enable the vncviwer. Give --location as nfs mount point with IP.
This Command will prompt the installation, just follow it.

virt-install -p --name=CentOS_01 --ram=1024 --file=/usr/local/VM/images/CentOS.img --vnc --location=nfs:192.168.0.61:/mnt/CentOS

7. Now you have installed the virtual machine. You can use 'xm list' to view the Virtual machines, virt-manager also a good tool to manage virtual servers.
You can use this command to connect with installed virtual machine.

virt-viewer CentOS_01

Wednesday, April 01, 2009

How to connect LDAP and SAMBA using smbldap-tools

Download related software
First you have to download latest samba server, BDB, Perl and Open LDAP server, in next step you can install them just compiling the source code (./configure, make, make install, enable package support according to your requrement, ex: ./configure --enable-ssl). else you can do 'yum' (for redhat/fedora/centos) or 'apt-get' (for Ubuntu/Debian).
ex:
yum install samba
apt-get install samba

Configure OpenLDAP
  • Copy samba.schema to /etc/ldap/schema
  • Add "include /etc/ldap/schema/samba.schema" into /etc/ldap/slapd.conf under "# Schema and objectClass definitions"
  • Change the suffix "dc=nodomain" , this depend on your domain name, let say if you use ldap.google.com, then suffix is "dc=ldap,dc=google,dc=com"
  • Add "index objectClass,rid,uid,uidNumber,gidNumber,memberUid eq" and "index cn,mail,surname,givenname eq,subinitial" to /etc/ldap/slapd.conf, this is using while searching the entities.
  • Here I have linked my slapd.conf for your reference.
  • Change ldap.conf by adding HOST and BASE, HOST should be your LDAP server IP address and BASE is your LDAP BASE DN suffix.
  • Here I have linked my ldap.conf file. This is using by ldap clients.
  • run slapd to start the Open LDAP server
Configure smbldap-tools
  • Get SID using "net getlocalsid" command and add the SID to /etc/opt/IDEALX/smbldap-tools/smbldap.conf (This path may depend on your installation)
  • Change Master and Slave LDAP server infomations in smbldap.conf
  • Change ldapSSL and ldapTLS to '0', else you have to set security certificates as well other wise smbldap tools will not connect with your ldap server.
  • Here I have attached my smbldap.conf.
  • Add your slave and master DNs and thier passwords to /etc/opt/IDEALX/smbldap-tools/smbldap_bind.conf (This path may depend on your installation)
  • Here I have attached my smbldap_bind.conf (This ise usful to bind with ldap server, bcz this authentication details of admin DN).
  • Finaly you can use smbldap-populate command which is comes with smbldap-tools to add initial records to your ldap server.
Configure Samba
  • Here I linked my smb.conf, it has all the ldap related parameters.
  • restart the samba server and type following command to bind samba with LDAP serevr. Secret is your ldap root DN password.
    smbpasswd -w secret
After installing all the stuff in correct way, you can use smbldap-useradd to add users.
I can recommend to use phpldapadmin and JXplorer tools for manage your ldap server.