본문 바로가기

centos24

centos / openjdk [root@localhost ~]# yum list java*jdk-devel Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: centos.mirror.cdnetworks.com * extras: centos.mirror.cdnetworks.com * updates: centos.mirror.cdnetworks.com Available Packages java-1.6.0-openjdk-devel.x86_64 1:1.6.0.41-1.13.13.1.el7_3 base java-1.7.0-openjdk-devel.x86_64 1:1.7.0.171-2.6.13.0.el7_4 updates java-1.8.0-open.. 2020. 4. 19.
crontab / crond 1. OS version [root@instance-1 ~]# cat /etc/*release* CentOS Linux release 7.9.2009 1. crond 프로세스 확인 [root@instance-1 ~]# service crond status Redirecting to /bin/systemctl status crond.service● crond.service - Command Scheduler Loaded: loaded (/usr/lib/systemd/system/crond.service; enabled; vendor preset: enabled) Active: active (running) ... [root@instance-1 ~]# 2. crond 시작/정지/재시작 [root@instan.. 2020. 4. 17.
yum / update / 자동 업데이트 yum -y install yum-cron systemctl enable yum-cron systemctl restart yum-cron 설정파일 vi /etc/yum/yum-cron.conf .. [email] # The address to send email messages from. # NOTE: 'localhost' will be replaced with the value of system_name. email_from = root@localhost # List of addresses to send messages to. email_to = root # Name of the host to connect to to send email messages. email_host = localhost .. 2020. 4. 17.
CentOS 설치 후 기본작업내용 1. yum 자동업데이트 yum -y update yum -y install yum-cron systemctl enable yum-cron systemctl restart yum-cron vi /etc/yum/yum-cron.conf ... apply_updates = yes ... 서비스 목록 확인 systemctl list-unit-files --type=service 해당서비스의 상태확인 systemctl status sshd.service 부팅시 실행되는 서비스인지 확인(ex : sshd) systemctl is-enabled sshd -------- Cent OS 8 [root@nginx audit]# yum -y install dnf-automatic [root@nginx audit]# dnf.. 2019. 4. 15.
반응형