摘要: ETCD版本:v3.5 参考:https://etcd.io/docs/v3.5/op-guide/hardware/ etcd 通常在资源有限的情况下运行良好,用于开发或测试目的; 在笔记本电脑或便宜的云机器上使用 etcd 进行开发是很常见的。 但是,在生产中运行 etcd 集群时,一些硬件指南 阅读全文
posted @ 2021-07-21 10:16 Varden 阅读(1073) 评论(0) 推荐(0)
摘要: Rancher版本:v2.5 本节描述 Kubernetes 中的 etcd 节点、 controlplane 节点和 worker 节点的角色,以及这些角色如何在集群中协同工作。 线条显示了组件之间的通信。颜色纯粹用于视觉辅助。 ##etcd etcd 角色的节点将运行 etcd,etcd 是一个 阅读全文
posted @ 2021-07-21 10:12 Varden 阅读(1822) 评论(0) 推荐(0)
摘要: 安装软件 # apt-get install tftpd-hpa isc-dhcp-server apache2 whois 配置dhcp服务器 #配置文件:/etc/dhcp/dhcpd.conf option domain-name "example.org"; default-lease-ti 阅读全文
posted @ 2020-11-12 08:30 Varden 阅读(1639) 评论(0) 推荐(0)
摘要: # update-alternatives --list python # update-alternatives --install /usr/bin/python python /usr/bin/python2.7 2 # update-alternatives --install /usr/b 阅读全文
posted @ 2020-11-10 17:16 Varden 阅读(492) 评论(0) 推荐(0)
摘要: 添加到主机的路由 # route add -host 192.168.1.2 dev eth0:0 # route add -host 10.20.30.148 gw 10.20.30.40 添加到网络的路由 # route add -net 10.20.30.40 netmask 255.255. 阅读全文
posted @ 2020-11-10 17:15 Varden 阅读(3514) 评论(0) 推荐(0)
摘要: 通用组件 wget apt-transport-https net-tools iftop tcpdump ceph-fuse chrony 虚拟化 qemu qemu-kvm libvirt-bin libvirt-daemon-system libvirt-clients virt-manage 阅读全文
posted @ 2020-11-10 17:09 Varden 阅读(100) 评论(0) 推荐(0)
摘要: 获取帮助 $ man 5 netplan 获取配置文件示例 # dpkg -L netplan.io ... /etc/netplan 生效的配置文件路径 /usr/share/doc/netplan.io/examples/bonding.yaml 接口绑定示例 network: version: 阅读全文
posted @ 2020-11-10 17:03 Varden 阅读(4327) 评论(0) 推荐(0)
摘要: - 网卡与DNS配置 ``` $ sudo vim /etc/netplan/01-netcfg.yaml # This file describes the network interfaces available on your system # For more information, se 阅读全文
posted @ 2020-11-10 16:56 Varden 阅读(690) 评论(0) 推荐(0)
摘要: 安装软件 # apt-get install tightvncserver xrdp # apt-get install xubuntu-desktop 将xfce4-session写入到文件.xsession中 # echo "xfce4-session" > ~/.xsession 修改 /et 阅读全文
posted @ 2020-11-10 16:43 Varden 阅读(1663) 评论(0) 推荐(0)
摘要: 环境说明 Ubuntu 16.04 LTS 安装软件 安装apache2: apt-get install apache2 配置以后不升级: apt-mark hold apache2 配置 创建/etc/apache2/conf-available/http-fileserver.conf配置文件 阅读全文
posted @ 2020-11-10 16:38 Varden 阅读(994) 评论(0) 推荐(0)
摘要: 创建用户并修改权限 # useradd -s /bin/bash testuser # passwd testuser //密码设置 # mkdir /home/testuser # chown -R testuser.testuser /home/testuser/ 修改组权限 # chmod - 阅读全文
posted @ 2020-11-10 16:19 Varden 阅读(103) 评论(0) 推荐(0)
摘要: 安装squid $ sudo apt-get install squid 配置squid $ sudo vim /etc/squid/squid.conf 注释以下行: http_access deny !Safe_ports http_access deny CONNECT !SSL_ports 阅读全文
posted @ 2020-11-10 16:14 Varden 阅读(148) 评论(0) 推荐(0)
摘要: 环境说明 Ubuntu 16.04 LTS 安装chrony # apt-get install chrony 查看时间同步源 # chronyc sources -v 查看时间同步源状态 # chronyc sourcestats -v 配置chrony服务端 当Chrony启动时,它会读取/et 阅读全文
posted @ 2020-11-10 15:16 Varden 阅读(5014) 评论(0) 推荐(1)
摘要: 刚刚安装的新服务器几乎崩溃了,所有内核的CPU利用率都超过50%!但是,安装ubuntu 16.04服务器后还没有运行任何东西... 一些快速的发现指向了一个名为“ m6502”的进程,该进程正在多次迭代中运行(每个CPU内核一个),并且该过程完全由用户负责。 在研究“ m6502”时,我发现它是标 阅读全文
posted @ 2020-11-10 14:49 Varden 阅读(1565) 评论(0) 推荐(0)
摘要: 环境说明 Ubuntu 16.04 LTS 安装软件 sudo apt-get install ubuntu-desktop sudo apt-get install gnome Ubuntu下切换回经典GNOME桌面的方法,打开终端输入:(目前,Fedora 15等发行版本采用GNOME 3 作为 阅读全文
posted @ 2020-11-10 14:43 Varden 阅读(961) 评论(0) 推荐(0)
摘要: #环境说明 Ubuntu 16.04 LTS #插件安装 apt-get install ifenslave #配置interfaces auto lo bond0 eth0 eth1 iface bond0 inet static address 192.168.4.134 netmask 255 阅读全文
posted @ 2020-11-10 14:31 Varden 阅读(822) 评论(0) 推荐(0)
摘要: 字符界面亦即tty1 ~ tty6 $ sudo ln -sf /usr/lib/systemd/system/multi-user.target /etc/systemd/system/default.target 或 $ sudo systemctl set-default multi-user 阅读全文
posted @ 2020-11-10 14:09 Varden 阅读(205) 评论(0) 推荐(0)
摘要: 按shift进入: 开机到grub时,用上下键移到第二行的恢复模式,按e(注意不是回车) 即Ubuntu,With Linux 3.2.0-23-generic(recovery mode) 把ro recovery nomodeset 改成rw single init=/bin/bash 然后按c 阅读全文
posted @ 2020-11-10 14:05 Varden 阅读(738) 评论(0) 推荐(0)
摘要: 版本代号说明 18.04 lts -- bionic 16.04 lts -- xenial 14.04 lts -- trusty 官方源 deb http://cn.archive.ubuntu.com/ubuntu/ bionic main restricted universe multiv 阅读全文
posted @ 2020-11-10 14:02 Varden 阅读(947) 评论(0) 推荐(0)
摘要: 注:ubuntu16.04默认没有openjdk-7-jdk的安装源,必须另外添加。 # add-apt-repository ppa:openjdk-r/ppa # apt-get update # apt-cache search openjdk # apt-get install openjd 阅读全文
posted @ 2020-11-10 13:53 Varden 阅读(822) 评论(0) 推荐(0)