您的位置:首页 > 其它

debian 8.6 jessie 安装 Proxmox VE 安装失败解决方法

2017-04-22 10:11 369 查看
1,下载ISO镜像

官方镜像地址
http://cdimage.debian.org/debian-cd/current/amd64/iso-dvd/
国内镜像

网易镜像http://mirrors.163.com/debian-cd/8.7.1/amd64/bt-dvd/

华科大镜像http://mirrors.hust.edu.cn/debian-cd/8.7.1/amd64/iso-dvd/

西交大http://mirrors.xjtu.edu.cn/debian-cd/8.7.1/amd64/iso-dvd/

2,安装版本 debian-8.6.0-amd64-dvd

3,debian jessie 搭建 proxmox 安装文档

Proxmox VE维基安装手册http://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_Jessie

安装过程磁盘分区

A,选择磁盘新建一个boot分区,ext4格式

B,配置逻辑卷管理器新建卷组pve、ext4格式

C,pve下新建3个逻辑卷、挂载点

swap——交换分区

root——/

data——/var/lib/vz(手动输入)



4,重启系统

配置静态IP地址

root@debian:~# vim.tiny /etc/network/interfaces



配置DNS

root@debian:~# vim.tiny /etc/resolv.conf 

nameserver 114.114.114.114

nameserver 8.8.8.8
ping测试网络

更改hostname

root@debian:/# vim.tiny /etc/hosts



5,升级系统添加源

root@debian:~# vim.tiny /etc/apt/sources.list 

##163源

deb http://mirrors.163.com/debian/ jessie main non-free contrib

deb http://mirrors.163.com/debian/ jessie-updates main non-free contrib

deb http://mirrors.163.com/debian/ jessie-backports main non-free contrib

deb-src http://mirrors.163.com/debian/ jessie main non-free contrib

deb-src http://mirrors.163.com/debian/ jessie-updates main non-free contrib

deb-src http://mirrors.163.com/debian/ jessie-backports main non-free contrib

deb http://mirrors.163.com/debian-security/ jessie/updates main non-free contrib

deb-src http://mirrors.163.com/debian-security/ jessie/updates main non-free contrib

##中科大源
deb http://mirrors.ustc.edu.cn/debian jessie main contrib non-free
deb-src http://mirrors.ustc.edu.cn/debian jessie main contrib non-free
deb http://mirrors.ustc.edu.cn/debian jessie-proposed-updates main contrib non-free
deb-src http://mirrors.ustc.edu.cn/debian jessie-proposed-updates main contrib non-free
deb http://mirrors.ustc.edu.cn/debian jessie-updates main contrib non-free
deb-src http://mirrors.ustc.edu.cn/debian jessie-updates main contrib non-free
转载源地址点击打开链接http://guanglin.blog.51cto.com/3038587/1689670

添加Poxmox VE源

echo "deb http://download.proxmox.com/debian jessie pve-no-subscription" > /etc/apt/sources.list.d/pve-install-repo.list

添加Proxmox VE 源密钥

wget
-O- "http://download.proxmox.com/debian/key.asc" |
apt-key add  -

6,更新系统

apt-get update
更新软件列表

apt-get upgrade
更新软件

apt-get dist-upgrade
更新系统

备注:安装报错

pve-cluster 报错





root@debian:~# systemctl status pve-cluster.service

● pve-cluster.service - The Proxmox VE cluster filesystem

   Loaded: loaded (/lib/systemd/system/pve-cluster.service; enabled)

   Active: failed (Result: exit-code) since 五 2017-04-21 22:02:10 CST; 27min ago

  Process: 1574 ExecStart=/usr/bin/pmxcfs $DAEMON_OPTS (code=exited, status=255)

4月 21 22:02:10 debian pmxcfs[1574]: [main] crit: Unable to get local ...s

4月 21 22:02:10 debian systemd[1]: pve-cluster.service: control proces...5

4月 21 22:02:10 debian systemd[1]: Failed to start The Proxmox VE clus....

4月 21 22:02:10 debian systemd[1]: Unit pve-cluster.service entered fa....

Hint: Some lines were ellipsized, use -l to show in full.

root@debian:~# journalctl -xn

-- Logs begin at 五 2017-04-21 21:41:34 CST, end at 五 2017-04-21 22:27:45 

4月 21 22:11:49 debian smartd[860]: Device: /dev/sda [SAT], SMART Usage Att

4月 21 22:15:46 debian systemd-timesyncd[555]: interval/delta/delay/jitter/

4月 21 22:17:01 debian CRON[1689]: pam_unix(cron:session): session opened f

4月 21 22:17:01 debian CRON[1690]: (root) CMD (   cd / && run-parts --repor

4月 21 22:17:01 debian CRON[1689]: pam_unix(cron:session): session closed f

4月 21 22:27:45 debian sshd[1752]: Accepted password for root from 10.10.10

4月 21 22:27:45 debian sshd[1752]: pam_unix(sshd:session): session opened f

4月 21 22:27:45 debian systemd[1]: Starting Session 3 of user root.

apt-get dist-upgrade 安装失败,检查hostname配置、apt-get upgrade要升级软件解决依赖

其它错误可以在官方论坛搜索https://forum.proxmox.com/
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐