Sunday, December 23, 2007

The Movie

Till now i saw so many movies in Hindi ,English,japanese,Telugu,Tamil.
Still now i cann't justify movies are good or bad. People are going to watch movies in Theaters. i don't know in olden days movies how much influenced the people.but currently people are very much influenced by movies.

Tuesday, December 11, 2007

still now what i did in Servelots

iam started working as System Admin in Servelots from April 07. I learned so many things as a System Administer in Sevrelots. Also i met some new people who has much experience as system administers and some computer programmers.

In servelots i met one person who is a expert in wireless network, his name is Rene, from him i understand how to maintenance the systems, how to check logs and fixing bugs when we installed new applications.how to solve problems in Linux environment.

A). Virtualization:
we both together installed virtual server in one machine. We installed 3 virtual machines on that.on the 3 virtual machines we installed different application for different purpose.the applications are :

I. Godavari virtual Host:

1.Apache2 server
2.No-ip client
3.Servelots wiki
4.Dhcp server

II. Ganga Virtual Host:
1. Chennai web application(developed in ruby on rails)


III. Himalaya
1. Ltsp server.

B). Remote Linux installation:
we installed Debian in one remote server from office it's like changing filesystem from one partition to other partition without loosing the data.

there is more information about this from here:
http://www.underhanded.org/papers/debian-conversion/remotedeb.html

C). I written a script for data backup using rsync.file name is copy-backup.sh
#! /bin/sh

rsync -avvz --progress --delete-after --exclude-from="Delete" / -e "ssh -p 222 -i /root/backup-rsync-key" joebackup@backup:/remote-backup
touch timestamp
exit

here it's copies data into backup server the /home ,/etc,/usr/bin,/var/www
directories using ssh.

here in rsync we are passing one argument to ssh.this argument is root key, if we pass this to ssh it will login automatically without asking password.

so i just added this script file in "/etc/crontab" like this:

30 18 * * * root /root/copy-backup.sh

this line tells crontab that it will run everyday evening at 6:30.

D).
In office someone written a Perl script for generating static pages using dynamic URLs ,and also it will copy the static pages into where shell we want.

after understanding of the Perl script i wrote small Perl script for generating single static page using dynamic URL.

Perl script is like a scrapbook which is a FireFox plugin.

E). I installed svn in of our server. For our developing software repository. Then i configured the svn with Apache2 for accessing svn repository from outside.

F). I understood how Jakarta-tomcat works.all our office old web applications are developed in java.i deployed all web apps in tomcat,iam maintaining tomcat web server.

G). I written some shell scripts for changing text patterns in database. I installed and configured mediawiki for office use.i configured firewalls in office network for network traffice monitoring, blocking ssh from unknown users, port forwording.


H). Also some times iam working as web developer in office.As a web developer i integrated calendar in a webapplication.i developed the calendar in ruby on rails.

I). I learned little bit of ruby and rails in office.


.......still there is a lot to write.




Wednesday, December 5, 2007

zip function

iam struggling for writing zip function in python.actually i wrote once this zip very long time back.meanwhile i forget the whole concept. Again iam trying to write a zip function with basic knowledge of python.

I think this called unlearning. i don't know exactly what is unlearning.

actually i written zip function using Python builtin function called map.what map does is
"it takes any number of arguments,but first argument should be function and remaining arguments should be lists.it return a list of the results of applying the function to the items of the argument sequence or sequences. If more than one sequence is given, the function is called with an argument list consisting of the corresponding item of each sequence, substituting None for missing values when not all sequences have the same length. If the function is None, return a list of the items of the sequence."

Monday, December 3, 2007

what i did from past 2 days

sunday i tried to install linux in a computer.
but whole day i got so many errors and problem while installing linux.some times cd drive problems,some times installtion cd are gave problem.i tried three diffrent linuxs, finally i installed debian linux like this.

1. first i partitioned the disk as LVM filesystem.while installing the linux it shows the LVM partitioning option.advantage of using LVM is after installing Linux,if you want to resize partitions, you can resize the partitions without losing data.

2. I installed debian text mode linux, later i updated to GUI mode using aptitude.

3. now system also boots very fast, before this on the machine there was edubuntu.edubutu took so much time to boot and also it took so much space
for installing OS.

4.I installed very minimal Xserver packages in it.

I don't like in Ubuntu automatic Network detection feature. some times it show networking is not detected, but when i do browsing the internet it willwork. Actually i frustrated with it when i try to configure wireless network in some laptops in our office.

But I liked the Ubuntu live cd,because you can use it as live cd and also you can
install Ubuntu using that if you want ,it's very simple when it runs as live cd it creates a install icon on the desktop .

Saturday, December 1, 2007

The Little Buddha

I saw one movie two days back.Movie name is "The Little Buddha".
The movie explains how Siddhartha Gautama became Buddha.

movie starts with a monk telling a goat story to small children. Like this
"Once there was a priest he ready to kill a goat in a ceremony. When he was ready to kill the goat, The goat was laughing then the priest asked the goat "why are you laughing?" the goat answered that "many years back iam also a priest like you ........"

actually in this movie there was a Buddhist monk he was the lama of Buddhist religion. People of Buddhist believe that who ever dies they will reborn depending upon there karma. So monk's Guru(teacher) died long before. But the monk thinks that his Guru reborn again in different form. So he finds three children, who are the forms of his guru. In the three children one was from Western country , one from Nepal, one girl from India.


Thursday, November 29, 2007

shoemaker

A shoemaker ,his wife and his children are living in a farmer's house.He don't have land or house.they don't have enough money to live.He supporting his family by his cobbling.they have only one sheepskin coat so he wanted to buy one more sheepskin coat.One early morning he went to buy a sheepskin coat,for buying sheepskin coat he asked one farmer money. But that fellow did not gave,then he got one idea that he first get the sheepskin coat later he will give the money.He told this idea to businessman ,but businessman did not agree for shoe makers idea.

so he felt very depressed,he drunk vodka,while he was going to home he saw a stranger on the shrine,the stranger was leaning. first he frighted after seeing the stranger,then he went closer to him and he gave his coat and shoes to him for protecting from cold.and he took him to his home.

Simon wife was thinking that her husband was bought the coat,in morning he went with very little money, and definitely the farmer gave him money, with that he bought the coat. she prepared food and fed her children and also ate little bit and waiting for her husband.

suddenly some one knocked the door.she opened the door she saw her husband with out sheepskin coat and he came with a naked fellow.Simon wife felt very angry for Simon drunk with money she gave for coat and insteaded of coat he brought one naked man.she refused to gave food them.Simon tried to explain her whole story,but she was scolding without listening what her husband telling.but the stranger was silent he did not talk even one single word.

so finally she gave them food,after seeing that stranger she once again she feel bad about what talked.she showed compassion on him,the stranger smiled at her.Simon teached him how to make shoes and how to gain money for food.
he stayed with Simon only.the two people are making shoes everyday.Simon getting more money for making shoes.the young stranger working daily without taking rest or without going any where.and his face is blighting day by day brighter and brighter.he stayed with Simon 6 years.

one day one rich person came with leather,he wanted a pair of shoes with leather he brought.but he put a condition.the condition was if the shoes will broke in a year after making he will give punishment otherwise he will pay more money for making shoes.the shoe maker little bit afraid for the richman's condition.but young man smiled at looking into richman's face.when he came into Simon from that day to now he smiled two times.Simon looked at young man the signed like to agree for the condition.finally Simon agreed for the condition and he took the leather.

the youngman started making shoes for richman.he is cutting the leather like a expirenced shoemaker. Insteaded of shoes he made one paire of sandals with the leather.Simon really afraid after seeing that sandals,because the rich man will give punishment to Simon.he very much afraid.one of rich man servent came and he told that "the rich man was died two days back,so his wife told that no need of making shoes ,insteaded of shoes make sandals".so servent came there for sandal.Simon gave him the sandal he went away.

one day Simon and young man was working together.suddenly they heard some one is coming towards to there house.till now young man did not went to see anybody curiously who are coming to Simon's house.but he went see who are coming to there house.so Simon really surprised.one woman came with two little children for shoes.after seeing her face young man smiled one more time.Simon observed this.the woman with the children asked Simon that she wanted two pairs of shoes for the two children.the young man started taking measurements of childrens feet.then he sunddenly told that god forgive him for his mistakes.now he wanted to leave from simon's house.