摘要:
- hosts: gale remote_user: root gather_facts: no tasks: - name: get path command: |+ pwd register: result - name: get debug result debug: var=result v 阅读全文
posted @ 2021-08-02 17:57
ascertain
阅读(1049)
评论(0)
推荐(0)
摘要:
hostname : 内核变量位置 /proc/sys/kernel/hostname, 启动时,会从 /etc/hostname读取 man hostname hostname 可获取 fqdn ip domain 还有 nis 等选项 设置Linux 的domain的方式,在 /etc/host 阅读全文
posted @ 2021-08-02 17:43
ascertain
阅读(365)
评论(0)
推荐(0)
摘要:
解决超卖 package ersatz.thread; public class T { public static void main(String[] args) { Ticket ticket = new Ticket(); new Thread(ticket).start(); new Th 阅读全文
posted @ 2021-08-02 13:41
ascertain
阅读(51)
评论(0)
推荐(0)
摘要:
package ersatz.thread; public class T { public static void main(String[] args) throws InterruptedException { B b = new B(); b.start(); Thread.sleep(5 阅读全文
posted @ 2021-08-02 11:08
ascertain
阅读(80)
评论(0)
推荐(0)

浙公网安备 33010602011771号