Oracle (오라클) sys , system Password (비밀번호) 변경
sqlplus / as sysdba show user 하면 sys 라고 나올테고 alter user system identified by 새암호 ; 로 변경하고 conn sys/새암호 as sysdba; – 암호가 숫자로 시작할 경우에는 “새암호”
Linux 에 대한 기본 정보에 대해 알아봅니다.
sqlplus / as sysdba show user 하면 sys 라고 나올테고 alter user system identified by 새암호 ; 로 변경하고 conn sys/새암호 as sysdba; – 암호가 숫자로 시작할 경우에는 “새암호”
linux 6.8 (Centos ) 에 자바 ( jdk 1.8 ) 버전을 설치해 보겠습니다. jdk 1.8 다운로드 링크 http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html 우선 jdk 를 다운로드 해야 합니다. 위 링크 따라 들어가셔서 알맞은 버전을 다운 받으시면 됩니다. 저는 리눅스 용 64bit gz 파일을 다운로드 하였습니다. 윈도우에서 다운 받은 후.. 리눅스로 옮겨 주시면 됩니다. 우선.. 리눅스 6.8 의 자바 … 더 읽기
# linux 7 , Centos 7 , redhat 7 ssh port 변경 # vi 편집기로 하기 경로로 들어가 주세요. vi /etc/ssh/sshd_config 기본적으로 Port 22 로 설정이 되어있습니다. 그림처럼 원하시는 포트를 바로 아래 추가해 주신 후 저장 Port 는 첫 P는 대문자로 설정 해주세요. 하기 명령어로 재시작 해주시면 됩니다. systemctl restart sshd.service
현재 80 포트를 사용중인 프로세스 확인 [root@hdd ~]# netstat -tnlp | grep 80 tcp 0 0 0.0.0.0:8081 0.0.0.0:* LISTEN 5133/Filed tcp 0 0 :::80 :::* LISTEN 4161/httpd httpd 가 실행되고 있지 않음에도 사용중인 포트로 나옴 죽임 [root@hdd ~]# kill 4161 다시 확인 [root@hdd ~]# netstat -tnlp | grep 80 tcp 0 0 0.0.0.0:8081 0.0.0.0:* LISTEN … 더 읽기
linux 8.x 시간 동기화 방법 입니다. 9 버전도 가능하고 Centos 8 , redhat 8,9 , rockylinux 8,9 버전도 가능 합니다. 현재 시간은 2023. 07. 04. (화) 13:50:46 시간 확인 [root@localhost ~]# date 2023. 06. 30. (금) 07:30:29 EDT timezone 을 변경 했지만 시간이 더 맞지 않습니다. [root@localhost ~]# timedatectl set-timezone Asia/Seoul [root@localhost ~]# [root@localhost … 더 읽기
redhat 8 버전부터 local repo 적용하는게 변경되었습니다. [local 레포지터리 생성 ] rhel-8.2-x86_64-dvd.iso 파일을 /root에 복사 mount -t iso9660 -o loop /root/rhel-8.2-x86_64-dvd.iso /media -> iso 파일을 통째로 넣었을때 마운트 방법 또는 # mount /dev/sr0 /media -> iodd 나 CD 롬에 이미지를 넣었을때 방법 mkdir /repository -> 폴더를 생성하고 cp -a /media/* /repository/ -> 마운트 … 더 읽기
# linux / Centos / Redhat watch 명령어 / 시간 명령어 # linux 에서 watch 명령어는 원하는 명령어의 결과를 원하는 시간 주기로 리프레시 하여 결과를 보여주는 명령어 입니다. hardware 의 성능 , 사용량 , 자원 등을 모니터링 하거나 특정 명령어를 반복적으로 입력해서 결과값을 확인하여야 할 때 유용하게 사용 할 수 있습니다. # watch –help # # 기본 사용방법 # watch [-d] [-n seconds] ‘command’ 종료는 [Ctrl + c] -d 옵션은 … 더 읽기
redhat 8 버전부터 local repo 적용하는게 변경되었습니다. [local 레포지터리 생성 ] rhel-8.2-x86_64-dvd.iso 파일을 /root에 복사 mount -t iso9660 -o loop /root/rhel-8.2-x86_64-dvd.iso /media -> iso 파일을 통째로 넣었을때 마운트 방법 또는 # mount /dev/sr0 /media -> iodd 나 CD 롬에 이미지를 넣었을때 방법 … 더 읽기
[root@demo ~]# yum install http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm Loaded plugins: fastestmirror, langpacks nux-dextop-release-0-1.el7.nux.noarch.rpm | 9.6 kB 00:00:00 Examining /var/tmp/yum-root-pAi8ef/nux-dextop-release-0-1.el7.nux.noarch.rpm: nux-dextop-release-0-1.el7.nux.noarch Marking /var/tmp/yum-root-pAi8ef/nux-dextop-release-0-1.el7.nux.noarch.rpm to be installed Resolving Dependencies –> Running transaction check —> Package nux-dextop-release.noarch 0:0-1.el7.nux will be installed –> Finished Dependency Resolution Dependencies Resolved ==================================================================================================================== Package Arch Version Repository Size ==================================================================================================================== Installing: nux-dextop-release noarch 0-1.el7.nux /nux-dextop-release-0-1.el7.nux.noarch 3.5 k Transaction Summary ==================================================================================================================== Install 1 Package Total size: 3.5 k Installed size: 3.5 k Is this ok [y/d/N]: y Downloading packages: Running transaction check Running transaction test Transaction test succeeded Running transaction Warning: RPMDB altered outside of yum. Installing : nux-dextop-release-0-1.el7.nux.noarch 1/1 Verifying : nux-dextop-release-0-1.el7.nux.noarch 1/1 Installed: nux-dextop-release.noarch 0:0-1.el7.nux Complete! [root@demo ~]# yum install exfat-utils fuse-exfatLoaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile * base: mirror.kakao.com * extras: ftp.iij.ad.jp * nux-dextop: li.nux.ro * updates: ftp.iij.ad.jp nux-dextop | 2.9 kB 00:00:00 nux-dextop/x86_64/primary_db | 1.8 MB 00:00:10 Resolving Dependencies –> Running transaction check —> Package exfat-utils.x86_64 0:1.2.7-1.el7.nux will be installed —> Package fuse-exfat.x86_64 0:1.2.7-1.el7.nux will be installed –> Finished Dependency Resolution Dependencies Resolved ==================================================================================================================== Package Arch Version Repository Size ==================================================================================================================== Installing: … 더 읽기
[root@demo ~]# at 23:00 2019-07-26 ==> 19년 7월 26일날 스케쥴 등록 at> shutdown -h now ==> 위 날에 셧다운 하겠다 at> ==> ctrl + D로 작업내용 저장 at> <EOT> job 6 at Fri Jul 26 23:00:00 2019 [root@demo ~]# at -l ==> 작업확인 6 Fri Jul 26 23:00:00 2019 a root ==> 작업 확인 완료. … 더 읽기