01 2021 档案
摘要:3种方法更改Linux系统的主机名(hostname) 最后更新于: 2016-03-31 Linux魔法师 0 Comment Debian, Linux 101, 最新文章 这篇文章介绍更改Linux系统主机名(hostname)的3种方法。 查看当前的主机名 首先我们使用hostname命令来
阅读全文
摘要:apt-get install git -y git config --global http.postBuffer 524288000 git config --global http.postBuffer 24288000000 git clone git://github.com/openst
阅读全文
摘要:1.查看虚拟机 root@ubuntu:~# virsh list --all setlocale: No such file or directory Id Name State 4 vm1 running 5 vm2 running - kvm1 shut off 2.查看虚拟机mac地址 ro
阅读全文
摘要:1.添加硬盘 2.创建PV VG LV root@ubuntu:~# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 30G 0 disk |-sda1 8:1 0 28G 0 part / |-sda2 8:2 0 1K 0 part
阅读全文
摘要:cpu芯片 32位 root@ubuntu:# arch i686 root@ubuntu:# uname -m i686 Error found when loading /root/.profile错误 终端输入:nano /root/.profile mesg n 进行注释,在前面加上# 增加
阅读全文
摘要:1.配置/etc/apt/sources.list注释掉国外原块选中ctrl+v、shift+3(#)、esc 2次 deb http://mirrors.163.com/ubuntu/ trusty main restricted universe multiverse deb http://mi
阅读全文
摘要:Ubuntu 版本:ubuntu 12.04 1 . 打开 vim /etc/network/interfaces 2 . 添加网卡配置(静态获取IP和DHCP获取IP选一个配置即可) 静态获取IP auto lo iface lo inet loopback auto eth0 iface eth
阅读全文
摘要:kubectl create -f hello-svc.yaml kubectl get svc -o wide kubectl get svc hello-world -o yaml kubectl get ep hello-world -o yaml
阅读全文
摘要:完整的 MongoDB Dockerfile # Version 0.1 # 基础镜像 FROM ubuntu:14.04 # 维护者信息 MAINTAINER shiyanlou@shiyanlou.com # 镜像操作命令 RUN echo "deb http://mirrors.cloud.a
阅读全文
摘要:DockerFile文件 # 指定基础镜像 FROM ubuntu:14.04 # 安装软件 RUN apt-get update && apt-get install -y openssh-server && mkdir /var/run/sshd # 添加用户 shiyanlou 及设定密码 R
阅读全文

浙公网安备 33010602011771号