Sunday, January 23, 2011

Samba Server

Hi Friends , if you want to access linux shares from windows and add files into linux share you are at right place.

Scenario :

1 Desktop pc --> Windows vista
1 Desktop pc --> Windows 2000
1 Desktop pc -->  Redhat 5 (RHEL 5)

we will setup samba server on RHEL 5 and then we will access that share from windows 2000 and windows vista.


RHEL 5 :
----------
1)  yum -y install samba*
2)  yum -y install system-config-samba   ( For Samba GUI Configuration )
3)  vim /etc/samba/smb.conf
4)  Look for  hosts allow =  add IP subnets here Ex .     192.168.1.  127.  10.47.0.   NO COMMAS
5)  At the end of File add :
  
     [SHARE NAME]
           comment = root
           path = /                    --> to share
           writeable = yes        --> Connected user can read write
           

6) This information is enough in smb.conf
7)  system-config-samba 
8)  preferences > server setting > security > authentication mode "Share"
9)  preferences > samba users > add user > unix username and enter password for samba 
10) Click on share , click on properties , ACCESS > Allow access to everyone

How to access Shared Folders from windows 2000 and windows vista

1) Run > \\RHEL server ip\

Thats It! Now you can even insert files into share so that it can be visible in RHEL 5! 
Aree ooo Sambaa! Tu to kamal ka software hai!





Friday, December 24, 2010

Configure Listener

I was bit confused when i first read about listeners but now its very simple for me and here i will explain you how to configure listener and start and stop etc.

Concept :
Listener will simple listen on port specified by you and will accept connections on that port , and finally will connect that connection to started instance of database

client --> LISTENER --> DATABASE INSTANCE (Your started database)

Important Things which you will require while configuring listener

  • ORACLE_HOME
  • ORACLE_SID
  • PORT NUMBER ON WHICH LISTENER WILL LISTEN FOR CLIENT CONNECTIONS

To check your SID on Linux Box :   echo $ORACLE_SID
This SID you will configure in your listener which is currently running instance

Navigate to :
  • cd $ORACLE_HOME
  • cd  network/admin
  • vim listener.ora
Configure listener.ora as follows :

HOST : your ip on which your going to listen
PORT : (Your choice)
ORACLE_HOME , ORACLE_SID check with previous command and enter same here in file.

Thats it!
You simply configured listener names LISTENER (by default name)

How to Start Listener :

$ lsnrctl start LISTENER

How to Check :

$ sqlplus girish/girish@//HOSTNAME:PORT/SID


If everything is proper you should get connected to oracle instance!

Thank You!




Saturday, November 6, 2010

Some Good Things to read about Personality development & Life

Hi,

Here are some of articles and weblinks related to positive attitude, personality , life which may help you get better in your hard time..

http://www.essentiallifeskills.net/thinkpositively.html

I will go on posting more links as i read it ,

Thank You ,

Wednesday, November 3, 2010

Zombie Process UNix/Linux

Hi,

Zombie process is a finished process but whose entry is still there in Process Table , to return exit status to Parent process who started it!

How to list Zombie process  :
------------------------------

ps -auxZ | grep "Z"    --> short way to list Zombie processes

You can kill zombie process by killing its parent process


How to Know parent process of zombie process :
---------------------------------------------------

pstree -p | grep "zombie process name"

and kill parent using

kill -9 parent process



Thank You,
have a nice day!

Learn English Online (Free Videos)

Hi,

Well, my english is not so good and wann learn much , i got this gr8 link for Beginners
Enjoy all videos ,

Here i will post all links for learning English

http://www.engvid.com

Have a nice day
Thank you

Saturday, October 30, 2010

Visual Cert Manager With Oracle Dumps

Hi,
Visual cert is a very good exam simulator ,
you can download full version from here  Download Here

1) Download it and click on registry file to make it full version
2) Start the software and import oracle 1z0-007 file in it and start the test!


Enjoy Simulator!
Thank You,

Monday, October 25, 2010

Could not open virtual machine (Already in use)

Hello ,

I was running Red Hat Enterprise Linux 5 in virtual machine on Windows XP , due to some OS problem i decided to use alternate Windows VISTA which was also installed physically ,
So when i started vista and opend VMware Configuration file , i came across this error .

Solution : (Little problem but very common one)
-----------

Simple go to location where you installed OS and check .lck folder
Delete any .lck files in this folder and its done!

Now you can run your OS without any problem!

Thank You ,
Have a nice day