proxmox笔记1

1、配置管理IP到VLAN

登陆shell,修改/etc/network/interface文件

auto vmbr0
iface vmbr0 inet manual
        bridge-ports eno1 eno2 eno3 eno4
        bridge-stp off
        bridge-fd 0
        bridge-vlan-aware yes
        bridge-vids 2-4094

auto vmbr0.100
iface vmbr0.100 inet static
        address 192.168.100.1/24
        gateway 192.168.100.254

2、通过代理连接上网更新或安装ceph

修改/etc/apt/apt.conf(如果没有此文件就新建一个)

Acquire::http::Proxy  "http://192.168.2.1:8888";
Acquire::https::Proxy "http://192.168.2.1:8888";

3、重启网络服务

service networking restart

 

上一篇:关于Asp.Net中FileUpload控件属性PostedFile.ContentType的提示


下一篇:centos7 安装并创建虚拟机