February 2018
M T W T F S S
 1234
567891011
12131415161718
19202122232425
262728  

Categories

February 2018
M T W T F S S
 1234
567891011
12131415161718
19202122232425
262728  

Forgot SYS password in oracle 11g

su – oracle

sqlplus /nolog connect / as sysdba

show user

Once connected, you can change the SYS password to something you know: ALTER USER sys IDENTIFIED BY new_password;

 

 

CentOS 6.9 Docker

CentOS 6.9 Docker

public key

rpm –import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org

ELRepo Centos6?

rpm -Uvh http://www.elrepo.org/elrepo-release-6-6.el6.elrepo.noarch.rpm

Cenos7?

rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm (external link)

kernel

yum –enablerepo=elrepo-kernel install -y kernel-lt

yum –enablerepo=elrepo-kernel install -y kernel-ml

vi /etc/grub.conf

default

# grub.conf generated by anaconda # default=0 timeout=5 splashimage=(hd0,0)/boot/grub/splash.xpm.gz hiddenmenu title CentOS (3.10.28-1.el6.elrepo.x86_64) root (hd0,0) kernel /boot/vmlinuz-3.10.28-1.el6.elrepo.x86_64 ro root=UUID=0a05411f-16f2-4d69-beb0-2db4cefd3613 rd_NO_LUKS KEYBOARDTYPE=pc KEYTABLE=us […]