RightMethod
Tuesday, January 06, 2004
Configuring Toad to work over ssh
In order to configure toad to work with our rightmethod server do the following:
open putty
if you already have rightmethod session saved, then load it, but do not start it,
otherwise:
- put 69.10.138.4 in the hostname box and specify SSH as your protocol
- give it a session name (rightmethod sounds good)
- click on SSH and Tunnels tree node on the left hand side
- in the bottom section
- put 1521 as the source port
- localhost:1521 as the destination, leave the radio button selected to local
- click add
you should now have an entry in the forwarded ports section that looks like this:
L1521 localhost:1521
now click on the session tree node on the left hand side and save the session
now you are ready to open it
putty terminal window comes up
log in as normal using your account and user name
we will now need to edit your tnsnames.ora
open it:
add the following for our rmd instance:
RMD.RIGHTMETHOD.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = LOCALHOST)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = rmd.rightmethod.com)
)
)
note that both instance name and service name are rmd.rightmethod.com
you are now ready to use toad
have fun!
Monday, January 05, 2004
In order to tell RedHat what things to start during boot up I used a neat utility:
ntsysv
Also in order to see what ports are in use this is a more handy command than netstat,
lsof -i or lsof | grep 8080
Ryan's apt-get problems were a result of named service not being started. This is now solved by named being started automatically.
When time comes to set up tomcat and apache together this is a good way to do it:
http://www.linuxgazette.com/issue95/millson.html
In order to get Tomcat to use port 80 i had to do the following:
http://www.klawitter.de/tomcat80.html
After having set up Oracle 9i and tomcat i found out that Oracle XML DB steals port 8080 and will not let go. I had to do the following:
open dbca and change ports and disable xml db.
http://www.interealm.com/technotes/roby/xdb_ports.html