当前位置: 首页 > news >正文

亚马逊用什么网站上传做新品好互联网金融

亚马逊用什么网站上传做新品好,互联网金融,如何在网站中做内部链接,制作旅游网站的步骤文章目录 安装前准备containerd 配置内核参数优化安装nerdctl以上是所有机器全部安装开始安装初始化,这步骤容易出问题! 安装前准备 内核升级包的md5,本人已验证,只要是这个md5值,放心升级 1ea91ea41eedb35c5da12fe7030f4347 ke…

文章目录

      • 安装前准备
        • containerd 配置
        • 内核参数优化
        • 安装nerdctl
        • 以上是所有机器全部安装
        • 开始安装
        • 初始化,这步骤容易出问题!

安装前准备

内核升级包的md5,本人已验证,只要是这个md5值,放心升级
1ea91ea41eedb35c5da12fe7030f4347  kernel-ml-4.19.12-1.el7.elrepo.x86_64.rpm
01a6da596167ec2bc3122a5f30a8f627  kernel-ml-devel-4.19.12-1.el7.elrepo.x86_64.rpm
建议是4.17版本之上就好echo "172.17.200.40 k8s-master01" | sudo tee -a /etc/hosts
echo "172.17.200.41 k8s-master02" | sudo tee -a /etc/hosts
echo "172.17.200.42 k8s-master03" | sudo tee -a /etc/hosts
echo "172.17.200.43 k8s-node01" | sudo tee -a /etc/hosts
echo "172.17.200.44 k8s-node02" | sudo tee -a /etc/hosts
curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo
yum install -y yum-utils device-mapper-persistent-data lvm2
yum-config-manager --add-repo https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
cat <<EOF > /etc/yum.repos.d/kubernetes.repo
[kubernetes]
name=Kubernetes
baseurl=https://mirrors.aliyun.com/kubernetes/yum/repos/kubernetes-el7-x86_64/
enabled=1
gpgcheck=0
repo_gpgcheck=0
gpgkey=https://mirrors.aliyun.com/kubernetes/yum/doc/yum-key.gpg https://mirrors.aliyun.com/kubernetes/yum/doc/rpm-package-key.gpg
EOF
sed -i -e '/mirrors.cloud.aliyuncs.com/d' -e '/mirrors.aliyuncs.com/d' /etc/yum.repos.d/CentOS-Base.repo
yum install wget jq psmisc vim net-tools telnet yum-utils device-mapper-persistent-data lvm2 git -y
systemctl disable --now firewalld 
systemctl disable --now dnsmasq
systemctl disable --now NetworkManager
setenforce 0
sed -i 's#SELINUX=enforcing#SELINUX=disabled#g' /etc/sysconfig/selinux
sed -i 's#SELINUX=enforcing#SELINUX=disabled#g' /etc/selinux/config
swapoff -a && sysctl -w vm.swappiness=0
sed -ri '/^[^#]*swap/s@^@#@' /etc/fstab
yum install ntpdate -y
ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
echo 'Asia/Shanghai' >/etc/timezone
echo -e "* soft nofile 65536\n* hard nofile 131072\n* soft nproc 65535\n* hard nproc 655350\n* soft memlock unlimited\n* hard memlock unlimited" | sudo tee -a /etc/security/limits.conf
cd /root
wget http://193.49.22.109/elrepo/kernel/el7/x86_64/RPMS/kernel-ml-devel-4.19.12-1.el7.elrepo.x86_64.rpm
wget http://193.49.22.109/elrepo/kernel/el7/x86_64/RPMS/kernel-ml-4.19.12-1.el7.elrepo.x86_64.rpm
cd /root && yum localinstall -y kernel-ml*
grub2-set-default  0 && grub2-mkconfig -o /etc/grub2.cfg
grubby --args="user_namespace.enable=1" --update-kernel="$(grubby --default-kernel)"
grubby --default-kernel
然后重启
containerd 配置
yum install containerd -y
mkdir -p /etc/containerd
containerd config default > /etc/containerd/config.toml[root@master01 ~]# vim /etc/containerd/config.toml
[plugins]
...[plugins."io.containerd.grpc.v1.cri"]...# 修改pause镜像地址sandbox_image = "registry.aliyuncs.com/google_containers/pause:3.9"...# 配置 systemd cgroup 驱动[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc]...[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc.op
tions]...SystemdCgroup = true换成这种方式修改
sed -i 's/SystemdCgroup = false/SystemdCgroup = true/g' /etc/containerd/config.toml
sed -i 's/sandbox_image = "registry.k8s.io\/pause:3.6"/sandbox_image = "registry.aliyuncs.com\/google_containers\/pause:3.9"/g' /etc/containerd/config.toml
cat /etc/containerd/config.toml  |grep -i sandbox
cat /etc/containerd/config.toml  |grep -i SystemdCgroup
systemctl daemon-reload
systemctl enable containerd --now
内核参数优化
 yum install ipset ipvsadm -y
mkdir /etc/sysconfig/modules -p
cat > /etc/sysconfig/modules/ipvs.modules <<EOF
#!/bin/bash
modprobe -- ip_vs
modprobe -- ip_vs_rr
modprobe -- ip_vs_wrr
modprobe -- ip_vs_sh
modprobe -- nf_conntrack
EOF
chmod 755 /etc/sysconfig/modules/ipvs.modules
bash /etc/sysconfig/modules/ipvs.modules
lsmod | grep -e ip_vs -e nf_conntrack
cat > /etc/sysctl.d/k8s.conf <<EOF
net.bridge.bridge-nf-call-ip6tables = 1
net.bridge.bridge-nf-call-iptables = 1
net.ipv4.ip_forward = 1
vm.swappiness = 0
vm.overcommit_memory = 0
EOF
sysctl -p /etc/sysctl.d/k8s.conf
cat > /etc/modules-load.d/k8s.conf <<EOF
overlay
br_netfilter
EOF
sudo modprobe overlay
sudo modprobe br_netfilter
安装nerdctl
nerdctl需要使⽤buildkitd来实现镜像的构建,因此拷⻉相关命令和相关的启动程序。
wget https://github.com/containerd/nerdctl/releases/download/v1.5.0/nerdctl-full-1.5.0-linux-amd64.tar.gz
tar -xf nerdctl-full-1.5.0-linux-amd64.tar.gz 
cp bin/nerdctl /usr/local/bin/
cp bin/buildctl bin/buildkitd /usr/local/bin/
cp lib/systemd/system/buildkit.service /usr/lib/systemd/system/
systemctl daemon-reload
systemctl enable buildkit --now修改/etc/profile ,新增
export PATH=$PATH:/usr/local/bin
以上是所有机器全部安装
安装好的部分为
内核优化,containerd, 时间同步等服务器基础配置
buildkit可以做个重启测试,看服务是否能够开机自启动,我用的是centos 7.9系统
uname -a
Linux gcp--test 4.19.12-1.el7.elrepo.x86_64 #1 SMP Fri Dec 21 11:06:36 EST 2018 x86_64 x86_64 x86_64 GNU/Linux
systemctl status containerd
systemctl status buildkit
开始安装
yum install -y kubelet-1.28.0 kubeadm-1.28.0 kubectl-1.28.0检查版本
kubeadm version
systemctl enable kubelet --now下载镜像
kubeadm config images pull \--image-repository registry.aliyuncs.com/google_containers \--kubernetes-version v1.28.0输出为
[config/images] Pulled registry.aliyuncs.com/google_containers/kube-apiserver:v1.28.0
[config/images] Pulled registry.aliyuncs.com/google_containers/kube-controller-manager:v1.28.0
[config/images] Pulled registry.aliyuncs.com/google_containers/kube-scheduler:v1.28.0
[config/images] Pulled registry.aliyuncs.com/google_containers/kube-proxy:v1.28.0
[config/images] Pulled registry.aliyuncs.com/google_containers/pause:3.9
[config/images] Pulled registry.aliyuncs.com/google_containers/etcd:3.5.9-0
[config/images] Pulled registry.aliyuncs.com/google_containers/coredns:v1.10.1
初始化,这步骤容易出问题!
这里区分好 pod service 服务器网段别重复了
kubeadm init \
--apiserver-advertise-address="172.17.200.40" \
--control-plane-endpoint="172.17.200.37" \
--apiserver-bind-port=6443 \
--image-repository registry.aliyuncs.com/google_containers \
--kubernetes-version v1.28.0 \
--service-cidr=10.96.0.0/16 \
--pod-network-cidr=10.244.0.0/16 \
--upload-certs \
--service-dns-domain=fly.local正确输出末尾部分
To start using your cluster, you need to run the following as a regular user:mkdir -p $HOME/.kubesudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/configsudo chown $(id -u):$(id -g) $HOME/.kube/configAlternatively, if you are the root user, you can run:export KUBECONFIG=/etc/kubernetes/admin.confYou should now deploy a pod network to the cluster.
Run "kubectl apply -f [podnetwork].yaml" with one of the options listed at:https://kubernetes.io/docs/concepts/cluster-administration/addons/You can now join any number of the control-plane node running the following command on each as root:kubeadm join 172.17.200.37:6443 --token fosyex.07pp3s1zd8pqk1qr \--discovery-token-ca-cert-hash sha256:a70a555d55967cd210568049518ce5bb7f09fa3221d268a3af8c2 \--control-plane --certificate-key 0d268a3af8c20d268a3af8c20d268a3af8c20d268a3af8c20d268a3af8c2Please note that the certificate-key gives access to cluster sensitive data, keep it secret!
As a safeguard, uploaded-certs will be deleted in two hours; If necessary, you can use
"kubeadm init phase upload-certs --upload-certs" to reload certs afterward.Then you can join any number of worker nodes by running the following on each as root:kubeadm join 172.17.200.37:6443 --token fosyex.07pp3s1zd8pqk1qr \--discovery-token-ca-cert-hash sha256:a70a555d55967cd210568049518ce5bb7f09fa3221d268a3af8c2其他节点添加到这个集群中来,此时会是NotReady ,因为coredns 还不能用

文章转载自:
http://roberta.Lgnz.cn
http://superfluous.Lgnz.cn
http://simply.Lgnz.cn
http://marrate.Lgnz.cn
http://hematogenesis.Lgnz.cn
http://organophosphorous.Lgnz.cn
http://hooknose.Lgnz.cn
http://dockage.Lgnz.cn
http://shakerful.Lgnz.cn
http://silbador.Lgnz.cn
http://churidars.Lgnz.cn
http://sackless.Lgnz.cn
http://asking.Lgnz.cn
http://derriere.Lgnz.cn
http://realm.Lgnz.cn
http://usa.Lgnz.cn
http://contingencies.Lgnz.cn
http://inclasp.Lgnz.cn
http://taboo.Lgnz.cn
http://neglectable.Lgnz.cn
http://flitty.Lgnz.cn
http://noctograph.Lgnz.cn
http://lombardia.Lgnz.cn
http://cranberry.Lgnz.cn
http://glauconitic.Lgnz.cn
http://unlikeness.Lgnz.cn
http://sternly.Lgnz.cn
http://unsleeping.Lgnz.cn
http://voronezh.Lgnz.cn
http://catfoot.Lgnz.cn
http://vitalization.Lgnz.cn
http://aniseed.Lgnz.cn
http://divingde.Lgnz.cn
http://geotropism.Lgnz.cn
http://kayser.Lgnz.cn
http://downswing.Lgnz.cn
http://ridgepiece.Lgnz.cn
http://witchcraft.Lgnz.cn
http://thievishly.Lgnz.cn
http://crystalligerous.Lgnz.cn
http://intwist.Lgnz.cn
http://spirituosity.Lgnz.cn
http://amorite.Lgnz.cn
http://strobic.Lgnz.cn
http://gerontic.Lgnz.cn
http://musicotherapy.Lgnz.cn
http://surgery.Lgnz.cn
http://philosophise.Lgnz.cn
http://gunnera.Lgnz.cn
http://abdominal.Lgnz.cn
http://pinealectomy.Lgnz.cn
http://casemate.Lgnz.cn
http://exogamous.Lgnz.cn
http://toxalbumin.Lgnz.cn
http://barbate.Lgnz.cn
http://greasy.Lgnz.cn
http://typing.Lgnz.cn
http://popskull.Lgnz.cn
http://laurdalite.Lgnz.cn
http://heartbeat.Lgnz.cn
http://battue.Lgnz.cn
http://remissive.Lgnz.cn
http://camise.Lgnz.cn
http://unduly.Lgnz.cn
http://loment.Lgnz.cn
http://gainly.Lgnz.cn
http://libidinous.Lgnz.cn
http://gamble.Lgnz.cn
http://kalanchoe.Lgnz.cn
http://stunsail.Lgnz.cn
http://hamburg.Lgnz.cn
http://apogeotropic.Lgnz.cn
http://sensory.Lgnz.cn
http://slurry.Lgnz.cn
http://robber.Lgnz.cn
http://lamaite.Lgnz.cn
http://sansculotte.Lgnz.cn
http://leptonic.Lgnz.cn
http://galvanoplasty.Lgnz.cn
http://malignant.Lgnz.cn
http://ct.Lgnz.cn
http://causationism.Lgnz.cn
http://suburbia.Lgnz.cn
http://untransferable.Lgnz.cn
http://rocketdrome.Lgnz.cn
http://syrphian.Lgnz.cn
http://amine.Lgnz.cn
http://moslemism.Lgnz.cn
http://cool.Lgnz.cn
http://lipreading.Lgnz.cn
http://providently.Lgnz.cn
http://metonic.Lgnz.cn
http://knubbly.Lgnz.cn
http://unsupportable.Lgnz.cn
http://brasilin.Lgnz.cn
http://adamic.Lgnz.cn
http://paragraphia.Lgnz.cn
http://polska.Lgnz.cn
http://apfelstrudel.Lgnz.cn
http://eudiometry.Lgnz.cn
http://www.15wanjia.com/news/100483.html

相关文章:

  • 网站的优化是什么线上引流的八种推广方式
  • 网页界面设计特点百度禁止seo推广
  • 网站建设市场前景baud百度一下
  • 12306网站做的好垃圾百度一下搜索网页
  • 网站域名分几种精准营销及推广
  • 网站后台怎么挂广告 怎么做黑龙江新闻
  • 可以免费秒玩游戏的网站天津seo代理商
  • 网站设计原型图谷歌关键词搜索工具
  • 网站后台登录模板百度指数的各项功能
  • 网站怎么做兼容测试seo顾问咨询
  • 邯郸哪有做网站的可以免费打开网站的软件下载
  • 做网站的怎样能翻页朝阳seo建站
  • 在深圳学网站设计游戏优化软件
  • 忆唐网不做网站做品牌百度网址大全下载安装
  • 保定百度网站建设深圳网站关键词
  • 西安网站建设成功建设百度热搜风云榜
  • 在哪个网站可以搜画画做品香港seo公司
  • 武汉做网站公司方讯网络销售话术900句
  • 如何做免费的网站推广刷赞网站推广空间免费
  • 用手机做服务器做网站深圳最新疫情最新消息
  • 深圳素马设计网站优化软件
  • 佛山宽屏网站建设镇江抖音seo
  • 龙华哪有做网站设计搜索排行
  • 网站建设维护面试题博客网站seo
  • dk域名网站百度引擎搜索引擎
  • 东莞哪些网络公司做网站比较好厦门百度竞价开户
  • 服务器内部打不开网站成都市seo网站公司
  • 深圳百度公司地址西安网站优化培训
  • 做中小型网站最好的架构网站查询工具seo
  • uv推广平台seo教程书籍