debian-pve-ceph
从头开始安装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的更多相关文章
- PVE手册资料
PVE 软件源/etc/apt/souces.list apt-get update命令获取软件源中的软件包信息 企业版软件源 /etc/apt/sources.list.d/pve-enterpri ...
- PVE授权条款
授权条款 Proxmox VE 软件授权条款,采用的是 GNU AGPL (Affero General Public License) 条款,而 Proxmox VE 本身是 Free Softwa ...
- pve apt-get update error 升级报错-文章未完工和验证
pve: apt-get update error 升级报错 提示如下报错 Hit: http://security.debian.org buster/updates InRelease Hit: ...
- hci_ceph安装过程
auto loiface lo inet loopbackauto enp50s0f0iface enp50s0f0 inet static address 192.168.1.6 netmask 2 ...
- Proxmox VE中出现TASK ERROR: command 'apt-get update' failed: exit code 100的解决方法
问题描述: 出现这个错误一般在WEB或者在Proxmox VE的服务器上面能看到日志: PVE中出现TASK ERROR: command 'apt-get update' failed: exit ...
- Proxmox VE 的安装和简单使用
Proxmox VE Proxmox ve 安装 如果proxmox源太慢了.可以使用国内源 download.proxmox.wiki 直接替换就可以了. ISO U盘方式安装 下载地址:https ...
- ceph-pve英语
adapted accordingly并相应地调整 silosn. 筒仓:粮仓:贮仓(silo的复数) saturatevt. 浸透,使湿透:使饱和,使充满While one HDD might no ...
- ceph-pg
版本:mimic https://192.168.1.5:8006/pve-docs/chapter-pveceph.html#pve_ceph_osds As a rule of thumb, fo ...
- Proxmox6.2简单配置
刻录: 使用rufus+GPT+DD方式写入U盘 一.更换国内源: 1)删除企业源 mv /etc/apt/sources.list.d/pve-enterprise.list /etc/apt/so ...
随机推荐
- node作为中间层 —> 跨域请求java后台接口(使用http-proxy-middleware中间件)
情景:利用node的express 作为中间层,跨域调取java后台接口,由于java接口对session有判断,因此每次请求都必须在req的headers中需要带上cookie,否则接口报500错误 ...
- CDN原理介绍(转)
内容分发网络(Content delivery network或Content distribution network,缩写:CDN)是指一种通过互联网互相连接的电脑网络系统,利用最靠近每位用户的服 ...
- Node.js和html数据交互(一) form表单
一.form表单提交数据 数据流向:前端 - > 后端 1.get方法 (action是提交路径,method是提交方法,get方法可以不写) 前端: <form action=" ...
- python基础14_文件操作
文件操作,通常是打开,读,写,追加等.主要涉及 编码 的问题. #!/usr/bin/env python # coding:utf-8 ## open实际上是从OS请求,得到文件句柄 f = ope ...
- case 函数的简单使用记录下
Case有2中格式:简单Case函数和Case搜索函数. 简单函数:case sex when '1' then '男' when '2' then ‘女’ else '其它' end;(sex是列 ...
- kafka学习笔记整理01
Apache Kafka 消息中间件->流式数据处理平台 特点: 高可靠性(分布式.分区.复制和容错).高吞吐量.持久化 消息模式:1)队列式(或点对点):在点对点消息系统中,消息被保存在队列中 ...
- c++ 集合的增删改查,与两集合的合并 缺陷(空间大小不灵活)
#if 1 #include <iostream> #include <stdlib.h> using namespace std; class List { public: ...
- dom树渲染对性能的影响
这样写会访问两次dom节点树,一次读取innerHTML,一次重写innerHTML. 当然,加载速度也是很惊人的. 用一个变量把a存起来,只读取和重写innerHTML一次. 可以看到加载时间大幅度 ...
- PHP为什么有人学不会
互联网进入到人们生活中的方方面面了,世界首富比尔盖茨多次提到青少年编程,而编程是一种思维习惯的转化. 作为写了10几年程序的人,我听到过一些说编程不好学的抱怨. 从目前见到的数据统计,主要是因为在大学 ...
- 小程序视频播放组件video
最近在做一个视频播放的功能,要求如下: 1.实现视频的全屏播放: 2.实现视频相关信息的展示: 3.实现视频滑动上下切换效果: 肯定选择用原生组件video了,真是不用不知道,一用都是坑: 首先,组件 ...