debian-pve-ceph

时间:2021-01-06 13:06:43

从头开始安装debian9.8

debian-9.8.0-amd64-netinst.iso

vi /etc/vim/vimrc.tiny
set nocompatible
set backspace=2

一、让debian终端文件显示不同颜色
vim /etc/vim/vimrc
取消“syntax on”的注释

二、让debian终端文件夹显示不同颜色

修改.bashrc文件,
vim /root/.bashrc
修改如下:
#export LS_OPTIONS='--color=auto'
#eval `dircolors`
#alias ls='ls $LS_OPTIONS'
#alias ll='ls $LS_OPTIONS -l'
#alias l='ls $LS_OPTIONS -lA'
把上面行的注释全部去掉,重新打开终端即可。

在安装时已经处理好了镜像站点,也就是源的问题,是163的源,也就不用在命令行下再设置aliyun的源了
apt-get install apt-transport-https
echo "deb https://mirrors.aliyun.com/debian stretch main contrib non-free" >> /etc/apt/sources.list
echo "deb-src https://mirrors.aliyun.com/debian stretch main contrib non-free" >> /etc/apt/sources.list

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

apt-get update
apt-get install openssh-server

vi /etc/ssh/sshd.config
PermitRootLogin yes
service sshd restart

=================================================

常识清单汇总
each debian/ubuntu host

ubuntu
trusty (14.04LTS)
trusty-updates
trusty-backports
xenial (16.04LTS)
xenial-updates
xenial-backports
bionic (18.04LTS)
bionic-updates
bionic-backports
cosmic (18.10)
cosmic-updates
cosmic-backports

debian
6.0 Squeeze
7.0 Wheezy
8.0 Jessie
9.0 Stretch

ceph
hammer
infernalis
jewel
kraken
luminous
mimic
nautilus

https://mirrors.aliyun.com/ceph/debian-nautilus/pool/

Index of /ceph/debian-nautilus/pool/main/c/ceph-deploy/
ceph-deploy_2.0.1.dsc 20-Mar-2019 03:33 709
ceph-deploy_2.0.1.tar.gz 20-Mar-2019 03:33 6935192
ceph-deploy_2.0.1_all.deb 20-Mar-2019 03:33 96984

Index of /ceph/debian-mimic/pool/main/c/ceph-deploy/
ceph-deploy_2.0.1.dsc 15-Mar-2019 14:53 709
ceph-deploy_2.0.1.tar.gz 15-Mar-2019 14:53 6935192
ceph-deploy_2.0.1_all.deb 15-Mar-2019 14:51 96984

Index of /ceph/debian-luminous/pool/main/c/ceph-deploy/
ceph-deploy_2.0.1.dsc 11-Apr-2019 14:00 709
ceph-deploy_2.0.1.tar.gz 11-Apr-2019 14:00 6935192
ceph-deploy_2.0.1_all.deb 11-Apr-2019 14:08 96984

wget -q -O- 'https://download.ceph.com/keys/release.asc' | sudo apt-key add -
echo deb https://mirrors.aliyun.com/ceph/debian-nautilus/ stretch main | tee /etc/apt/sources.list.d/ceph.list

wget https://download.ceph.com/tarballs/ceph-14.2.0.tar.gz
tar zxvf ceph-14.2.0.tar.gz
cd ceph-14.2.0
./install-deps.sh
./do_cmake.sh
cd build
make -j4

###If you build Ceph from source code, you may install Ceph in user space by executing the following:
make install

###Note By default do_cmake.sh will build a debug version of ceph that may perform up to 5 times slower with certain workloads. Pass ‘-DCMAKE_BUILD_TYPE=RelWithDebInfo’ to do_cmake.sh if you would like to build a release version of the ceph executables instead.

man sources.list

源的格式

deb [ option1=value1 option2=value2 ] uri suite [component1] [component2] [...]
deb-src [ option1=value1 option2=value2 ] uri suite [component1] [component2] [...]

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

================================================

pve
We’re glad to announce the first release of Nautilus v14.2.0 stable series.
v12.2.12 Luminous released This is the twelfth bug fix release of the Luminous v12.2.x long term stable release series.

root@pve1:/etc/apt/sources.list.d# cat pve-install-repo.list
deb http://download.proxmox.com/debian/pve stretch pve-no-subscription

https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_Stretch

Add the Proxmox VE repository:
echo "deb http://download.proxmox.com/debian/pve stretch pve-no-subscription" > /etc/apt/sources.list.d/pve-install-repo.list

Add the Proxmox VE repository key:
wget http://download.proxmox.com/debian/proxmox-ve-release-5.x.gpg -O /etc/apt/trusted.gpg.d/proxmox-ve-release-5.x.gpg

Proxmox VE ships as a set of Debian packages, so you can install it on top of a normal Debian installation.
After configuring the repositories, you need to run:
apt-get update
apt-get install proxmox-ve
或者下面的
apt update && apt dist-upgrade
apt install proxmox-ve

root@d1:/etc/apt/trusted.gpg.d# apt update
Hit:1 http://security.debian.org/debian-security stretch/updates InRelease
Get:2 http://download.proxmox.com/debian/pve stretch InRelease [3,052 B]
Get:3 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 Packages [421 kB]
0% [Waiting for headers]
Ign:4 http://mirrors.163.com/debian stretch InRelease
Hit:5 http://mirrors.163.com/debian stretch-updates InRelease
Hit:6 http://mirrors.163.com/debian stretch Release
Fetched 424 kB in 60s (7,033 B/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
8 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@d1:/etc/apt/trusted.gpg.d#

root@d1:/etc/apt/trusted.gpg.d# apt install proxmox-ve
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
apparmor apt-transport-https attr bridge-utils bzip2 ca-certificates ceph-common ceph-fuse cifs-utils corosync criu cstream dh-python dmeventd dtach ebtables exim4-base exim4-config exim4-daemon-light faketime file fontconfig
fontconfig-config fonts-dejavu-core fonts-font-awesome fuse gdisk genisoimage glusterfs-client glusterfs-common guile-2.0-libs hdparm ifenslave ipset keyutils libacl1-dev libaio1 libanyevent-http-perl libanyevent-perl
libapparmor-perl libappconfig-perl libapt-pkg-perl libarchive13 libasound2 libasound2-data libasync-interrupt-perl libasyncns0 libattr1-dev libauthen-pam-perl libauthen-sasl-perl libavahi-client3 libavahi-common-data libavahi-common3
libbabeltrace-ctf1 libbabeltrace1 libboost-iostreams1.62.0 libboost-program-options1.62.0 libboost-random1.62.0 libboost-regex1.62.0 libboost-system1.62.0 libboost-thread1.62.0 libbytes-random-secure-perl libc-dev-bin libc6-dev
libcaca0 libcairo2 libcephfs1 libcfg6 libclone-perl libcmap4 libcommon-sense-perl libconvert-asn1-perl libcorosync-common4 libcpg4 libcrypt-openssl-bignum-perl libcrypt-openssl-random-perl libcrypt-openssl-rsa-perl
libcrypt-random-seed-perl libcrypt-ssleay-perl libcups2 libcurl3-gnutls libdatrie1 libdbi1 libdevel-cycle-perl libdevmapper-event1.02.1 libdigest-hmac-perl libdw1 libencode-locale-perl libev-perl libevent-2.0-5 libfaketime
libfcgi-bin libfcgi0ldbl libfdt1 libfile-chdir-perl libfile-listing-perl libfile-readbackwards-perl libfilesys-df-perl libflac8 libfont-afm-perl libfontconfig1 libfribidi0 libgc1c2 libglib2.0-0 libglib2.0-data libgnutlsxx28
libgoogle-perftools4 libgraphite2-3 libgsasl7 libgssapi-perl libguard-perl libharfbuzz0b libhtml-form-perl libhtml-format-perl libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl libhttp-daemon-perl
libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl libibverbs1 libice6 libicu57 libio-html-perl libio-multiplex-perl libio-socket-inet6-perl libio-socket-ssl-perl libio-stringy-perl libipset3 libiscsi7 libjemalloc1
libjpeg62-turbo libjs-extjs libjson-c3 libjson-perl libjson-xs-perl libkyotocabinet16v5 libldap-2.4-2 libldap-common libldb1 liblinux-inotify2-perl libltdl7 liblvm2app2.2 liblvm2cmd2.02 liblwp-mediatypes-perl
liblwp-protocol-https-perl liblzo2-2 libmagic-mgc libmagic1 libmailtools-perl libmailutils5 libmariadbclient18 libmath-random-isaac-perl libmath-random-isaac-xs-perl libmime-base32-perl libmpdec2 libnet-dbus-perl libnet-dns-perl
libnet-http-perl libnet-ip-perl libnet-ldap-perl libnet-libidn-perl libnet-smtp-ssl-perl libnet-ssleay-perl libnet1 libnetfilter-log1 libnfsidmap2 libnghttp2-14 libnl-3-200 libnl-route-3-200 libnspr4 libnss3 libntlm0 libnuma1 libogg0
libopus0 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libperl5.24 libpixman-1-0 libprotobuf-c1 libprotobuf10 libpulse0 libpve-access-control libpve-apiclient-perl libpve-common-perl libpve-guest-common-perl
libpve-http-server-perl libpve-storage-perl libpve-u2f-server-perl libpython-stdlib libpython2.7 libpython2.7-minimal libpython2.7-stdlib libpython3-stdlib libpython3.5-minimal libpython3.5-stdlib libqb0 libquorum5 librados2
librados2-perl libradosstriper1 librbd1 librdmacm1 libreadline5 librgw2 librrd8 librrds-perl librtmp1 libsasl2-2 libsasl2-modules libsasl2-modules-db libsdl1.2debian libsm6 libsmbclient libsnappy1v5 libsndfile1 libsocket6-perl
libssh2-1 libstatgrab10 libstring-shellquote-perl libtalloc2 libtcmalloc-minimal4 libtdb1 libtemplate-perl libterm-readline-gnu-perl libtevent0 libthai-data libthai0 libtie-ixhash-perl libtimedate-perl libtirpc1 libtotem-pg5
libtypes-serialiser-perl libu2f-server0 libunwind8 liburcu4 liburi-perl libusbredirparser1 libuuid-perl libvorbis0a libvorbisenc2 libvotequorum8 libwbclient0 libwww-perl libwww-robotrules-perl libx11-xcb1 libxcb-render0 libxcb-shm0
libxi6 libxml-libxml-perl libxml-namespacesupport-perl libxml-parser-perl libxml-sax-base-perl libxml-sax-expat-perl libxml-sax-perl libxml-twig-perl libxml-xpathengine-perl libxml2 libxrender1 libxslt1.1 libxtst6 linux-libc-dev lvm2
lxc-pve lxcfs lzop mailutils mailutils-common manpages manpages-dev mime-support mysql-common net-tools nfs-common novnc-pve numactl openssl perl perl-modules-5.24 perl-openssl-defaults powermgmt-base proxmox-widget-toolkit psmisc
pve-cluster pve-container pve-docs pve-edk2-firmware pve-firewall pve-firmware pve-ha-manager pve-i18n pve-kernel-4.15 pve-kernel-4.15.18-12-pve pve-libspice-server1 pve-manager pve-qemu-kvm pve-xtermjs python python-cephfs
python-cffi-backend python-chardet python-crypto python-cryptography python-enum34 python-idna python-ipaddr python-ipaddress python-ldb python-minimal python-openssl python-pkg-resources python-protobuf python-pyasn1 python-rados
python-rbd python-requests python-samba python-setuptools python-six python-talloc python-tdb python-urllib3 python2.7 python2.7-minimal python3 python3-minimal python3.5 python3.5-minimal qemu-server rename rpcbind rrdcached rsync
samba-common samba-common-bin samba-libs sgml-base shared-mime-info smartmontools smbclient socat spiceterm sqlite3 thin-provisioning-tools uidmap vncterm x11-common xdg-user-dirs xml-core xsltproc xz-utils
Suggested packages:
apparmor-profiles apparmor-profiles-extra apparmor-utils bzip2-doc ceph ceph-mds winbind libdpkg-perl eximon4 exim4-doc-html | exim4-doc-info spf-tools-perl swaks wodim cdrkit-doc apmd libevent-perl libio-async-perl libpoe-perl
libtask-weaken-perl lrzip libasound2-plugins alsa-utils glibc-doc cups-common libpadwalker-perl libdata-dump-perl iwatch libtext-soundex-perl | perl opus-tools pulseaudio libsasl2-modules-gssapi-mit | libsasl2-modules-gssapi-heimdal
libsasl2-modules-ldap libsasl2-modules-otp libsasl2-modules-sql libtemplate-perl-doc libtemplate-plugin-gd-perl libtemplate-plugin-xml-perl libauthen-ntlm-perl libunicode-map8-perl libunicode-string-perl xml-twig-tools mailutils-mh
mailutils-doc open-iscsi watchdog perl-doc make python-doc python-tk python-crypto-dbg python-crypto-doc python-cryptography-doc python-cryptography-vectors python-enum34-doc python-openssl-doc python-openssl-dbg doc-base
python-socks python-gpgme python-setuptools-doc python-ntlm python2.7-doc binutils binfmt-support python3-doc python3-tk python3-venv python3.5-venv python3.5-doc heimdal-clients sgml-base-doc gsmartcontrol smart-notifier sqlite3-doc
debhelper
The following NEW packages will be installed:
apparmor apt-transport-https attr bridge-utils bzip2 ca-certificates ceph-common ceph-fuse cifs-utils corosync criu cstream dh-python dmeventd dtach ebtables exim4-base exim4-config exim4-daemon-light faketime file fontconfig
fontconfig-config fonts-dejavu-core fonts-font-awesome fuse gdisk genisoimage glusterfs-client glusterfs-common guile-2.0-libs hdparm ifenslave ipset keyutils libacl1-dev libaio1 libanyevent-http-perl libanyevent-perl
libapparmor-perl libappconfig-perl libapt-pkg-perl libarchive13 libasound2 libasound2-data libasync-interrupt-perl libasyncns0 libattr1-dev libauthen-pam-perl libauthen-sasl-perl libavahi-client3 libavahi-common-data libavahi-common3
libbabeltrace-ctf1 libbabeltrace1 libboost-iostreams1.62.0 libboost-program-options1.62.0 libboost-random1.62.0 libboost-regex1.62.0 libboost-system1.62.0 libboost-thread1.62.0 libbytes-random-secure-perl libc-dev-bin libc6-dev
libcaca0 libcairo2 libcephfs1 libcfg6 libclone-perl libcmap4 libcommon-sense-perl libconvert-asn1-perl libcorosync-common4 libcpg4 libcrypt-openssl-bignum-perl libcrypt-openssl-random-perl libcrypt-openssl-rsa-perl
libcrypt-random-seed-perl libcrypt-ssleay-perl libcups2 libcurl3-gnutls libdatrie1 libdbi1 libdevel-cycle-perl libdevmapper-event1.02.1 libdigest-hmac-perl libdw1 libencode-locale-perl libev-perl libevent-2.0-5 libfaketime
libfcgi-bin libfcgi0ldbl libfdt1 libfile-chdir-perl libfile-listing-perl libfile-readbackwards-perl libfilesys-df-perl libflac8 libfont-afm-perl libfontconfig1 libfribidi0 libgc1c2 libglib2.0-0 libglib2.0-data libgnutlsxx28
libgoogle-perftools4 libgraphite2-3 libgsasl7 libgssapi-perl libguard-perl libharfbuzz0b libhtml-form-perl libhtml-format-perl libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl libhttp-daemon-perl
libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl libibverbs1 libice6 libicu57 libio-html-perl libio-multiplex-perl libio-socket-inet6-perl libio-socket-ssl-perl libio-stringy-perl libipset3 libiscsi7 libjemalloc1
libjpeg62-turbo libjs-extjs libjson-c3 libjson-perl libjson-xs-perl libkyotocabinet16v5 libldap-2.4-2 libldap-common libldb1 liblinux-inotify2-perl libltdl7 liblvm2app2.2 liblvm2cmd2.02 liblwp-mediatypes-perl
liblwp-protocol-https-perl liblzo2-2 libmagic-mgc libmagic1 libmailtools-perl libmailutils5 libmariadbclient18 libmath-random-isaac-perl libmath-random-isaac-xs-perl libmime-base32-perl libmpdec2 libnet-dbus-perl libnet-dns-perl
libnet-http-perl libnet-ip-perl libnet-ldap-perl libnet-libidn-perl libnet-smtp-ssl-perl libnet-ssleay-perl libnet1 libnetfilter-log1 libnfsidmap2 libnghttp2-14 libnl-3-200 libnl-route-3-200 libnspr4 libnss3 libntlm0 libnuma1 libogg0
libopus0 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libperl5.24 libpixman-1-0 libprotobuf-c1 libprotobuf10 libpulse0 libpve-access-control libpve-apiclient-perl libpve-common-perl libpve-guest-common-perl
libpve-http-server-perl libpve-storage-perl libpve-u2f-server-perl libpython-stdlib libpython2.7 libpython2.7-minimal libpython2.7-stdlib libpython3-stdlib libpython3.5-minimal libpython3.5-stdlib libqb0 libquorum5 librados2
librados2-perl libradosstriper1 librbd1 librdmacm1 libreadline5 librgw2 librrd8 librrds-perl librtmp1 libsasl2-2 libsasl2-modules libsasl2-modules-db libsdl1.2debian libsm6 libsmbclient libsnappy1v5 libsndfile1 libsocket6-perl
libssh2-1 libstatgrab10 libstring-shellquote-perl libtalloc2 libtcmalloc-minimal4 libtdb1 libtemplate-perl libterm-readline-gnu-perl libtevent0 libthai-data libthai0 libtie-ixhash-perl libtimedate-perl libtirpc1 libtotem-pg5
libtypes-serialiser-perl libu2f-server0 libunwind8 liburcu4 liburi-perl libusbredirparser1 libuuid-perl libvorbis0a libvorbisenc2 libvotequorum8 libwbclient0 libwww-perl libwww-robotrules-perl libx11-xcb1 libxcb-render0 libxcb-shm0
libxi6 libxml-libxml-perl libxml-namespacesupport-perl libxml-parser-perl libxml-sax-base-perl libxml-sax-expat-perl libxml-sax-perl libxml-twig-perl libxml-xpathengine-perl libxml2 libxrender1 libxslt1.1 libxtst6 linux-libc-dev lvm2
lxc-pve lxcfs lzop mailutils mailutils-common manpages manpages-dev mime-support mysql-common net-tools nfs-common novnc-pve numactl openssl perl perl-modules-5.24 perl-openssl-defaults powermgmt-base proxmox-ve
proxmox-widget-toolkit psmisc pve-cluster pve-container pve-docs pve-edk2-firmware pve-firewall pve-firmware pve-ha-manager pve-i18n pve-kernel-4.15 pve-kernel-4.15.18-12-pve pve-libspice-server1 pve-manager pve-qemu-kvm pve-xtermjs
python python-cephfs python-cffi-backend python-chardet python-crypto python-cryptography python-enum34 python-idna python-ipaddr python-ipaddress python-ldb python-minimal python-openssl python-pkg-resources python-protobuf
python-pyasn1 python-rados python-rbd python-requests python-samba python-setuptools python-six python-talloc python-tdb python-urllib3 python2.7 python2.7-minimal python3 python3-minimal python3.5 python3.5-minimal qemu-server
rename rpcbind rrdcached rsync samba-common samba-common-bin samba-libs sgml-base shared-mime-info smartmontools smbclient socat spiceterm sqlite3 thin-provisioning-tools uidmap vncterm x11-common xdg-user-dirs xml-core xsltproc
xz-utils
0 upgraded, 356 newly installed, 0 to remove and 8 not upgraded.
Need to get 251 MB of archives.
After this operation, 1,117 MB of additional disk space will be used.
Do you want to continue? [Y/n] y

67% [187 pve-firmware 11.9 MB/36.7 MB 32%] 129 kB/s 13min 10s

这是所有的pve相关包,共计47个包
Get:18 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 libcorosync-common4 amd64 2.4.4-pve1 [228 kB]
Get:27 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 libqb0 amd64 1.0.3-1~bpo9 [138 kB]
Get:28 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 libcfg6 amd64 2.4.4-pve1 [230 kB]
Get:30 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 libcmap4 amd64 2.4.4-pve1 [232 kB]
Get:31 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 libcpg4 amd64 2.4.4-pve1 [234 kB]
Get:34 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 libquorum5 amd64 2.4.4-pve1 [229 kB]
Get:35 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 libtotem-pg5 amd64 2.4.4-pve1 [287 kB]
Get:40 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 libvotequorum8 amd64 2.4.4-pve1 [230 kB]
Get:45 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 corosync amd64 2.4.4-pve1 [389 kB]
Get:49 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 criu amd64 2.11.1-1~bpo90 [434 kB]
Get:54 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 libdevmapper-event1.02.1 amd64 2:1.02.137-pve6 [42.0 kB]
Get:55 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 liblvm2cmd2.02 amd64 2.02.168-pve6 [683 kB]
Get:59 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 dmeventd amd64 2:1.02.137-pve6 [59.9 kB]
Get:60 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 liblvm2app2.2 amd64 2.02.168-pve6 [554 kB]
Get:69 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 libhttp-daemon-perl all 6.01-2 [15.9 kB]
Get:70 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 libjs-extjs all 6.0.1-2 [2,507 kB]
Get:116 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 libpve-common-perl all 5.0-50 [95.0 kB]
Get:118 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 libpve-u2f-server-perl amd64 1.0-2 [7,326 B]
Get:119 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 libpve-apiclient-perl all 2.0-5 [6,434 B]
Get:120 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 pve-cluster amd64 5.0-36 [142 kB]
Get:122 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 libpve-access-control amd64 5.1-8 [41.2 kB]
Get:123 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 librados2-perl amd64 1.0-6 [8,694 B]
Get:124 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 lvm2 amd64 2.02.168-pve6 [933 kB]
Get:128 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 libpve-storage-perl all 5.0-41 [91.0 kB]
Get:131 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 libpve-guest-common-perl all 2.0-20 [17.1 kB]
Get:132 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 libpve-http-server-perl all 2.0-13 [97.0 kB]
Get:133 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 lxcfs amd64 3.0.3-pve1 [47.9 kB]
Get:134 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 lxc-pve amd64 3.1.0-3 [928 kB]
Get:165 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 novnc-pve amd64 1.0.0-3 [497 kB]
Get:187 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 pve-firmware all 2.0-6 [36.7 MB]
Get:340 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 pve-kernel-4.15.18-12-pve amd64 4.15.18-35 [52.5 MB]
Get:341 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 pve-kernel-4.15 all 5.3-3 [2,546 B]
Get:342 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 proxmox-widget-toolkit all 1.0-25 [40.9 kB]
Get:343 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 pve-ha-manager amd64 2.0-9 [54.0 kB]
Get:344 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 pve-container all 2.0-37 [103 kB]
Get:345 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 pve-docs all 5.4-2 [8,229 kB]
Get:346 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 pve-firewall amd64 3.0-19 [65.5 kB]
Get:347 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 pve-i18n all 1.1-4 [82.6 kB]
Get:348 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 pve-xtermjs amd64 3.12.0-1 [142 kB]
Get:349 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 pve-libspice-server1 amd64 0.14.1-2 [621 kB]
Get:350 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 pve-qemu-kvm amd64 2.12.1-3 [10.5 MB]
Get:351 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 pve-edk2-firmware all 1.20190312-1 [1,741 kB]
Get:352 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 qemu-server amd64 5.0-50 [191 kB]
Get:353 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 spiceterm amd64 3.0-5 [53.7 kB]
Get:354 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 vncterm amd64 1.5-3 [623 kB]
Get:355 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 pve-manager amd64 5.4-3 [1,960 kB]
Get:356 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 proxmox-ve all 5.4-1 [7,300 B]

Fetched 251 MB in 13min 20s (314 kB/s)
Extracting templates from packages: 100%

安装pve花费13分钟

root@d1:/etc/apt/trusted.gpg.d# dpkg -l|wc -l
237
没安装之前是237个包,apt install proxmox-ve之后就变成了596个包,还有一个less加man的两个包237+3+356=596
root@d1:/etc/apt/trusted.gpg.d# dpkg -l|wc -l
596

https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_Stretch

https://pve.proxmox.com/wiki/Package_Repositories

debian库
deb http://ftp.debian.org/debian stretch main contrib
deb http://security.debian.org stretch/updates main contrib

Proxmox VE Enterprise Repository
deb https://enterprise.proxmox.com/debian/pve stretch pve-enterprise
上面这个地址需要认证与授权,nginx 401

Proxmox VE No-Subscription Repository
deb http://download.proxmox.com/debian/pve stretch pve-no-subscription
Proxmox VE Test Repository
deb http://download.proxmox.com/debian/pve stretch pvetest

Proxmox VE Ceph Repository
This is Proxmox VE’s main Ceph repository and holds the Ceph packages for production use.
You can also use this repository to update only the Ceph client.
File /etc/apt/sources.list.d/ceph.list
deb http://download.proxmox.com/debian/ceph-luminous stretch main
Proxmox VE Ceph Testing Repository
deb http://download.proxmox.com/debian/ceph-luminous stretch test

apt remove os-prober

可选步骤
Linux d1 4.9.0-8-amd64 #1 SMP Debian 4.9.144-3.1 (2019-02-19) x86_64
Linux d1 4.15.18-12-pve #1 SMP PVE 4.15.18-35 (Wed, 13 Mar 2019 08:24:42 +0100) x86_64
cd /boot/查看一下,有两个启动内核,一个是原来debian的,另一个是pve的

apt remove linux-image-amd64 linux-image-4.9.0-8-amd64

Check grub2 config by running:
update-grub
reboot重启正常

debian-pve-ceph的更多相关文章

  1. PVE手册资料

    PVE 软件源/etc/apt/souces.list apt-get update命令获取软件源中的软件包信息 企业版软件源 /etc/apt/sources.list.d/pve-enterpri ...

  2. PVE授权条款

    授权条款 Proxmox VE 软件授权条款,采用的是 GNU AGPL (Affero General Public License) 条款,而 Proxmox VE 本身是 Free Softwa ...

  3. pve apt-get update error 升级报错-文章未完工和验证

    pve: apt-get update error 升级报错 提示如下报错 Hit: http://security.debian.org buster/updates InRelease Hit: ...

  4. hci_ceph安装过程

    auto loiface lo inet loopbackauto enp50s0f0iface enp50s0f0 inet static address 192.168.1.6 netmask 2 ...

  5. Proxmox VE中出现TASK ERROR: command 'apt-get update' failed: exit code 100的解决方法

    问题描述: 出现这个错误一般在WEB或者在Proxmox VE的服务器上面能看到日志: PVE中出现TASK ERROR: command 'apt-get update' failed: exit ...

  6. Proxmox VE 的安装和简单使用

    Proxmox VE Proxmox ve 安装 如果proxmox源太慢了.可以使用国内源 download.proxmox.wiki 直接替换就可以了. ISO U盘方式安装 下载地址:https ...

  7. ceph-pve英语

    adapted accordingly并相应地调整 silosn. 筒仓:粮仓:贮仓(silo的复数) saturatevt. 浸透,使湿透:使饱和,使充满While one HDD might no ...

  8. ceph-pg

    版本:mimic https://192.168.1.5:8006/pve-docs/chapter-pveceph.html#pve_ceph_osds As a rule of thumb, fo ...

  9. ceph安装问题

    ceph-deploy安装 Yum priorities pluginLoaded plugins: fastestmirror Loaded plugins: fastestmirror, prio ...

随机推荐

  1. Mysql安装出现=========== install/remove of the Service Denied

    在安装mysql过程中遇到一个问题  install/remove of the Service Denied,这个问题说明自己没有安装和删除的权利,原因是自己在运行cmd过程是没有使用管理员身份运行 ...

  2. Ajax实现原理详解

    Ajax:Asynchronous javascript and xml,实现了客户端与服务器进行数据交流过程.使用技术的好处是:不用页面刷新,并且在等待页面传输数据的同时可以进行其他操作. 这就是异 ...

  3. 与Status Bar和Navigation Bar相关的一些东西

    Android Navigation Bar Status Bar   与StatusBar和NavigationBar相关的东西有两种,一是控制它们的显示与隐藏,二是控制它们的透明与否及背景. 在2 ...

  4. Swift 1.2 正式发布 - 带来很多重大改进

    Swift 1.2 随着 Xcode 6.3 Beta 正式发布了.这次的 beta 发布包含了对 Swift 编译器显著的改进.还有对 Swift 语言本身的新特性的增加.这篇文章介绍下主要部分. ...

  5. JAVA深入研究——Method的Invoke方法(转)

    在写代码的时候,发现Method可以调用子类的对象,但子类即使是改写了的Method,方法名一样,去调用父类的对象也会报错,虽然这是很符合多态的现象,也符合java的动态绑定规范,但还是想弄懂java ...

  6. ELK日志系统介绍

    ELK介绍 需求背景: 业务发展越来越庞大,服务器越来越多 各种访问日志.应用日志.错误日志量越来越多,导致运维人员无法很好的去管理日志 开发人员排查问题,需要到服务器上查日志,不方便 运营人员需要一 ...

  7. 如何利用伪类元素和vertical-align: middle;实现元素相对于父元素居中

    HTML部分 <div class="zhihu"> <div class="loginMain"> </div> < ...

  8. Linux-Slabinfo

    1.内存管理有两个算法:伙伴算法(buddy system)和slab算法.伙伴算法是以页为单位管理内存,slab算法是以字节为单位管理内存,是内核的小内存管理算法.特点是基于对象进行管理. slab ...

  9. oracle对sum出来的数字进行非空补0处理

    oracle在使用函数计算式会遇到这样的情况:例如sum函数 如果计算的sum值为null,则用0替代 方法1(便于理解): select when sum(c.num) is null then   ...

  10. 升级 Jenkins 从 1&period;56 到 2&period;64

    今天上午小伙伴突然发现 git 的 Credential 出错了,同时页面的保存按钮也找不到.折腾了半天没有头绪,干脆升级到最新的版本吧,毕竟也很久没升级了. 从 1.x 到 2.x 有很多改动,为了 ...

相关文章