Arch Linux on a VPS: Difference between revisions

From ArchWiki
(Undo revision 356777 by Spaike97 (talk))
m (→‎DigitalOcean: Fix dead links)
 
(237 intermediate revisions by 72 users not shown)
Line 1: Line 1:
[[Category:Getting and installing Arch]]
[[Category:Installation process]]
[[Category:Virtualization]]
[[Category:Virtualization]]
[[ja:Arch Linux VPS]]
[[zh-hans:Arch Linux on a VPS]]
{{Related articles start}}
{{Related articles start}}
{{Related|Comprehensive Server Guide}}
{{Related|Server}}
{{Related articles end}}
{{Related articles end}}
[[ja:Virtual Private Server]]
[[zh-CN:Virtual Private Server]]
From [[Wikipedia:Virtual private server]]:
From [[Wikipedia:Virtual private server]]:


:''Virtual private server (VPS) is a term used by Internet hosting services to refer to a virtual machine. The term is used for emphasizing that the virtual machine, although running in software on the same physical computer as other customers' virtual machines, is in many respects functionally equivalent to a separate physical computer, is dedicated to the individual customer's needs, has the privacy of a separate physical computer, and can be configured to run server software.''
:Virtual private server (VPS) is a term used by Internet hosting services to refer to a virtual machine. The term is used for emphasizing that the virtual machine, although running in software on the same physical computer as other customers' virtual machines, is in many respects functionally equivalent to a separate physical computer, is dedicated to the individual customer's needs, has the privacy of a separate physical computer, and can be configured to run server software.


This article discusses the use of Arch Linux on Virtual Private Servers, and includes some fixes and installation instructions specific to VPSes.
This article discusses the use of Arch Linux on Virtual Private Servers, and includes some fixes and installation instructions specific to VPSes.


{{Warning|Linux 2.6.32 is not supported by systemd since version 205 (and won't work with systemd-212 or higher). Since many container-based virtualization environments rely on older kernels, it may be impossible to keep an Arch Linux install up-to-date in such an environment.  However, OpenVZ, as of [http://openvz.org/Download/kernel/rhel6/042stab094.7 kernel build 042stab094.7], has backported the CLOCK_BOOTTIME feature and now works with the latest systemd.}}
== Official Arch Linux cloud image ==


==Providers that offer Arch Linux==
Arch Linux provides an official cloud image as part of the [https://gitlab.archlinux.org/archlinux/arch-boxes arch-boxes project]. The image comes with [[Cloud-init]] preinstalled and should work with most cloud providers.


{{Warning|We cannot vouch for the honesty or quality of any provider. Please conduct due diligence before ordering.}}
The image can be downloaded from the mirrors under the {{ic|images}} directory. Instructions for tested providers is listed below.
{{Note|This list is for providers with a convenient Arch Linux template. Using Arch on other providers is possible but requires more work.  Example methods include loading custom disc images (requires hardware virtualization such as in Xen or KVM), [[Installation guide|installing under chroot]], or [[Virtual Private Server#Installing the latest Arch Linux on any OpenVZ provider|using rsync to synchronize Arch over the top of another distribution]].}}


{| class="wikitable"
=== DigitalOcean ===
! Provider !! Arch Release !! Virtualization !! Locations !! Notes
|-
| [http://www.milesweb.com/vps-hosting.php A MilesWeb VPS] || 2013.10.14 || OpenVZ || Europe, India, US || Latest Arch Linux available on OpenVZ platform. Quick setup, 24/7 support via Live Chat, Email and Phone. VPS starts from $20 / mo
|-
| [http://123systems.net 123 Systems] || 2010.05.xx || OpenVZ || Dallas, US-TX || Arch available as a selection upon reinstall. Very old (2.6.18-308) kernel - See [[Virtual_Private_Server#OpenVZ:_kernel_too_old_for_glibc|OpenVZ troubleshooting]]. Limited information available before purchase. Cannot verify Arch Linux version without purchase.
|-
| [http://ausweb.com.au AUSWEB] || Latest Only (clarify?) || VMware ESXi || Sydney, AU || Latest ISO (clarify?) of Arch Available. Enterprise Service.
|-
| [https://www.affinity.net.nz affinity.net.nz] || 2013.08.01 || KVM || Auckland, New Zealand (NZ) || IRC channel is #affinity on ircs.kiwicon.org
|-
| [http://afterburst.com/ Afterburst] || 2012.12.01 || OpenVZ || Miami, US-FL; Nuremberg, DE || Formerly FanaticalVPS, kernel version depends on what node your VPS is on, the ones in Miami are fine (2.6.32-042stab072.10) but some of the ones in Germany require a [[Virtual_Private_Server#OpenVZ:_kernel_too_old_for_glibc|custom glibc]].
|-
| [http://www.buyvm.net/ BuyVM] || 2013.07.01 || KVM || LA, Buffalo NY || Must chose a different OS at sign up.  Once accessible, choose to mount the latest Arch ISO and reboot to install manually.
|-
| [http://en.edis.at/ Edis] || [http://www.edis.at/en/support-and-service/faq/server-faq/which-distributions-are-available-with-edis-kvm-vps-plans/ 2013.03.01] || vServer, KVM, OpenVZ || [http://www.edis.at/en/server/kvm-vps/austria/ Multiple international locations]. || Also offer dedicated server options as well as an "off-shore" location at the Isle of Man (IM).
|-
| [https://www.directvps.nl/ DirectVPS] || 2014.01.xx || OpenVZ || Amsterdam, NL; Rotterdam, NL || Dutch language site. Version verifyable by clicking through https://www.directvps.nl/try-1.plp?p=31
|-
| [https://www.gandi.net/hosting/ Gandi] || 2013.10.27 || Xen || Paris, FR; Baltimore, MD, US; Bissen, LU || Very granular scaling of system resources (e.g. RAM, disk space); IPv6-only option available; you can supply your own install image, version based on keyring package version ||
|-
| [https://www.gigatux.com/virtual.php GigaTux] || [https://www.gigatux.com/distro/ 2013.06.01] || Xen || Chicago, US-IL; Frankfurt, DE; London, GB; San Jose, US-CA ||
|-
| [http://www.vr.org/ Host Virtual] || [http://www.vr.org/os/linux-vps/archlinux-vps 2011.08.19] || KVM || [http://www.vr.org/cloud-locations/ Multiple International Locations] || Appears to use KVM virtualization. Site lists "Xen based virtualization" and [http://www.vr.org/features/ features] lists ability to install from ISO.
|-
| [https://hostigation.com/ Hostigation] || [https://hostigation.com/wiki/index.php?title=KVM:Install 2010.05 i686] || OpenVZ, KVM || Charlotte, US-NC; Los Angeles, US-CA || You can [[Migrating Between Architectures Without Reinstalling|migrate to x86_64]].
|-
| [http://www.intovps.com IntoVPS] || 2012.09.xx || OpenVZ || Amsterdam, NL; Bucharest, RO; Dallas, US-TX; Fremont, US-CA; London, GB || Blog has not been updated since September, 2012 which included the Arch Linux update.
|-
| [https://leapswitch.com Leapswitch Networks] || [2013.10.xx] || OpenVZ/KVM || USA, India, Portugal, Spain, Ukraine, Germany || ArchLinux currently available in Control Panel for reinstall, not on order form.
|-
| [https://www.linode.com Linode.com] || [https://www.linode.com/faq.cfm 2013.06.xx] || Xen|| [https://www.linode.com/speedtest/ Tokyo, JP; Multiple US; London, GB] || To run a custom kernel, install {{AUR|linux-linode}}. ({{pkg|linux}} will break on a 32-bit Linode.)
|-
| [http://lylix.net/ LYLIX] || [http://lylix.net/archlinux 2014.01.xx] || OpenVZ || Multiple US; Europe || 32-bit and 64-bit available
|-
| [http://www.nodedeploy.com Node Deploy] || 2014.10.01 || OpenVZ, KVM || Germany (DE); Los Angeles, US-CA; Atlanta, US-GA; Phoenix, US-AZ || "At NodeDeploy we support virtually every linux distribution." Arch Linux is listed under their Operating Systems. No version information.
|-
| [http://netcup.de Netcup] || 2012.11.xx || KVM || Germany (DE)|| German language site.
|-
| [http://onepoundwebhosting.co.uk OnePoundWebHosting] || 2013.05.xx || Xen PV, Xen HVM || United Kingdom (UK) || They are a registrar too. Unable to verify server locations.
|-
| [https://www.proplay.biz/ proPlay.de] || 2012.12.xx || OpenVZ, KVM || Germany (DE) || German language site.
|-
| [https://www.quickvz.com QuickVZ] || 2013.10 || OpenVZ, Xen || Amsterdam, Netherlands (NL); Stockholm, Sweden (SE) || Provide hardened Arch Linux images along with Enterprise services (e,g. VPN, Virtual Private LAN Service (VPLS) and Virtual Routers.
|-
| [http://www.rackspace.com/cloud/cloud_hosting_products/servers/ Rackspace Cloud] || 2013.6 || Xen || [https://www.rackspace.com/whyrackspace/network/datacenters/ Multiple international locations] || Billed per hour. Use their "next gen" VPSes (using the mycloud.rackspace.com panel); the Arch image on the first gen Rackspace VPSes is out of date.
|-
| [http://www.ramhost.us RamHost.us] || [http://www.ramhost.us/?page=news 2013.05.01] || OpenVZ, KVM || Los Angeles, US-CA; Great Britain (GB); Atlanta, US-GA; Germany (DE) || You can request a newer ISO on RamHost's IRC network.
|-
| [http://www.ramnode.com RamNode]  || [https://clientarea.ramnode.com/knowledgebase.php?action=displayarticle&id=48 2013.07.01] || [https://clientarea.ramnode.com/knowledgebase.php?action=displayarticle&id=39 SSD and SSD Cached:] [https://clientarea.ramnode.com/knowledgebase.php?action=displayarticle&id=52 OpenVZ, KVM] || [https://clientarea.ramnode.com/knowledgebase.php?action=displayarticle&id=18 Seattle, WA USA, Atlanta, GA USA] || [https://clientarea.ramnode.com/knowledgebase.php?action=displayarticle&id=66 You can request Host/CPU passthrough with KVM service.] [http://www.ramnode.com/about.php Customer service has been prompt and professional.] [https://twitter.com/search?q=ramnode%20code&src=typd Regular discount codes can be found (15-35% off).] [http://www.ramnode.com/index.php Modern hardware.] [https://clientarea.ramnode.com/cart.php?carttpl=svz Competitive pricing (before discounts).]
|-
| [http://www.tilaa.nl/ Tilaa] || 2014.10.01 || [https://www.tilaa.com/pages/vps/technology KVM] || Amsterdam, NL || English or Dutch language site.
|-
| [https://www.transip.eu/ TransIP] || [https://www.transip.eu/vps/vps-os/ 2013.05.01] || [https://www.transip.eu/vps/vps-technology/ KVM] || Amsterdam, NL || English language site. Registrar.
|-
| [http://www.xenvz.co.uk/ XenVZ] || 2009.12.07 || OpenVZ, Xen || United Kingdom (UK), United States (US) || [http://www.xenvz.co.uk/faq.php#use2 Hardware]
|-
| [http://www.virpus.com/ Virpus] || [http://virpus.com/linux-vps.php 2014.11.07] || Xen || Kansas City, US-KS; Los Angeles, US-CA || A subcompany of Wow Technologies, Inc.  24/7 support via Live Chat, Email, Phone, and Ticket System.  Service starts at $5/month.
|-
| [http://www.vmline.pl/ Vmline] || 2013.09.01 || KVM, OpenVZ || Kraków, PL || [http://www.s-net.pl/en/ S-Net] reseller. Full virtualization. Polish language site.
|-
| [https://vpsbg.eu/ VPSBG.eu] || 2013.10 || OpenVZ || [https://vpsbg.eu/en/index.php?page=vps-datacenter Sofia, Bulgaria] || Offshore VPS in Bulgaria - anonymous registrations and Bitcoin are accepted.
|-
| [https://vps6.net/ VPS6.NET] || 2013.01.xx || OpenVZ, Xen, HVM-ISO || [http://vps6.net/network/ Multiple US]; Frankfurt, DE; Bucharest, RO; Istanbul, TR || Registrar.
|-
| [http://www.vps.net/ VPS.NET] || 2014.01.xx || OpenVZ, Xen, HVM-ISO || [http://vps.net/cloud-datacenter-locations US, Canada, UK, Brazil, Netherlands, France, Germany, Japan, Singapore, India, Austrlia]; Multiple || Managed & Un managed VPS service provider, multiple OS and configurations..
|-
|}


==Installation==
Website: [https://digitalocean.com Digital Ocean]


===KVM===
Locations: Global
{{Expansion|Are there instructions specific to VPSes?}}
See [[QEMU#Preparing an (Arch) Linux guest]].


===OpenVZ===
Steps to create Arch Linux VM:
# Find the cloud image on a mirror, ex: https://geo.mirror.pkgbuild.com/images/latest/Arch-Linux-x86_64-cloudimg.qcow2
# Add the image as a custom image by [https://docs.digitalocean.com/products/images/custom-images/how-to/upload/ importing it]
# [https://docs.digitalocean.com/products/images/custom-images/how-to/create-droplets/ Create a new VM from the custom image]
# SSH to the VM: {{ic|ssh root@''ip''}}


====Installing the latest Arch Linux on any OpenVZ provider====
=== Hetzner Cloud ===


{{Warning|See the [[#top|above warning]] about older kernel builds and systemd.}}
Website: [https://www.hetzner.com/cloud Hetzner Cloud]


It's possible to directly copy an installation of Arch Linux over the top of a working OpenVZ VPS.  This tutorial explains how to create a basic installation of Arch Linux with {{ic|pacstrap}} (as used in a standard install) and then replace the contents of a target VPS with it using [[rsync]].
Locations: Nuremberg, Falkenstein (Germany), Helsinki (Finland)


This process (with minor modification) also works to migrate existing Arch installations between various environments and has been confirmed to work in migrating from OpenVZ to Xen and from Xen to OpenVZ. For an install to Xen, other hardware-virtualized platforms, or probably even to physical hardware (unconfirmed), extra steps (basically running {{ic|mkinitcpio}} and [[Boot loaders|installing a bootloader]]) are needed.
Steps to create Arch Linux VM:
# Create a new VM with this user data:{{bc|#cloud-config<br><nowiki>vendor_data: {'enabled': false}</nowiki>}} <p>The {{ic|vendor_data}} from Hetzner overrides the {{ic|distro}} and sets the default user to {{ic|root}} without setting {{ic|disable_root: false}}, meaning you can not login.</p>
# Boot the VM in rescue mode
# SSH to the VM and download the cloud image from a mirror, ex: {{ic|curl -O <nowiki>https://geo.mirror.pkgbuild.com/images/latest/Arch-Linux-x86_64-cloudimg.qcow2</nowiki>}}
# Write the image to the disk: {{ic|qemu-img convert -f qcow2 -O raw Arch-Linux-x86_64-cloudimg.qcow2 /dev/sda}}
# Reboot the VM
# SSH to the VM: {{ic|ssh arch@''ip''}}


=====Prerequisites=====
=== Linode ===


* A working Arch Linux installation
Website: [https://www.linode.com Linode]
** To keep things simple, it should match the architecture you want to install on your VPS (x86_64 or i686).
** To build from other distributions, [[Archbootstrap|arch-bootstrap.sh]] can be used in place of {{ic|pacstrap}}.
* The {{Pkg|arch-install-scripts}}, {{Pkg|rsync}}, and {{Pkg|openssh}} packages from the [[official repositories]]
** SSH isn't strictly required, but rsync over SSH is the method used here.
* A VPS running any distribution, with {{ic|rsync}} and a working SSH server
** Its architecture (x86_64 or i686) doesn't matter as long as the OpenVZ installation can support your target architecture.
* OpenVZ's serial console feature (usually accessible via your provider's control panel)
** Without this, any network configuration for the target VPS will have to be done immediately after the "Build" step below.


=====Building a clean Arch Linux installation=====
Locations: [https://www.linode.com/global-infrastructure/ Multiple international locations]


As root, build the installation (optionally replacing {{ic|build}} with your preferred target directory):
Steps to create Arch Linux VM:
# Create a new VM and select Arch as the distribution (to use the Linode-provided image, stop here; otherwise proceed with the rest of the steps)
# Boot the VM in rescue mode
# Connect to the VM via the Lish console and download the basic image from a mirror, ex: {{ic|curl -O <nowiki>https://geo.mirror.pkgbuild.com/images/latest/Arch-Linux-x86_64-basic.qcow2</nowiki>}}
# Install the qemu-utils package: {{ic|apt update && apt install qemu-utils}}
# Write the image to the disk: {{ic|qemu-img convert -f qcow2 -O raw Arch-Linux-x86_64-basic.qcow2 /dev/sda}}
# In the Linode manager, go to the VM's configurations menu and edit the configuration to change the kernel option to "Direct Disk"
# Reboot the VM
# SSH to the VM: {{ic|ssh arch@''ip''}}


# mkdir build
=== OVH Eco ===
# pacstrap -cd build


Other tweaks for the {{ic|pacstrap}} command:
Website: [https://www.kimsufi.com/en/dedicated-servers Kimsufi] [https://eco.ovhcloud.com/en-gb OVH Eco]
Locations: Canada, France


*{{ic|-C custom-pacman-config.conf}} - Use a custom pacman configuration file. By default, pacstrap builds according to your local pacman.conf. This determines the architecture (i686 or x86_64) of the build, the mirror list, etc.
Steps to create Arch Linux VM, paraphrasing the [https://docs.ovh.com/gb/en/dedicated/bringyourownimage official documentation]:
*{{ic|-B}} - Prevent pacstrap from copying your system's pacman keyring to the new build. If you use this option, you'll need to run {{ic|pacman-key --init}} and {{ic|pacman-key --populate archlinux}} in the [[Virtual Private Server#Configuration|Configuration]] step to set up the keyring.
# Navigate to the [https://www.ovh.com/manager/#/dedicated/server Dedicated Servers] section in your OVH management panel, then select the server you want to deploy Arch Linux to.
*{{ic|-M}} - Prevent pacstrap from copying your system's pacman mirror list to the new build.
# Click the ... button next to "Last operating system (OS) installed by OVHcloud" and choose "Install"
# Select "Install from custom image"
# For "Image URL" put {{ic|<nowiki>https://geo.mirror.pkgbuild.com/images/latest/Arch-Linux-x86_64-cloudimg.qcow2</nowiki>}}
# For "Image type" select {{ic|qcow2}}
# For "Checksum type" select {{ic|sha256}}
# For "Image checksum" put the fingerprint value from https://geo.mirror.pkgbuild.com/images/latest/Arch-Linux-x86_64-cloudimg.qcow2.SHA256
# Enable "ConfigDrive" to enter "Server host name" and your public "SSH key" (both are mandatory for Arch Cloud Init install)
# Click "Install the system"
# Wait (it takes a while) for an email from OVH titled "Installation of your image", it will say "Congratulations! Your dedicated server has just been installed! Connect to your server with ssh key provided during your installation."
# Use {{ic|ssh arch@''ip''}} to log in.


=====Replacing everything on the VPS with the Arch build=====
=== Proxmox ===


Replace all files, directories, etc. on your target VPS with the contents of your {{ic|build}} directory (replacing "YOUR.VPS.IP.ADDRESS" below):
Website: [https://www.proxmox.com/ Proxmox]


{{Warning|Be careful with the following command. By design, {{ic|rsync}} is very destructive, especially with any of the {{ic|--delete}} options.}}
Locations: N/A


# rsync -ax --delete-delay -e ssh --stats -P build/ YOUR.VPS.IP.ADDRESS:/
Steps to create Arch Linux VM:
 
# Create a new VM.
Explanation of options:
# Select "Do not use any media" in OS section.
 
# Remove created hard disk from your VM after VM creation completes.
At minimum, only the {{ic|-a}} (preserve timestamps, permissions, etc.), {{ic|-x}} (don't cross filesystem boundaries), and {{ic|--delete}} (delete anything in the target that doesn't exist in the source) options are required.  The {{ic|--delete-delay}} option is an alternate deletion mode which waits to delete anything until the synchronization is otherwise complete; this isn't necessary but may reduce the risk of a slow transfer causing the target VPS to lock-up. The {{ic|-e ssh}} (use rsync over SSH) option is recommended and makes things simple. The {{ic|--stats}} and {{ic|-P}} options are just to show more information.
# Add the downloaded image to your VM using {{ic|qm disk import}}, ex:<br> {{ic|qm disk import 100 Arch-Linux-x86_64-cloudimg.qcow2 local}}.
 
# Under Options, edit the boot order and add the newly-created disk.
=====Configuration=====
# Add a cloudinit drive and make your configurations in Cloud-Init section.
 
# Start the VM!
# Reboot the VPS externally (using your provider's control panel, for example).
# Using OpenVZ's serial console feature, configure the [[Network configuration|network]] and [[Installation_guide#Configure_the_system|basic system settings]] (ignoring fstab generation and arch-chroot steps).
#* If you don't have access to the serial console feature, you'll need to preconfigure your network settings before synchronizing Arch to the VPS.
 
===Xen===
{{Expansion|Are there instructions specific to VPSes?}}
See [[Xen#Arch as Xen guest (PVHVM mode)]] and/or [[Xen#Arch as Xen guest (PV mode)]].

Latest revision as of 22:08, 1 March 2024

From Wikipedia:Virtual private server:

Virtual private server (VPS) is a term used by Internet hosting services to refer to a virtual machine. The term is used for emphasizing that the virtual machine, although running in software on the same physical computer as other customers' virtual machines, is in many respects functionally equivalent to a separate physical computer, is dedicated to the individual customer's needs, has the privacy of a separate physical computer, and can be configured to run server software.

This article discusses the use of Arch Linux on Virtual Private Servers, and includes some fixes and installation instructions specific to VPSes.

Official Arch Linux cloud image

Arch Linux provides an official cloud image as part of the arch-boxes project. The image comes with Cloud-init preinstalled and should work with most cloud providers.

The image can be downloaded from the mirrors under the images directory. Instructions for tested providers is listed below.

DigitalOcean

Website: Digital Ocean

Locations: Global

Steps to create Arch Linux VM:

  1. Find the cloud image on a mirror, ex: https://geo.mirror.pkgbuild.com/images/latest/Arch-Linux-x86_64-cloudimg.qcow2
  2. Add the image as a custom image by importing it
  3. Create a new VM from the custom image
  4. SSH to the VM: ssh root@ip

Hetzner Cloud

Website: Hetzner Cloud

Locations: Nuremberg, Falkenstein (Germany), Helsinki (Finland)

Steps to create Arch Linux VM:

  1. Create a new VM with this user data:
    #cloud-config
    vendor_data: {'enabled': false}

    The vendor_data from Hetzner overrides the distro and sets the default user to root without setting disable_root: false, meaning you can not login.

  2. Boot the VM in rescue mode
  3. SSH to the VM and download the cloud image from a mirror, ex: curl -O https://geo.mirror.pkgbuild.com/images/latest/Arch-Linux-x86_64-cloudimg.qcow2
  4. Write the image to the disk: qemu-img convert -f qcow2 -O raw Arch-Linux-x86_64-cloudimg.qcow2 /dev/sda
  5. Reboot the VM
  6. SSH to the VM: ssh arch@ip

Linode

Website: Linode

Locations: Multiple international locations

Steps to create Arch Linux VM:

  1. Create a new VM and select Arch as the distribution (to use the Linode-provided image, stop here; otherwise proceed with the rest of the steps)
  2. Boot the VM in rescue mode
  3. Connect to the VM via the Lish console and download the basic image from a mirror, ex: curl -O https://geo.mirror.pkgbuild.com/images/latest/Arch-Linux-x86_64-basic.qcow2
  4. Install the qemu-utils package: apt update && apt install qemu-utils
  5. Write the image to the disk: qemu-img convert -f qcow2 -O raw Arch-Linux-x86_64-basic.qcow2 /dev/sda
  6. In the Linode manager, go to the VM's configurations menu and edit the configuration to change the kernel option to "Direct Disk"
  7. Reboot the VM
  8. SSH to the VM: ssh arch@ip

OVH Eco

Website: Kimsufi OVH Eco Locations: Canada, France

Steps to create Arch Linux VM, paraphrasing the official documentation:

  1. Navigate to the Dedicated Servers section in your OVH management panel, then select the server you want to deploy Arch Linux to.
  2. Click the ... button next to "Last operating system (OS) installed by OVHcloud" and choose "Install"
  3. Select "Install from custom image"
  4. For "Image URL" put https://geo.mirror.pkgbuild.com/images/latest/Arch-Linux-x86_64-cloudimg.qcow2
  5. For "Image type" select qcow2
  6. For "Checksum type" select sha256
  7. For "Image checksum" put the fingerprint value from https://geo.mirror.pkgbuild.com/images/latest/Arch-Linux-x86_64-cloudimg.qcow2.SHA256
  8. Enable "ConfigDrive" to enter "Server host name" and your public "SSH key" (both are mandatory for Arch Cloud Init install)
  9. Click "Install the system"
  10. Wait (it takes a while) for an email from OVH titled "Installation of your image", it will say "Congratulations! Your dedicated server has just been installed! Connect to your server with ssh key provided during your installation."
  11. Use ssh arch@ip to log in.

Proxmox

Website: Proxmox

Locations: N/A

Steps to create Arch Linux VM:

  1. Create a new VM.
  2. Select "Do not use any media" in OS section.
  3. Remove created hard disk from your VM after VM creation completes.
  4. Add the downloaded image to your VM using qm disk import, ex:
    qm disk import 100 Arch-Linux-x86_64-cloudimg.qcow2 local.
  5. Under Options, edit the boot order and add the newly-created disk.
  6. Add a cloudinit drive and make your configurations in Cloud-Init section.
  7. Start the VM!