PowerShell

시놀로지 NAS

ubuntu 20.04

cacti 구축하기

#PowerShell 방화벽 오픈
New-NetFirewallRule -DisplayName "influxdb 8086" -Direction inbound -Profile Any -Action Allow -LocalPort 8086 -Protocol TCP
# CentOS firewall 특정 아이피 오픈
sudo firewall-cmd --permanent --add-rich-rule='rule family="ipv4" source address=125.141.35.165 port port="10050" protocol="tcp" accept'
# 서비스 중지
sc.exe stop PhoneSvc

# 서비스 시작 형태 - 수동
sc.exe config PhoneSvc start=demand