OS75 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. windows / batch script 날짜 date,time @echo off rem 날짜포맷만 가지고 변수로 지정 rem setlocal enableextensions rem 오전시간 시간이 1자리인경우 left "0" 추가 set hour=%time:~0,2% if "%time:~0,1%"==" " set hour=0%time:~1,1% set arcname1=%date:~0,4%%date:~5,2%%date:~8,2%%hour%%time:~3,2%%time:~6,2% rem YYYYMMDDHH24mi echo %arcname1% 2020. 4. 19. 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. linux / centos7 / hostname [root@localhost ~]# hostname localhost.localdomain [root@localhost ~]# set-hostname ABCD -bash: set-hostname: command not found [root@localhost ~]# [root@localhost ~]# hostnamectl set-hostname ABCD [root@localhost ~]# [root@localhost ~]# hostname abcd [root@localhost ~]# ssh재접속시 적용됨 2020. 4. 19. 이전 1 ··· 13 14 15 16 17 18 19 다음 반응형