OS75 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. ssh / port 수정 sshd port 수정 [CentOS 6.x] vi /etc/ssh/sshd_config Port 포트번호 service sshd restart 방화벽 해당port추가 vi /etc/sysconfig/iptables -A INPUT -m state –state NEW -m tcp -p tcp –dport 포트번호 -j ACCEPT service iptables restart [CentOS 7.x] vi /etc/ssh/sshd_config ... #Port 22 Port 새로운 포트번호 ... service sshd restart 방화벽 해당port추가 firewall-cmd --permanent --zone=public --add-port=5050/tcp 방화벽 재시작 firewall-cmd --rel.. 2020. 4. 17. sun / SPARC 2020. 4. 17. 이전 1 ··· 14 15 16 17 18 19 다음 반응형