本站用于记录日常工作内容,虚拟化云计算,系统运维,数据库DBA,网络与安全。
Rancher最新版本rancher-v2.2.2的HA部署文档  Rancher-v2.2.2的HA部署文档PDF版rancher2.1版本的功能介绍:https://www.cnrancher.com/docs/rancher/v2.x/cn/overview/feature/1,准备工作。1,主机准备。本次部署所用机器均为CentOS Linux release 7.6.1810 (Core)。节点名称IP安装组件nginx192.168.111.6nginxnode1192.168.111.3etcd, docker, k8snode2192.168.111.4etcd, docker, k8snode3192.168.111.5etcd, docker, k8s2,软件准备。因为软件版本可能中有变更,所以我把这次部署的包都放在百度网盘,下载之后部署,以保证部署过程的流畅。链接: https://pan.baidu.com/s/1sdLPuRTDBbd9UrzyMQCTeA提取码: 7ete文中相关部署软件的命令,可做相对应的调整。3,软件版本。rancher-2.2.2kubernetes-1.13.5rke-v0.2.2kubectl-v1.13.5helm-v2.13.1tiller-v2.13.14,架构示意。2,初始化环境。初始化部分,三台node机器都要操作。1,关闭相关服务关闭防火墙systemctl stop firewalldsystemctl disable firewalld关闭setlinx$ sudo setenforce 0$ grep SELINUX /etc/selinux/configSELINUX=disabled关闭swapswapoff -a && sed -i '/ swap / s/^\(.*\)$/#\1/g' ...
添加中科院 openEuler 镜像软件源添加 OS 软件源1,openEuler-RISCV版系统添加镜像源。注意:如在使用yum,wget 时,riscv-openEuler系统报ssl证书错误,那么注意检查系统时间与日期是否正常。[root@openEuler-RISCV-rare ~]# cat /etc/yum.repos.d/oe-rv.repo[base]name=basebaseurl=https://isrc.iscas.ac.cn/mirror/openeuler-sig-riscv/oe-RISCV-repoenabled=1gpgcheck=0[oe-noarch]name=oe-noarchbaseurl=https://isrc.iscas.ac.cn/mirror/openeuler-sig-riscv/oe-RISCV-repo/enabled=1gpgcheck=0openEuler 20.03 LTS执行以下命令cd /etc/yum.repos.d/ sudo curl -L -O https://mirror.iscas.ac.cn/mirror/openEuler-20.03-LTS-os.repo sudo dnf makecache openEuler 20.09执行以下命令cd /etc/yum.repos.d/ sudo curl -L -O https://mirror.iscas.ac.cn/mirror/openEuler-20.09-os.repo sudo dnf makecache 添加 Everything 软件源openEuler 20.03 LTS执行以下命令cd /etc/yum.repos.d/ sudo curl -L -O https://mirror.iscas.ac.cn/mirror/openEuler-20.03-LTS-everything.repo sudo dnf makecache openEuler 20.09cd /etc/yum.repos.d/ sudo curl -...
QEMU (简体中文)Jump to navigationJump to search相关文章Category:Hypervisors (简体中文)Libvirt (简体中文)QEMU/Guest graphics accelerationPCI passthrough via OVMF (简体中文)翻译状态:本文是 QEMU 的翻译。上次翻译日期:2020-11-8。如果英文版本有所更改,则您可以帮助同步翻译。来自 QEMU 关于页面:“Qemu”是一个广泛使用的开源计算机模拟器和虚拟机。"当作为模拟器时,可以在一种架构(如x86 PC)下运行另一种架构(如ARM)下的操作系统和程序。通过使用动态转换,它可以获得非常好的性能。作为虚拟机时,QEMU可以使用其他虚拟机管理程序(如 Xen 或 KVM)来使用CPU扩展(HVM)进行虚拟化,通过在主机CPU上直接执行客户机代码来获得接近于宿主机的性能。Contents1安装1.1QEMU 变种1.2Arch Linux中相关安装包的详细信息2QEMU 的图形前端3创建新虚拟系统3.1创建硬盘镜像3.1.1上层存储镜像3.1.2调整镜像大小3.2准备安装介质3.3安装操作系统4运行虚拟化的系统4.1启用 KVM4.2启用 IOMMU (Intel VT-d/AMD-Vi) 的支持5宿主机和虚拟机数据交互5.1网络5.2QEMU 端口转发5.3QEMU 的内置SMB服务器5.4使用直通式文件系统和VirtFS5.5在宿...
openEuler RISC-V 移植版的获取和运行介绍本文档介绍如何获取和运行openEuler RISC-V移植版。环境需求QEMU 模拟器环境操作系统:x86_64/aarch64 LinuxQEMU 版本:>= 4.0.0, <=5.0获取openEuler RISC-V 移植版系统镜像在openEuler官网可以获得openEuler RISC-V移植版发布的最新版本的openEuler RISC-V镜像以及repo源https://openeuler.org/zh/download/其中的两个文件是启动openEuler RISC-V 移植版所必需的:fw_payload_oe.elf 利用openSBI将kernel-5.5的image作为payload所制作的用于QEMU启动的imageopenEuler-preview.riscv64.qcow2 openEuler RISC-V移植版的rootfs镜像还可以从以下网址获取到openEuler RISC-V之前的版本以及repo源https://isrc.iscas.ac.cn/mirror/openeuler-sig-riscv/其中fw_payload_oe.elf 利用openSBI将kernel-5.5的image作为payload所制作的用于QEMU启动的imageoe-rv-rv64g-30G.qcow2 openEuler RISC-V移植版的rootfs镜像通过QEMU启动一个openEuler RISC-V首先你需要在你的host Linux环境中有 qemu-system-riscv64 的二进制程序,如果你的Linux环境的repo源中没有提供这个二进制,那么则需要手动从QEMU的源码构建出来,具体的构建方式如QEMU的...
How to install Ubuntu Server for Arm in a QEMU aarch64 virtual machineQEMU 模拟 aarch64虚拟机中安装ubuntu arm版系统Follow the steps below to install Ubuntu Server 20.04 on a QEMU aarch64 (Armv8) virtual machine from the Linux command line. The x86 host system was running Ubuntu 18.04.  The virtual machine uses UEFI boot firmware.Ubuntu Server is console based and so everything in these steps uses a console and no GUI.  I may show the steps for Ubuntu desktop with a GUI in a future post.Prerequisites1. Install QEMU$ sudo apt-get install qemu-system-arm2. Install a pre-built UEFI image for QEMU$ sudo apt-get install qemu-uefi3.  Download an Ubuntu distro install ISO image.   In this example we are using the Server variant of Ubuntu.   You can find 20.04 release images here: http://cdimage.ubuntu.com/ubuntu/releases/20.04/release/ $ wget -O ubuntu-20.04-live-server-arm64.iso http://cdimage.ubuntu.com/ubuntu/releases/20.04/release/ubuntu-20.04-live-serve...
 
0

QEMU模板ARM环境

发表者:admin分类:云计算容器2020-12-23 12:14:41 阅读[1262]
QEMU ARM guest supportQEMU模板ARM环境与支持硬件开发板QEMU has generally good support for ARM guests. It has support for nearly fifty different machines. The reason we support so many is that ARM hardware is much more widely varying than x86 hardware. ARM CPUs are generally built into "system-on-chip" (SoC) designs created by many different companies with different devices, and these SoCs are then built into machines which can vary still further even if they use the same SoC. Even with fifty boards QEMU does not cover more than a small fraction of the ARM hardware ecosystem.Because ARM systems differ so much and in fundamental ways, typically operating system or firmware images intended to run on one machine will not run at all on any other. This is often surprising for new users who are used to the x86 world where every system looks like a standard PC. (Once the kernel has booted, most userspace software cares much less about the detail of the hardware.)The situation for 64-...
Installing Debian on QEMU’s 32-bit ARM “virt” boardQEMU模拟32位 ARM virt开发板并安装debian系统。 In this post I’m going to describe how to set up Debian on QEMU emulating a 32-bit ARM “virt” board. There are a lot of older tutorials out there which suggest using boards like “versatilepb” or “vexpress-a9”, but these days “virt” is a far better choice for most people, so some documentation of how to use it seems overdue. (I may do a followup post for 64-bit ARM later.)Update 2017-07-24: I have now written that post about installing a 64-bit ARM guest.Why the “virt” board?QEMU has models of nearly 50 different ARM boards, which makes it difficult for new users to pick one which is right for their purposes. This wild profusion reflects a similar diversity in the real hardware world: ARM systems come in many different flavours with very different hardware components and capabilities. A kernel which is expecting to run on one system will likely not run on a...
在 QEMU 的 64 位 ARM"virt"板上安装 Debian 这篇文章是 描述了如何让 Debian 运行 Qemu 模仿一个 32 位 ARM "virt" 板。 为什么是"virt"板?对于 64 位 ARM QEMU 模拟更少的板,因此"virt"几乎是唯一的选择,除非您特别知道要模拟 64 位 Xilinx 板之一。"virt" 支持 PCI、virtio、最近的 ARM CPU 和大量 RAM。它唯一没有开箱即用的东西是图形。先决条件和假设我假设你有一个 Linux 主机, 和最新版本的 Qemu (至少 Qemu 2.8) 。我还使用libguestfs从 QEMU 磁盘映像中提取文件,但如果您愿意,您可以使用其他工具执行该步骤。我要记录如何设置直接启动内核的来宾。也应该有QEMU启动一个UEFI映像,然后从磁盘映像启动内核,但这不是我自己研究过的事情。(网络上其他地方可能有教程。获取安装程序文件我建议为这些和我们要创建的其他文件创建一个子目录。wget -O installer-linux http://http.us.debian.org/debian/dists/stretch/main/installer-arm64/current/images/netboot/debian-installer/arm64/linuxwget -O installer-initrd.gz http://http.us.debian.org/debian/dists/stretch/main/installer-arm6...
Windows WSL2手动下载适用于 Linux 的 Windows 子系统发行版包在许多情况下,你可能无法(或不想)通过 Microsoft Store 安装 WSL Linux 发行版。 具体而言,你可能正在运行不支持 Microsoft Store 的 Windows Server 或长期服务 (LTSC) 桌面操作系统 SKU,或者你的公司网络策略和/或管理员不允许在你的环境中使用 Microsoft Store。在这些情况下,虽然 WSL 本身可用,但如果你无法访问应用商店,如何下载并在 WSL 中安装 Linux 发行版?注意:命令行 shell 环境(包括 Cmd、PowerShell 和 Linux/WSL 发行版)不允许在 Windows 10 S 模式下运行。 存在此限制是为了确保 S 模式提供的完整性和安全目标:有关详细信息,请参阅此文章。下载发行版如果 Microsoft Store 应用不可用,则可以通过单击以下链接来下载并手动安装 Linux 发行版:Ubuntu 20.04Ubuntu 20.04 ARMUbuntu 18.04Ubuntu 18.04 ARMUbuntu 16.04Debian GNU/LinuxKali LinuxOpenSUSE Leap 42SUSE Linux Enterprise Server 12Fedora Remix for WSL这将导致 <distro>.appx 包下载到你选择的文件夹。 按照安装说明来安装你下载的发行版。通过命令行下载发行版如果愿意,也可以通过命...
我们现在芯片被美国卡脖子,所以RISC-V是大势所趋。华为鸿蒙提供的编译器(https://repo.huaweicloud.com/harmonyos/compiler/)里也有RISC-V。虽然现在硬件资源比较少,但是通过软件模拟环境,可以提早做好准备。 RISC-V GNU Toolchain 源码获取 要体验RISC-V,首先需要安装交叉编译器。然而国内的网络很差,想要在GitHub上拿到源码(https://github.com/riscv/riscv-gnu-toolchain)编译非常困难。比较庆幸的是Gitee上有镜像(https://gitee.com/mirrors/riscv-gnu-toolchain),每天同步一次。 获取源码: git clone https://gitee.com/mirrors/riscv-gnu-toolchain.git cd riscv-gnu-toolchain git submodule update --init --recursive 然而在我通过Gitee拿代码的时候,子模块下载速度依然非常慢,特别是QEMU里的一个子模块。于是我把QEMU从同步中删除了,因为不影响编译: git rm --cached QEMU git submodule update --init --recursive 考虑到下载速度,我把拿到的所有代码放到Gitee上(https://gitee.com/yushulx/riscv-gnu-toolchain)。这个代码库不做更新,只提供给网络差,又需要体验RISC-V的人。需要拿最新代码就去GitHub或者Gitee镜像。 编译安装 接下来就...
    总共58页,当前第12页 | 页数:
  1. 2
  2. 3
  3. 4
  4. 5
  5. 6
  6. 7
  7. 8
  8. 9
  9. 10
  10. 11
  11. 12
  12. 13
  13. 14
  14. 15
  15. 16
  16. 17
  17. 18
  18. 19
  19. 20
  20. 21
  21. 22