timekpr - Keep control of computer usage

November 18th, 2008 / No Comments » / by aloke

This program will track and control the computer usage of your user accounts. You can limit their daily usage based on a timed access duration and configure periods of day when they can or cannot log in. With this application, administrators can limit account login time duration or account access hours.

DEVELOPMENT:
* This program is heavily depended on Linux-PAM and its time and access modules.
* So far, support for GNOME desktop manager is established, some features might or might not work for other desktop managers. We intend to provide full support for GNOME, KDE and XFCE in future releases.
* If you would like to contribute to the code, join the timekpr-maintainers team :)

https://launchpad.net/timekpr

How to Back up your home folder smartly using Dropbox

November 7th, 2008 / No Comments » / by aloke

The “home” folder in GNU/Linux, at /home/username, is the most important part you want to have a backup. In hidden files (named with a . at the start) and specific folders, it’s the place where most applications keep its preferences, data files, and other customizations.for example Mozilla Firefox and Thunderbird . To have a backup of home folder is pretty crucial to various scenarios like reinstalling a system that went bad or making painless upgrades, etc . Now you can do it in old-school style using rsync or just copied it to an external hard drive manualy.

Now there is a new application is here to do this in more easy way . nautilus-dropbox is a GPL’d Nautilus plugin, makes sure your $HOME/Dropbox directory is properly synchronized with your other computers and our secure backend. It connects to dropboxd (via a pair of Unix domain sockets) and presents a GUI based on the information dropboxd provides.

There is an unauthenticated repository for Ubuntu 8.10, 8.04, and 7.10. For Ubuntu 8.10, add the following lines to your /etc/apt/sources.list or equivalent:

deb http://linux.getdropbox.com/ubuntu intrepid main
deb-src http://linux.getdropbox.com/ubuntu intrepid main

For Ubuntu 8.04 you might want to add these lines instead:

deb http://linux.getdropbox.com/ubuntu hardy main
deb-src http://linux.getdropbox.com/ubuntu hardy main

Read more at : http://www.getdropbox.com/install

Tags: , , , , , , , ,

Asus EEE Pc 1000h and Ubuntu-eee - The Best companion

September 10th, 2008 / No Comments » / by aloke

In my earlier post , I mentioned how I installed new kernel with ubuntu-eee 8.04 to fix the ethernet/wifi and audio issue .

Now as ubuntu-eee has released new version as 8.04.1 with the default kernel from array.org , the overall scene is now completely painless.

just download the iso from ubuntu-eee.com and install it and you should be ok with your eeepc 1000h .

Ubuntu EEE running on Asus EEEPC

ubuntu eeepc

Tags: , , , , , ,

Ubuntu on Asus EEEPC and Ethernet/wifi issue

September 8th, 2008 / No Comments » / by aloke

First of all , I was having so many issues with the ethernet and wif with my asus eeepc 1000h. Ethernet and wifi are not getting detected at all . and I have searched on net and tried almost every solution/suggestions including ndiswrapper, madwifi building from source etc . The device drivers built from the device manufacturers websites were also not helpful .

Then I found a custom flavor of ubuntu for asus eeepc called ubuntu-eee version 8.04 . I installed it using usb stick and everything were fine except the wifi .Also another new issue came as audio is not also got detected .

while searching for more solutions, I came across a new kernel for asus eeepc at www.array.org/ubuntu . I was having a usb-wifi so i was always connected with the net . That helped me a lot to trying out the kernel .

and that did the magic . Once booted from new kernel everything is working perfect and very optimum performance .

Thanks to people at ubuntu-eee and array for this amazing product .

Tags: , , , , , , , , ,

Asus EEEPC - Say Hi to ultimate mobility

September 6th, 2008 / No Comments » / by aloke

well, few days back bought the Asus eeepc 1000h . Actualy I was tired of my old bulky Acer laptop . Though it was packed with all the features but after using several months I found very tough to carry it everywhere , in my office tours, client’s meeting .

So finally I settled with this new generation of small laptops, popularly known as netbooks.

ASUS EEE PC 1000h

It features a new 10 inch screen and a 1.6 GHz Intel Atom CPU. The 1000H model ships with Windows XP Home and an 80 GB HDD. Having 2 GB of DDR RAM , the 1000h has a rated battery life of around 5 hours . It also offers a keyboard that is 92% the size of generic notebooks, aiming to make it more comfortable to type. Like all other modern notebooks, this eeepc features 802.11n Wi-Fi and Bluetooth.

As soon as I got it, I tried to remove the windows xp and to install my favorite Uhuntu . Presently I am having some issues with its both Ethernet and wifi cards and some visual problems with it and I am on it to fix them .

so far, am very much happy with the device and its really a masterpiece .

Tags: , , ,

Comparison between various Merchant Accounts

August 17th, 2008 / No Comments » / by aloke

Merchant services usually refers to the service that enables a business to accept a transaction payment by use of the customer’s credit , debit card and Bank Transfer. More generally, the term includes the following in its use:

* Credit and debit cards payment processing
* Check guarantee and check conversion services
* Automated Clearing House check drafting services
* Gift and loyalty card programs

Here is a small comparison of various Merchant service providers in India and/or worldwide . Please note that all the information were collected from their respective websites/brochures . Hope these information is handy and will be useful , while deciding for any merchant account .

EBS (Axis) Bank

Credit Card Accepted : Master Card , Visa Card

A. Pricing Option 1

One time setup: Rs. 10000/-

TDR: 6%

Annual Charge: Rs. 6000/-

B. Pricing Option 2

One time setup: Rs. 20000/-

TDR: 5%

C. Pricing Option 3

One time setup: Rs. 25000/-

TDR: 4%

# Annual Maintenance Charge Rs. 6000/-

Payment Withdraw Method : Direct deposit in UTI Account

————————————————–

Paypal

Credit Card Accepted : VISA , Mastercard , American Express , Discover

Others : Paypal Payments, USA Echecks

Pricing Option

One time setup: FREE

TDR: 3.5%

Payment Withdraw Method : Manually Cheque Request or Direct Deposit in any US Accounts

—————————————————————————

CCAvenue

Credit Card Accepted : VISA American Express Citibank E-Cards Diners Club International

JCB Cards

Netbanking And others :

Centurion Bank of Punjab

Citibank

HDFC Bank

ICICI Bank Ltd.

IDBI Bank

IndusInd Bank

Kotak Mahindra Group

Oriental Bank of Commerce

Punjab National Bank (PNB)

The Federal Bank Ltd

UTI Bank

The Bank of Rajasthan

YES Bank

Paymate (Mobile Payment)

Itz Cash

Pricing Option 1 - Premium

One time setup: Rs. 25000/-

TDR (Credit Card): 5%

TDR (Netbanking): 4%

Annual Charge: Rs. 2400/-

Pricing Option 2 - Economy

One time setup: Rs. 7500/-

TDR (Credit Card): 7%

TDR (Netbanking): 4%

Annual Charge: Rs. 1200/-

Payment Withdraw Method : Direct deposit in any Indian Bank Account

—————————————————————————————–

2 Checkout

Credit Card Accepted : VISA Mastercard American Express Diners Club International JCB Cards

Pricing Option

One time setup: Rs. 2000/-

TDR: 5.5% + 0.45USD

Payment Withdraw Method :

Wire transfer in any Indian Bank Account or Direct Deposit in any US Accounts

Tags: , , , , , , , , , , , , , , , , , , , , , , ,

I don’t even know where to start…

August 14th, 2008 / No Comments » / by aloke

I don’t even know where to start, so i’m just going to put it out there. Yesterday on 13th August my father, Adhar Chandra Majumder , an ex employee of Unicef and Indian Railways, passed away quietly in the Central Railway Hospital , Garden Reach, Kolkata, following an extended illness. Basically he was under the treatment of Tata Memorial Hospital, Mumbai, since last more than a year. He was 63 .

All the immediate rituals have been done and I went out into the river Hooghly ( Ganges )to spread his ashes there.

I would like to thank all the friends and others who were so supportive to me and I am really grateful to them .

Presently all my activities will be sporadic, as attention to family matters will take precedence at this time.

Tags: , , , ,

How to install Apache Tomcat on Ubuntu

August 11th, 2008 / No Comments » / by aloke

I was trying to install Apache Tomcat on Ubuntu for my friend from repository but the version from the repositories simply didnt work . So I made it installed manually and here is the steps on how to do that .

Before you install Apache Tomcat, make sure you are having Java installed on your box .

sudo apt-get install sun-java6-jdk It will make the Java installed .

Once done , proceed with apache tomcat installation :

First of all, download and extract Tomcat from the apache site. You should make sure for latest version and adjust it accordingly in the following instruction .

wget http://mirror.olnevhost.net/pub/apache/tomcat/tomcat-6/v6.0.18/bin/apache-tomcat-6.0.18.tar.gz

tar xvzf apache-tomcat-6.0.18.tar.gz

Now we will move the tomcat folder to a permanent location.Preferably /usr/local/tomcat, but you could move it somewhere else if you wanted to.

sudo mv apache-tomcat-6.0.18 /usr/local/tomcat

Now we will handle the most important part . Apache Tomcat requires the JAVA_HOME variable should be set up properly. The best way to do this is to set it in .bashrc file.

The better method is editing your .bashrc file and adding the following line there.

vi ~/.bashrc

Add the following line:

export JAVA_HOME=/usr/lib/jvm/java-6-sun

At this point you can start tomcat by just executing the startup.sh script in the tomcat/bin folder.

But we will go for the automatic start option

To make tomcat automatically start when boot up , you can add a script to make it auto-start and shutdown.

sudo vi /etc/init.d/tomcat

Now paste in the following:


# Tomcat auto-start
#
# description: Auto-starts tomcat
# processname: tomcat
# pidfile: /var/run/tomcat.pid

export JAVA_HOME=/usr/lib/jvm/java-6-sun

case $1 in
start)
sh /usr/local/tomcat/bin/startup.sh
;;
stop)
sh /usr/local/tomcat/bin/shutdown.sh
;;
restart)
sh /usr/local/tomcat/bin/shutdown.sh
sh /usr/local/tomcat/bin/startup.sh
;;
esac
exit 0

You’ll need to make the script executable by running the chmod command:

sudo chmod 755 /etc/init.d/tomcat

Next step is actually linking this script to the startup folders with a symbolic link. Execute these two commands and we should be on our way.


sudo ln -s /etc/init.d/tomcat /etc/rc1.d/K99tomcat
sudo ln -s /etc/init.d/tomcat /etc/rc2.d/S99tomcat

All done and your Apache Tomcat should be running at FQDN:8080 or localhost:8080 . Open a browser and access it .

The final step is to set Apache Tomcat Manager login credentials should be added for your management .

Edit the following file


vi /usr/local/tomcat/conf/tomcat-users.xml

And Add the following and save .

< role rolename="manager"/>
< user username="PUT_ANY_USERNAME" password="PUT_ANY_PASSWORD" roles="manager"/>

Now restart apache tomcat and all should be set to go ……

Tags: , , , , , , , , , , , , ,

Google offers ‘Insights for Search’

August 8th, 2008 / No Comments » / by aloke

Here’s the article from Cnet:

Google has taken its popular Google Trends and launched a spin-off product called Google Insights for Search. Geared toward advertisers, it’s a tool to track a particular search term’s popularity across the Web and geographic regions of the world.

For Google, this can help boost advertiser confidence and potentially win its program some new converts who would’ve otherwise been skeptical regarding how effectively they could target an online ad campaign.

With Google Insights for Search, you can search for a term to track how much it’s been googled over time, where on a “heat map” it’s most popular, and what the top “related” and “rising” searches for the term are.

Results can also be filtered by geographic region, time frame, or category. Let’s say you search for “spears,” and most of the results on Google Insights for Search deal with some trashy pop star. But you happen to be the owner of a small business that creates replica medieval weapons, so that’s not the sort of spears you’re looking for. You can narrow your search down to a single field–”industries,” say, or “recreation,” and hope you see fewer instances of Britney and Jamie Lynn.

Here’s another one: search for “spaghetti,” and you’ll get a lot of results about people seeking recipes. But narrow it down to the “lifestyles” category, and you’ll see that most of the search results that Google Insights provides involve the Church of the Flying Spaghetti Monster.

http://google.com/insights/search/#

Tags: , , , , , , , , , ,

File Transfer in GNU/Linux

August 2nd, 2008 / No Comments » / by aloke

FTP (file transfer protocol)

This is mostly used to copy files between computers. It doesn’t support compression. It is also not encrypted. This is how to transfer files.

To connect to aloke.info

ftp aloke.info

You will have to enter your username and password when prompted.

If the file being transferred is a binary file (yes, PDF and PS are binary files), type the following.

binary

To upload your file aloke.pdf to the directory in aloke.info

cd /home/aloke/backup
put aloke.pdf

To download the file aloke.txt from the directory in aloke.info

get aloke.txt

If you have multiple files, use mget instead of get and mput instead of put.

To quit, type bye. This is just the basic file transfer using FTP. To check all the options using FTP, type man ftp from your shell prompt.

SFTP (secure file transfer protocol)
SFTP is an interactive file transfer program, similar to FTP, which performs all operations over an encrypted secsh transport. If you are a Windows user, you will need a secure file transfer program like WinSCP program.

To connect to aloke.info here is what you should do.

sftp aloke.info

You will have to enter your username and password when prompted.

To upload your file aloke.pdf to the directory in aloke.info

cd /home/aloke/backup
put aloke.pdf

To download the file aloke.txt from the directory in aloke.info

get aloke.txt

If you want to download multiple files, say all PDF files,

get *.pdf

To quit, type exit. This is just the basic SFTP. To check all the options using SFTP, type man sftp from your shell prompt.

SCP (secure copy)
SCP is used for single file transfers unlike SFTP or FTP, where once connected, you can carry out any number of transfers.

To upload the file aloke.pdf to the /home/aloke/backup in the remote computer aloke.info here is what you should do. Lets say the username and password for connecting to aloke.info are aloke and p4ssword respectively, read ahead.

scp aloke.pdf aloke@aloke.info:/home/aloke/backup/

You will be prompted for your password, which you should enter. It uploads the file and quits automatically.. all in one operation.

To download the file aloke.txt from the remote directory, here is what you must do.

scp aloke@aloke.info:/home/aloke/backup/aloke.txt

If you want to upload the entire perl directory (recursively) here is what you do.

scp -r /home/aloke/perl us3r@aloke.info:/home/aloke/backup/


wget

To download the index.html page of gnome.org, here is what you type.

wget http://www.aloke.info/index.html

… and you have the index.html page on your current directory :)

If you want to rip the website upto 3 levels,

wget -r -l 3 http://www.aloke.info

Tags: , , ,