본문 바로가기

centos24

centos / timezone변경 UTC --> KST [root@ip-172-31-17-53 opt]# date Thu Sep 11 16:41:45 UTC 2014 [root@ip-172-31-17-53 opt]# ls -al /etc/localtime -rw-r--r--. 1 root root 118 Jan 11 2014 /etc/localtime [root@ip-172-31-17-53 opt]# ln -sf /usr/share/zoneinfo/Asia/Seoul /etc/localtime [root@ip-172-31-17-53 opt]# ls -al /etc/localtime lrwxrwxrwx. 1 root root 30 Sep 12 01:47 /etc/localtime -> /usr/share/zoneinfo/Asia/Seoul [root@ip-17.. 2020. 4. 22.
centos / ntp ---------------------------centos 7 ----------------------------------- yum -y install ntp systemctl enable ntpd systemctl restart ntpd systemctl status ntpd.service systemctl is-enabled ntpd.service ---------------------------centos 6 ----------------------------------- 1. ntp설치 # yum install ntp 2.ntp설정 # vi /etc/ntp.conf ... server kr.pool.ntp.org server time.bora.net server time.kornet.net ... 2020. 4. 21.
centos / port forwarding / 80 , 8080 80 port 8080 port port forwarding cent OS 7 포트 포워딩 sample firewall-cmd --zone=public --add-forward-port=port=80:proto=tcp:toport=8080 --permanent firewall-cmd --reload firewall-cmd --permanent --zone=internal --add-masquerade firewall-cmd --reload [root@WAS live]# firewall-cmd --list-all public (active) target: default icmp-block-inversion: no interfaces: ens192 sources: services: dhcpv6-client .. 2020. 4. 19.
jenkins / centos 1.사전설치 jdk wget 2.jenkins 설치 wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo rpm --import https://jenkins-ci.org/redhat/jenkins-ci.org.key yum install jenkins 3. jenkins 설치경로 /var/lib/jenkins 4. jenkins 포트변경 vi /etc/sysconfig/jenkins JENKINS_PORT="9090" :wq! 5. jenkins 서비스시작 /etc/init.d/jenkins start 6. jenkins 설치 확인 yum list jenkins 7. jenkins 설치 버전 삭제 yum re.. 2020. 4. 19.
반응형