29 October 2008

DSC07028

DSC07029

Live Mesh Tech Preview is now available at http://www.mesh.com. You will need Live ID to use it.

Live Mesh will puts you at the center of your digital world, connecting you to the information, people, and devices you care about. You can use your Live Desktop to access folders and devices from the web. You can also add a device to synchronize folders with your mesh and connect to it remotely. More details at available at About Live Mesh.

 

28 October 2008

Wish you and your family a very happy and prosperous Diwali. Have a wonderful time and best wishes.

Bellow is photograph of Vedic Diwali day. He is in traditional Indian dress (Kurta Paizama).

DSC07010_thumb DSC06986_thumb

26 October 2008

Welcome to Winter 2008. It is getting cold in Orlando during the morning & evening.

Vedic was waiting to wear this dress for long time. First day of winter when we had 68F inside home, he got the convincing reason to wear this dress.

DSC06975

24 October 2008

www.roomtoread.org is a non profit organization created by John Wood. He leave the Microsoft to create a non-profit with a strong business ethos, RoomToRead. He also wrote a book “Leaving Microsoft to Change the World: An Entrepreneur's Odyssey to Educate the World's Children”. In this book he wrote about long term vision of world change.  & early successes. Please visit www.leavingmicrosoftbook.com to read more.

Me and my friends specially Anurag Bhargava are fully convinced by the RoomToRead vision. We request everyone to check the site www.roomtoread.org & www.leavingmicrosoftbook.com and make some donations.

John wood is doing great work to provide books school and scholarship to the students in Nepal, India, Sri Lanka, Bangladesh  and other developing countries. At least we can promote his cause by making a small donation.

Direct link to Make A Donation page: http://www.roomtoread.org/involvement/donate.php

17 October 2008

Another iphone competitor coming soon to the U.S. This one is the newer modified version running at speeds of 3.5G with a 5 megapixel camera, GPS and a 3.8 inch WVGA display. Does not have a built in memory as large as the iphone but it is expandable via SD card but you see everything in high definition as this is strictly a HD model. With the information given so far, this phone is expected to be a winner in the cellular world.

It has ultrafast 3.5G technology to surf and download at broadband speeds. On HSDPA networks, the Touch HDTM delivers downlink speeds of up to 7.2 Mbps.

Other HTC Touch Screen products are http://www.htc.com/www/product_all.aspx

14 October 2008

Microsoft has released the Silverlight 2. Get start using it http://silverlight.net/GetStarted/

More info on the release is available at http://www.microsoft.com/presspass/press/2008/oct08/10-13Silverlight2PR.mspx

13 October 2008

"root"  is the super user of Linux Operating System and he has full privilege to do anything on it. and if you forgot the root users password then it is very helpless situation for you. in this situation you will not able to do any changes in Linux Operating system, and as a standard user you do not have such privilege who has root user. but do not vary about this problem, Linux operating system has solution for this problem.

Before do this you need some basic concept  about "init" process.  init is father of all Linux processes and it is first process which is executed at the time of booting after the loading Linux kernel in to the RAM. By default init has 7 run levels and every run level has specific use.

Default runlevel. The runlevels used by Linux are:
#   0 - halt (Do NOT set initdefault to this)
#   1 - Single user mode
#   2 - Multiuser, without NFS (The same as 3, if you do not have networking)
#   3 - Full multiuser mode
#   4 - unused
#   5 - X11
#   6 - reboot (Do NOT set initdefault to this)

This run levels you can change by 3 different ways in Linux Operating System

  1. In first method you can change run level from init configuration (/etc/inittab) file it will be permanent,
  2. In Second method run levels can change  from Linux command prompt,
  3. You can also change run level temporary at the booting time.

For recover root password you will use third method change run level while booting. Step by step procedure describe below

Step - 1. Boot you which root Linux and grub boot loader screen will appear press "Enter" key and you will be in following screen, and hear type "e" to go in to edit mode.

image

Step - 2. In the edit windows select line which start from "kernel" and again press "e" to edit this line.

image

Step - 3. Now you are in Line editing mode and curser will be at end of the kernel line, at the end of line first press "space bar" and then type "1" and press "Enter" and then press "b" to boot the Linux with the new setting. and boot will start.

image

Step - 4. Wow see what happed you are in shall prompt without username and password, this is magic of Single user mode in Single user mode Linux never ask for username password to enter in to Linux system.

image 

Step -5. Now at shall prompt type "passwd" command to change root password and for change password system will not ask for previous password, hear type new password and retype same password and you root password is changed reboot you Linux and login as a root with the new password and enjoy it.

image

Warning - In our world every thing has good side as well as bad side also. Linux Signal user mode also has bad side if anybody has physical accesses on you system so he can use single user mode to change root password, so you need to secure you systems single user mode for this two sequence of methods

  1. Protect your system with Bios Password.
  2. And use grub password to protect the grub editing mode while booting

_______________________________________________________________

05 October 2008

Shutdown is common process on every Computer. After completing the work most of the us shutdown the computer, shutdown process completed in sequence of task by computer and Operating System. In shutdown process Operating System will end every running process step by step and save unsaved information before power goes off.

If you are near the computer then you can shutdown it properly. But it is not a easy task to shutdown computer from remote and make sure all the running process ends before power turn off.

To doing this you can schedule shutdown process on particular time for example Like shutdown at you Sleeping time, Time to go home after office hours, etc. Every Operating has its on mechanism for task scheduling. through which you can define task for auto shutdown.

Bellow is a step by step procedure on How to schedule shutdown process in Windows and Linux

1. Schedule Shutdown in Linux

2. Schedule Shutdown in Windows

 

For automatically Shutdown Windows  we have two method, one with "at" command and second with "Scheduled Tasks", but to start the shutdown process automatically in windows no inbuilt command or software available other then windows 2000 resources kit by default.

So first we need to download "PsShutdown"  and copy it to in folder like "C:/Adminutils"

PsShutdown is a command-line utility for shutting down or rebooting the local or a remote computer, PsShutdown can logoff the console user or lock the console PsShutdown requires no manual installation of client software.

1. Shutdown Windows with Windows "at" command

Now open windows command terminal (Start > Run > cmd).

In the terminal window use windows "at" command to schedule reboot:

C:> at 12:00pm C:\Adminutils\PsShutdown.exe -r -f -c -t 10

Above command will reboot system at 12pm.

If you want to shutdown system at 11:59 pm use following command

C:> at 11:59am C:\Adminutils\PsShutdown.exe -s -f -c -t 10

In above Command ,

  • -s: Shutdown windows server
  • -r: Reboot windows server
  • -f: Forces all running application to exit
  • -c: Allow the shutdown to by cancel by user
  • -t: Specifies the countdown in seconds until the shutdown

2. Shutdown Windows with Windows "Scheduled Tasks"

For executing Task Scheduler use following procedure.

Step 1 - Start > Accessories > System Tools > Scheduled Tasks

In the "Scheduled Task" Windows Click on Add "Scheduled Task" and then click "Next" in to open windows. then "Scheduled Task Wizard" will start

image

Step 2 - From "Scheduled Task Wizard" use "Browse" Button to locate the C:\Adminutils\PsShutdown.exe and press "Ok" button and then in new windows like below type the name of task (Auto Shutdown) and select the task frequency, hear I selected "Daily" and then click on "Next" button

image

Step 3- After this Select time on which time you want to execute the shutdown process hear I was slected on 11:59 PM, Every Day basis. and click "Next"

image

Step 4 - Now enter the user name and password, who want to shutdown PC automatically hear my user is Administrator and then type Password and click "Next" Button.

image

Step 5 - Now your New Scheduled Task has been defined, from beloow windows slect your new task and duble click on it .

image

Step 6 - In your Auto Shutdown Property windows go to the Run text box and complete the command with the following Syntax. and then click "Ok"

C:\Adminutils\PsShutdown.exe -s -f -c -t 10

image

04 October 2008

Some time we need shutdown process be automatically and our computer Shutdown automatically on particular time, this can be possible with Job scheduling

In Linux For Job Scheduling 2 utility available one is "at" and second is "cron"

at- Execute a task at a specific time. and "at" is Useful only to schedule one job at a time or a single future event. in this we can not define recurring events or daily events.

for shutting down Linux automatically at 11:59 pm, use following example.

# at 11:59pm
at> halt
(Press CTRL+D)

Some more command for "at"

  • atq - List the current "at" jobs pending.
  • atrm - Used to remove pending "at" jobs.

Linux Cron job to Shutdown Linux server/Desktop system:

cron – cron is Linux command line task scheduler, Useful to schedule recurring events or daily events such as backup, check system security etc.

Step 1 - Login as root user and at shell prompt type crontab -e command so that you can add cronjob.

# crontab -e
Step 2 - above command open root users crontab file in vim editor and then Append following entry to it (shutdown at 23:59 hrs (24 hrs format).

59 23 * * * /sbin/shutdown -h now

(3) Save the changes and exit from vim editor to shell prompt.

Windows to Linux - Frightened novice

Changing from Windows into Linux is nothing lesser than Conversion of religion. One has to afford to leave behind comfortable(?) life for unknown mysterious world.

But, the mere thought of having perfect control over about what i am doing on networking administration and the chances of becoming contributor to open source community from mere subscriber/donor to Bill Gate$ is worth to make dive into Linux.

Having exposed to networking administration near a decade, i yet feel Microsoft made me from novice into novice x 10 in the field of networking administration. I think, implementing Linux will invite lot of trouble... but, i believe it is essential for one to become an "Adult"...!!!

In my experience, i found few common windows networking tasks are much used in day-to-day life, and i invite you all to share tips & trade secrets to achieve equivalent tasks using Linux and other open-source.

Assume a heterogeneous domain consists of RedHat Linux server/desktop and Microsoft Windows computers:

1. Share a common folder on each user machine (\\PC1\Share_PC1, \\PC2\Share_PC2, ...).
2. Share a secure folder on each user machine with restricted access on group/used based.
3. Share printer
4. Alternate for Microsoft Visual Studio

To start with possible solutions, Mr.Virendra, C-DAC, Noida suggested following Linux/Open source may be deployed:

a. LDAP
b. NFS
c. Samba
d. Eclipse IDE

But, as a hardcore Microsoft follower, i found it is unnerving...!!!!

I request, someone to post good tutorials, screen shots and other suggestions. Don't forget to share on-hand experience fun...!!

I'll add more articles in this front as a novice...

Where The Wild Things Are - Story Book by Vedic

Open in full screen

02 October 2008

Top Features:

  • Music Player with superior sound and 8 band graphics equalizer
  • It has 8GB MicroSD card inside that can be replace with a 16GB MicroSD card.
  • Browse, stream and download songs from Nokia Music Store using 3G and WLAN
  • 3G and WLAN mobile technology
  • Nokia Music Software to sync, drag, drop, rip music on your PC
  • Unique two-way transfer of playlist to manage your music

Specifications

  • Dimensions: 111*51.7*15.5mm (height*width*depth)
    Weight: 109g
  • Screen: 3.2’’ widescreen touch display 640*360px nHD resolution with upto 16M color touchscreen display
    16:9 aspect ratio
    Automatic orientation sensor for display rotation (Accelerometer)
  • Stylus, plectrum and fingure touch support
  • Handwriting recognition, alphanumeric keypad, full and mini QWERTY keybords
  • Dedicated Media Bar touch key for access to music, video, share online and web
  • Music Player: 8 band graphics equalizer
    Bass booster, stereo widening and loudness
    Integrated stereo speaker with surround and dedicated audio chip for crystal clear hi-fi sound quality
  • Camera: 3.2 MP camera (2048*1536 px)
    Carl Zeiss optics
    3x digital zoom
    Autofocus
    Dual LED flash
    Image formats: JPEG
  • Video: Video recording upto 640*480 px and upto 30 fps (TV high quality)
    4x digital zoom
    Clip length 90 min (with available memory)
  • Video Calls with front camera
  • Memory: 8GB MicroSD card included, that can be replace with a 16GB MicroSD card.
    81MB internal memory
  • Connectivity: 3.5 mm Nokia AV connector
    Bluetooth version 2.0
    Micro-USB connector, USB 2.0

Photos:

Nokia 5800 XpressMusic Photos

 

Tangler website is now down and has following message. This must be cause of the live Nokia Tube 5800 lunch Event.

Woah! Looks like the hamsters have fallen off the treadmill

We're sorry, Tangler is currently experiencing some technical difficulties. We are probably frantically running around trying to fix it right now, so try again in a few of minutes.

In the meantime, why not have a look at our blog.

Team Tangler (including hamsters and their families)

image

Registration Page:
image

Nokia is launching their new Nokia Tube 5800 a touchscreen phone through a livecast open to everyone.

When: October 2, 2008 @ 17:30 UK (16:30 GMT)

16:30 (4:30PM) in GMT converts to
11:30 (11:30 AM) in EST
You can use http://www.timezoneconverter.com to convert to your time.

Nokia is officially launching the Nokia Tube 5800 touchscreen phone today in a press event in London. This event can be view LIVE at Nokia website http://events.nokia.com/remix_event/.

image

Also users will able to take part in live discussion (they are using Tangler.com service for this).

UPDATE 12:10AM EST: http://blog.laksha.net/2008/10/tangler-website-is-down-nokia-launch.html

UPDATE 12:15AM EST: Tangler site is now working.

As a human being, forgetting things are natural and forgetting password is problem of mass population.

Forgot password is very dangerous if you don’t have mechanism to recover the password. Sometime there is a mechanism available to recover the lost password but lots of people don’t know about it. Like in Windows XP there is a mechanism available to recover Administrator password “Windows XP password recovery method” but only a few people of knows about this method.

Previously I have posted an article Recover your Lost Windows XP Administrator Password that describes exact method to recover lost Administrative password and a step by step procedure.

01 October 2008

Oracle Database administration is a very hot profession of today and if you know how to install Oracle database on Linux then you become a very valuable person. Both technology is in demand, and together oracle & Linux create a very secure & sophisticated environment.

Installing Oracle on Linux is little bit tough job. In this article I am discussing procedure to install Oracle on Linux. With the help of this article installation will be like playing the game. good luck.

If you face any problem during or after the installation please post your comment. I will try my best to answer your question and resolve problem.

Installing Oracle Database On Linux – A Step by step Guide

Hardware Requirement for Oracle Installation on RedHat Linux

Processor - Minimum Bettor to you have P4 and equivalent of P4 or later version of processor

RAM - The minimum RAM required for oracle installation is 1024MB , for know the RAM on PC

# grep MemTotal /proc/meminfo
MemTotal: 1034680 kB

HDD Space - 2.5GB of available disk space for the Oracle Database software and another 1.2GB for the database. The /tmp directory needs at least 400MB of free space. To check the available disk space on your system, run the following command:

# df -h

Swap - In Linux Swap space should be twice the amount of RAM if your system have 1 GB of RAM then you should have 2 GB of Swap Space, to know the Swap space use following command

# grep SwapTotal /proc/meminfo
SwapTotal: 1534196 kB

Software Requirement for Oracle Installation on RedHat Linux

RedHat Enterprise Linux 5 or RedHat Enterprise Linux 4
Kernel Version Should not be bellow then 2.6
to know kernel version use following command

# uname -r
2.6.9-22.EL

Now, Verify following packages and its Version which is required for Oracle Database, installed or not

Required package versions (or later):

binutils-2.15.92.0.2-10.EL4
compat-db-4.1.25-9
control-center-2.8.0-12
gcc-3.4.3-9.EL4
gcc-c++-3.4.3-9.EL4
glibc-2.3.4-2
glibc-common-2.3.4-2
gnome-libs-1.4.1.2.90-44.1
libstdc++-3.4.3-9.EL4
libstdc++-devel-3.4.3-9.EL4
make-3.80-5
pdksh-5.2.14-30
sysstat-5.0.5-1
xscreensaver-4.18-5.rhel4.2
libaio-0.3.96
openmotif21-2.1.30-11.RHEL4.2

for verifying abow package in your installed Linux Openrating system You can use this single line command to verify packages and its version

# rpm -q binutils compat-db control-center gcc gcc-c++ glibc glibc-common gnome-libs libstdc++ libstdc++-devel make pdksh sysstat xscreensaver libaio openmotif21

Configuring Linux for Oracle

Before starting Oracle on Linux first we have to configure Linux Operating system with root user, fallowing configuration required on Linux before starting Oracle installing.

1. Create the Oracle Groups and User Account

create the two Linux groups name "oinstall" and "dba" and one user account with name "oracle" and this user should be member of above 2 group that will be used to install and maintain the Oracle Database software. for doing this Execute the following commands as root:

# /usr/sbin/groupadd oinstall
# /usr/sbin/groupadd dba
# /usr/sbin/useradd -m -g oinstall -G dba oracle

Then Check the GID and UID of newly created groups and user, with this

# id oracleuid=501(oracle) gid=502(oinstall) groups=502(oinstall),503(dba)

2.Set the password on the oracle account:

# passwd oracle

Changing password for user oracle.
New password:
Retype new password:
passwd: all authentication tokens updated successfully.

3.Create Directories

Now create directories and define "oracle" user as a owner and "oinstall" as a group of newly created directory and also change permission on this directory to 775, this directory will use to store the Oracle Database software and the database files..
Issue the following commands as root:

# mkdir -p /u01/app/oracle
# chown -R oracle:oinstall /u01/app/oracle
# chmod -R 775 /u01/app/oracle

4.Configuring the Linux Kernel Parameters

Oracle Database requires the kernel parameter settings shown below. The values given are minimums, so if your system uses a larger value, don't change it.

kernel.shmall = 2097152
kernel.shmmax = 536870912
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default=262144
net.core.wmem_default=262144
net.core.rmem_max=262144
net.core.wmem_max=262144

you can set this parameters by simply open the file with the any text editor of Linux otherwise use cut command like following and just cut and paste the following commands while logged in as root.

# cat >> /etc/sysctl.conf <<EOF
> kernel.shmall = 2097152
> kernel.shmmax = 536870912
> kernel.shmmni = 4096
> kernel.sem = 250 32000 100 128
> fs.file-max = 65536
> net.ipv4.ip_local_port_range = 1024 65000
> EOF

# /sbin/sysctl -p
net.ipv4.ip_forward = 0
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.default.accept_source_route = 0
kernel.sysrq = 0
kernel.core_uses_pid = 1
kernel.shmall = 2097152
kernel.shmmax = 536870912
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default = 262144
net.core.wmem_default = 262144
net.core.rmem_max = 262144
net.core.wmem_max = 262144

Oracle recommends setting limits on the number of processes and open files each Linux account may use. To make these changes, cut and paste the following commands as root:

cat >> /etc/security/limits.conf <<EOF
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
EOF

cat >> /etc/pam.d/login <<EOF
session required /lib/security/pam_limits.so
EOF

Note - For RHEL4, use the following for defining user settings:

cat >> /etc/profile <<EOF
if [ \$USER = "oracle" ]; then
if [ \$SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
umask 022
fi
EOF

cat >> /etc/csh.login <<EOF
if ( \$USER == "oracle" ) then
limit maxproc 16384
limit descriptors 65536
umask 022
endif
EOF

Starting the Installation of Oracle

Use the graphical login to log in as oracle user.

Then after the login locate the installation directory and Start the Oracle Universal Installer from software location and follow the following installations steps

$ ./runInstaller
after the starting the installation process follow the these steps and Options

1. Select Installation Method

  • Select Basic Installation
  • Oracle Home Location: /u01/app/oracle/product/10.2.0/db_1
  • Installation Type: Enterprise Edition (1.3GB)
  • UNIX DBA Group: oinstall
  • Make sure Create Starter Database is checked
  • Global Database Name: demo1
  • Enter the Database Password and Confirm Password
  • Click on Next

2. Specify Inventory Directory and Credentials

  • Inventory Directory: /u01/app/oracle/oraInventory
  • Operating System group name: oinstall
  • Click on Next

3.Product-specific Prerequisite Checks

  • If you've been following the steps in this guide, all the checks should pass without difficulty. If one or more checks fail, correct the problem before proceeding.
  • Click on Next

4.Summary

  • A summary of the products being installed is presented.
  • Click on Install.

5.Configuration Assistants

  • The Oracle Net, Oracle Database, and iSQL*Plus configuration assistants will run automatically

6.Execute Configuration Scripts

  • At the end of the installation, a pop up window will appear indicating scripts that need to be run as root. Login as root and run the indicated scripts.
  • Click on OK when finished.

7.End of Installation

  • Make note of the URLs presented in the summary, and click on Exit when ready.

8.Congratulations! Your new Oracle Database database is up and ready for use.

---------------------------------------------------------------------------------------------------------------------------------------