コード例 #1
0
ファイル: InstallService.py プロジェクト: hao707822882/Bichon
 def installNginx(self, hostKey):
     broker = Broker.getBroker(hostKey)
     broker.installNginx()
コード例 #2
0
ファイル: InstallService.py プロジェクト: hao707822882/Bichon
 def installMysql(self, hostKey):
     broker = Broker.getBroker(hostKey)
     broker.installMysql()
コード例 #3
0
 def iptables(self, hostKey, port):
     broker = Broker.getBroker(hostKey)
     broker.closePort(port)
コード例 #4
0
ファイル: InstallService.py プロジェクト: hao707822882/Bichon
 def installMysql(self, hostKey):
     broker = Broker.getBroker(hostKey)
     broker.installMysql()
コード例 #5
0
 def portClose(self, hostKey, port):
     broker = Broker.getBroker(hostKey)
     broker.closePort(port)
コード例 #6
0
 def portOpen(self, hostKey, port):
     broker = Broker.getBroker(hostKey)
     broker.openPort(port)
コード例 #7
0
 def ipClose(self, hostKey, ip):
     broker = Broker.getBroker(hostKey)
     broker.Limit(ip)
コード例 #8
0
 def ipOpen(self, hostKey, ip):
     broker = Broker.getBroker(hostKey)
     broker.unLimit(ip)
コード例 #9
0
 def antivirus(self, hostKey, path):
     broker = Broker.getBroker(hostKey)
     return broker.antivirus(path)