I hereby claim:
- I am mmaha on github.
- I am mmaha (https://keybase.io/mmaha) on keybase.
- I have a public key whose fingerprint is CBD1 DEB9 D772 F906 FF2D 457F 9A95 E70D 7334 2690
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# sudo service iptables stop | |
iptables: Flushing firewall rules: [ OK ] | |
iptables: Setting chains to policy ACCEPT: filter [ OK ] | |
iptables: Unloading modules: [ OK ] | |
#!/bin/sh | |
# Reference: http://docs.oracle.com/cd/B28359_01/server.111/b32009/strt_stp.htm | |
# | |
if [[ $EUID -ne 0 ]]; then | |
echo "This script needs to be run as root (or oracle)" | |
exit 1 | |
fi | |
export ORACLE_HOME=`cat /etc/oratab | grep -v "^#" | grep -v "^$" | cut -d':' -f 2` | |
export ORACLE_SID=`cat /etc/oratab | grep -v "^#" | grep -v "^$" | cut -d':' -f 1` |
#!/bin/sh | |
ps -ef | grep "weblogic\.Name" | sed 's/.*weblogic\.Name=//g' | cut -d ' ' -f 1 |
connect('weblogic', 'Abcd1234', 't3://localhost:7001') | |
listLoggers(pattern="oracle.oam.*", target="oam_server1") | |
exit() |
ls *.wlst | xargs -I{} -n 1 sh -c "echo '--- {} ---'; cat {}" |
Enter the following commands to shut down the instance: | |
$ sqlplus /nolog | |
SQL> CONNECT SYS/sys_password as SYSDBA | |
SQL> SHUTDOWN NORMAL | |
Enter the following commands to start the instance: | |
$ sqlplus /nolog |
SET sqlprompt '&_user:&_connect_identifier > ' | |
define _editor=vi | |