To change hostname:
https://superuser.com/questions/451082/redhat-enterprise-linux-6-edit-hostname
-------------------------------------
xming and x11 forwarding for putty :
if you are installing oracle software , then x11 forwarding for putty and xming software should be running.
1) First start the xming with value 0 .
2) open putty --> left side --> click on connection--->ssh-->X11---> check "enable x11 forwarding"--> x display locatoin = localhost:0 and go to session , enter ip address and save setting.
3) open putty and test by entering xclock. it was working.
when xclock was working , I check display variable both as oracle user and root user it was set to "localhost:10.0" , not sure how it got set to 10.0
[root@PRIMARY ~]# echo $DISPLAY
localhost:10.0
https://www.youtube.com/watch?v=CoN3nbB4tQc -- > for setting display
==============================================================
shutdown -h now as root user to shut down the linux.
reboot is for restart
------------------
how to replace words in vi editor.
:%s/DGDB1/DGDB2/g
how to copy folder from server to server using SCP.
scp -r DGDB1 OELSTN:/oracle/oradata/fra
-------------------------------------
xming and x11 forwarding for putty :
if you are installing oracle software , then x11 forwarding for putty and xming software should be running.
1) First start the xming with value 0 .
2) open putty --> left side --> click on connection--->ssh-->X11---> check "enable x11 forwarding"--> x display locatoin = localhost:0 and go to session , enter ip address and save setting.
3) open putty and test by entering xclock. it was working.
when xclock was working , I check display variable both as oracle user and root user it was set to "localhost:10.0" , not sure how it got set to 10.0
[root@PRIMARY ~]# echo $DISPLAY
localhost:10.0
https://www.youtube.com/watch?v=CoN3nbB4tQc -- > for setting display
==============================================================
shutdown -h now as root user to shut down the linux.
reboot is for restart
------------------
how to replace words in vi editor.
:%s/DGDB1/DGDB2/g
how to copy folder from server to server using SCP.
scp -r DGDB1 OELSTN:/oracle/oradata/fra
No comments:
Post a Comment