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.