Myfindings
Friday, January 06, 2012
Thursday, September 22, 2011
using graphviz
using graphviz
It is a good tool for creating the flow graphic images.
installed from debian repository.
c the following url for the good start
http://www.linuxquestions.org/questions/debian-26/how-to-use-graphviz-144470/
It is a good tool for creating the flow graphic images.
installed from debian repository.
c the following url for the good start
http://www.linuxquestions.org/questions/debian-26/how-to-use-graphviz-144470/
Thursday, May 12, 2011
moodle installation
1) Download latest moodle stable installation file
http://download.moodle.org/download.php/stable20/moodle-latest-20.tgz
2) Extract the compressed file into the /var/www
#tar -xvzf moodle-latest-20.tgz
3) create a folder under /usr/share/
http://download.moodle.org/download.php/stable20/moodle-latest-20.tgz
2) Extract the compressed file into the /var/www
#tar -xvzf moodle-latest-20.tgz
3) create a folder under /usr/share/
mkdir moodledata
4) Change the permissions as
chown -R www-data:www-data moodle chown -R www-data:www-data moodledata
5) make the configurations in php and mysql to adapt for utf8
To have utf8 internationalization in php5
apt-get install php5-intl Reading package lists... Done Building dependency tree
Add the following line in vi /etc/mysql/my.cnf
[client] port = 3306 socket = /var/run/mysqld/mysqld.sock default-character-set=utf8
[mysqld]
default-character-set = utf8 character-set-server=utf8 default-collation=utf8_unicode_ci
ALTER DATABASE moodle charset=utf8;
Query OK, 1 row affected (0.00 sec)6) Provide the administrative username and password. Then select your theme and create users.
Wednesday, February 02, 2011
mrts time table
<iframe width="500" height="400" frameborder="0" scrolling="no" src="http://public.sheet.zoho.com/publish/sripathyramesh/chennai-mrts-timetable"> <p>Your browser does not support iframes.</p></iframe>
http://public.sheet.zoho.com/public/sripathyramesh/chennai-mrts-timetable
http://public.sheet.zoho.com/public/sripathyramesh/chennai-mrts-timetable
Sunday, January 02, 2011
installing reliance netconnect modem ZTE AC2726 in linux 2.6.26
I recently got the reliance netconnect wireless connection. I applied through their website and their response was so good. They came to my house demonstrated the speed for which i had paid and accepted. Though the representative was not a technical person he had tried to contact the technical persons of their office when i inquired about the installation of the reliance netconnect client software in linux. His colleague at the office conveyed that it cannot be installed on linux. Then i found the accompanied CD has a software which works for linux. I told the representative that to be please get informed about the software installations in linux.
The modem given to to me is ZTE AC2726.
my linux version is
$uname -a
Linux gowriganesh 2.6.26-1-686 #1 SMP
The software that comes in the accompanying CD is
ls /mnt/disk[sda5]/reliance/Linux
CrossPlatformUI-V1.0-38-RelianceHSD-i386-Ubuntu.deb
CrossPlatformUI-V1.0.38-RelianceHSD-i586-fedora.rpm
CrossPlatformUI-V1.0.38-RelianceHSD-i586-openSUSE.rpm
Reliance Netconnect - Broadband+ AC2736 Installation Guide for Linux.pdf
When installed with the above deb package it installed in the client software but was not able to detect the USB modem.
Also when tried to move to the following directories and checked for the appropriate drivers i came to know that the driver is available only for
2.6.27 2.6.28 2.6.29 2.6.30 .
Also there is a directory which says "below 2.6.27". But when compiled with that package it could n't produce the necessary driver file to insmod it for modem detection.
cd /usr/local/bin/ztemtApp/zteusbserial/
root@gowriganesh[zteusbserial]#ls
2.6.27 2.6.28 2.6.29 2.6.30 below2.6.27 README README_EN
The USB modem is detected as USB storage medium.
Then downloaded and installed the usb-modeswitch package which is available in this website
http://packages.ubuntu.com/karmic/i386/usb-modeswitch/download
dpkg -i usb-modeswitch_1.0.2-1_i386.deb
Then Unplug and plugin the modem back. It is now detected as the modem as follows:
$lsusb
Bus 004 Device 005: ID 19d2:fff1 ONDA Communication S.p.A.
Now issued the command
modprobe usbserial vendor=0x19d2 product=0xfff1
Now in the reliance netconnect software
Add the username and password with your appropriate values that start with 93 give n in the box.
The modem given to to me is ZTE AC2726.
my linux version is
$uname -a
Linux gowriganesh 2.6.26-1-686 #1 SMP
The software that comes in the accompanying CD is
ls /mnt/disk[sda5]/reliance/Linux
CrossPlatformUI-V1.0-38-RelianceHSD-i386-Ubuntu.deb
CrossPlatformUI-V1.0.38-RelianceHSD-i586-fedora.rpm
CrossPlatformUI-V1.0.38-RelianceHSD-i586-openSUSE.rpm
Reliance Netconnect - Broadband+ AC2736 Installation Guide for Linux.pdf
When installed with the above deb package it installed in the client software but was not able to detect the USB modem.
Also when tried to move to the following directories and checked for the appropriate drivers i came to know that the driver is available only for
2.6.27 2.6.28 2.6.29 2.6.30 .
Also there is a directory which says "below 2.6.27". But when compiled with that package it could n't produce the necessary driver file to insmod it for modem detection.
cd /usr/local/bin/ztemtApp/zteusbserial/
root@gowriganesh[zteusbserial]#ls
2.6.27 2.6.28 2.6.29 2.6.30 below2.6.27 README README_EN
The USB modem is detected as USB storage medium.
Then downloaded and installed the usb-modeswitch package which is available in this website
http://packages.ubuntu.com/karmic/i386/usb-modeswitch/download
dpkg -i usb-modeswitch_1.0.2-1_i386.deb
Then Unplug and plugin the modem back. It is now detected as the modem as follows:
$lsusb
Bus 004 Device 005: ID 19d2:fff1 ONDA Communication S.p.A.
Now issued the command
modprobe usbserial vendor=0x19d2 product=0xfff1
Now in the reliance netconnect software
Add the username and password with your appropriate values that start with 93 give n in the box.

Sunday, September 05, 2010
How to enable Java in Firefox 3.6+ in debian
This is note is to enable java in firefox 3.6+
When to use this note:
1. If you had installed sun jdk from debian repository (using apt-get) firefox will not recognize the java in the system.
2. If you have directly downloaded the firefox from the mozilla website
How to:
1. The firefox 3.6 requires a plugin libnpjp2.so. Search for the plugin:
find / -name libnpjp2.so
you will get the answer some thing like this
/usr/lib/jvm/java-6-sun-1.6.0.12/jre/lib/i386/libnpjp2.so
(The above is the case that i had installed sun java sdk 6 in my system from the repository)
2. Now check for the profiles of mozilla firefox.
2.1.Type cd to move to home folder
2.2. Type cd .mozilla/firefox
2.3. Type ls to list the directories. you will find a directory with extension .default. In my case it is rof0j0zs.default.
2.4. create a folder called plugins under the above found default directory
2.5. create a softlink to the above plugin in this folder. In my case ln -s /usr/lib/jvm/java-6-sun-1.6.0.12/jre/lib/i386/libnpjp2.so
2.6. Now test your browser for java. It will work charm with all java based applications.
There is a bug in debian which results in the following error due to enabling IPV6 as default in the sysctl configuration.
load: class JavaVersionDisplayApplet.class not found.
java.lang.ClassNotFoundException: JavaVersionDisplayApplet.class
at sun.plugin2.applet.Applet2ClassLoader.findClass(Applet2ClassLoader.java:219)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Plugin2ClassLoader.java:532)
at sun.plugin2.applet.Plugin2Manager.createApplet(Plugin2Manager.java:2940)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Plugin2Manager.java:1444)
at java.lang.Thread.run(Thread.java:619)
To avoid please check for the following file or point to this url http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=560056
1. goto /etc/sysctl.d/bindv6only.conf
2. change net.ipv6.bindv6only = 0
3. Execute invoke-rc.d procps restart
HTH
When to use this note:
1. If you had installed sun jdk from debian repository (using apt-get) firefox will not recognize the java in the system.
2. If you have directly downloaded the firefox from the mozilla website
How to:
1. The firefox 3.6 requires a plugin libnpjp2.so. Search for the plugin:
find / -name libnpjp2.so
you will get the answer some thing like this
/usr/lib/jvm/java-6-sun-1.6.0.12/jre/lib/i386/libnpjp2.so
(The above is the case that i had installed sun java sdk 6 in my system from the repository)
2. Now check for the profiles of mozilla firefox.
2.1.Type cd to move to home folder
2.2. Type cd .mozilla/firefox
2.3. Type ls to list the directories. you will find a directory with extension .default. In my case it is rof0j0zs.default.
2.4. create a folder called plugins under the above found default directory
2.5. create a softlink to the above plugin in this folder. In my case ln -s /usr/lib/jvm/java-6-sun-1.6.0.12/jre/lib/i386/libnpjp2.so
2.6. Now test your browser for java. It will work charm with all java based applications.
There is a bug in debian which results in the following error due to enabling IPV6 as default in the sysctl configuration.
load: class JavaVersionDisplayApplet.class not found.
java.lang.ClassNotFoundException: JavaVersionDisplayApplet.class
at sun.plugin2.applet.Applet2ClassLoader.findClass(Applet2ClassLoader.java:219)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Plugin2ClassLoader.java:532)
at sun.plugin2.applet.Plugin2Manager.createApplet(Plugin2Manager.java:2940)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Plugin2Manager.java:1444)
at java.lang.Thread.run(Thread.java:619)
To avoid please check for the following file or point to this url http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=560056
1. goto /etc/sysctl.d/bindv6only.conf
2. change net.ipv6.bindv6only = 0
3. Execute invoke-rc.d procps restart
HTH
Wednesday, January 09, 2008
Subscribe to:
Posts (Atom)


