Wednesday, August 27, 2008

Instaling R 12 (Step by Step)

Instaling R 12 (Step by Step)
login as: root
root@qasim's password:
[root@qasim ~]# df -h
NAS1:/NAS1 1.4T 671G 693G 50% /u01
NAS2:/NAS2 1.4T 534G 830G 40% /u02
[root@qasim ~]# useradd -d /home/ebsora -m -g dba ebsora
[root@qasim ~]# useradd -d /home/ebsapp -m -g dba ebsapp
[root@qasim ~]# ls
anaconda-ks.cfg Desktop install.log install.log.syslog Screenshot.png
[root@qasim ~]# passwd ebsora
Changing password for user ebsora.
New UNIX password:
BAD PASSWORD: it is based on a dictionary word
Retype new UNIX password:
passwd: all authentication tokens updated successfully.
[root@qasim ~]# passwd ebsapp
Changing password for user ebsapp.
New UNIX password:
BAD PASSWORD: it is based on a dictionary word
Retype new UNIX password:
passwd: all authentication tokens updated successfully.
[root@qasim ~]# cd /u01
[root@qasim u02]# mkdir ebsapp
[root@qasim u02]# chmod 777 ebsapp
[root@qasim u02]# chown -R ebsapp:dba ebsapp
[root@qasim u02]# cd /u01
[root@qasim u01]# mkdir ebsora
[root@qasim u01]# chmod 777 ebsora
[root@qasim u01]# chown -R ebsora:dba ebsora
[root@qasim u01]# cd StageR12
[root@qasim StageR12]# cd startCD
[root@qasim startCD]# cd Disk1
rapidwiz
[root@qasim Disk1]# cd /etc
[root@qasim etc]# vi oraInst.loc
[root@qasim etc]# su - ebsora
[ebsora@qasim ~]$ vncserver

You will require a password to access your desktops.

Password:
Verify:

Warning: qasim:1 is taken because of /tmp/.X11-unix/X1
Remove this file if there is no X server qasim:1

Warning: qasim:2 is taken because of /tmp/.X11-unix/X2
Remove this file if there is no X server qasim:2
xauth: creating new authority file /home/ebsora/.Xauthority

New 'qasim:4 (ebsora)' desktop is qasim:4

Creating default startup script /home/ebsora/.vnc/xstartup
Starting applications specified in /home/ebsora/.vnc/xstartup
Log file is /home/ebsora/.vnc/qasim:4.log

[ebsora@qasim ~]$ ps -ef|grep vnc
root 21548 1 0 15:38 pts/3 00:00:00 Xvnc :3 -desktop qasim:3 (root) -httpd /usr/share/vnc/classes -auth /root/.Xauthority -geometry 1024x768 -depth 16 -rfbwait 30000 -rfbauth /root/.vnc/passwd -rfbport 5903 -pn
root 21552 1 0 15:38 pts/3 00:00:00 vncconfig -iconic
ebsora 21626 1 0 15:41 pts/3 00:00:00 Xvnc :4 -desktop qasim:4 (ebsora) -httpd /usr/share/vnc/classes -auth /home/ebsora/.Xauthority -geometry 1024x768 -depth 16 -rfbwait 30000 -rfbauth /home/ebsora/.vnc/passwd -rfbport 5904 -pn
ebsora 21630 1 0 15:41 pts/3 00:00:00 vncconfig -iconic
ebsora 21663 21591 0 15:41 pts/3 00:00:00 grep vnc

So the VNC is running on port 4 so we will add this to 4+5802 and it will become 5804 and we can access VNC from 5804.

No comments:

Post a Comment