201911-22 Docker容器里centos、unbuntu无法使用 systemctl 命令 注@# 据说在 Linux Docker中无法使用 systemd(systemctl) 相关命令的原因是 1号进程不是 init ,而是其他例如 /bin/bash ,所以导致缺少相关文件无法运行。(System has not been booted with systemd as init system (PID 1). Can't operat)例:错误如下 .... Read More >
201809-02 ubuntu 服务器基础配置 设置静态ip vim /etc/network/interfaces [crayon-67b2393f0185a562154631/] 注意上面的网卡名称 要换成你自己机器的名称 设置DNS [crayon-67b2393f01860919026413/] 3、重启networking服务使其生效 [crayon-67b2393f018646758030.... Read More >
201703-17 Ubuntu crontab定时任务 crontab 定时任务报错:crontab -e 然后 保存下退出。估计是新账户并没有crontab文件。 1.查看定时任务状态: [crayon-67b2393f01c59615599437/] 2.编写定时任务 [crayon-67b2393f01c5f233806684/] ubuntu初次使用会让你选择文本编辑器,默认是 nano ,但是我.... Read More >