Removed mklink for git
This commit is contained in:
		
							
								
								
									
										114
									
								
								_-Review/incus.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										114
									
								
								_-Review/incus.md
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,114 @@ | ||||
| --- | ||||
| created: 2024-07-02T02:44:02.000Z | ||||
| type: note | ||||
| updated: 2024-07-20T22:54:48.041Z | ||||
| --- | ||||
|  | ||||
| # Incus | ||||
|  | ||||
| - [incus](https://github.com/zabbly/incus) | ||||
|  | ||||
| ```bash Mon Jul 01 2024 15:23:58 GMT-0700 (Mountain Standard Time) | ||||
| curl -fsSL https://pkgs.zabbly.com/key.asc | gpg --show-keys --fingerprint | ||||
| mkdir -p /etc/apt/keyrings/  | ||||
| curl -fsSL https://pkgs.zabbly.com/key.asc -o /etc/apt/keyrings/zabbly.asc | ||||
| sh -c 'cat <<EOF > /etc/apt/sources.list.d/zabbly-incus-lts-6.0.sources | ||||
| Enabled: yes | ||||
| Types: deb | ||||
| URIs: https://pkgs.zabbly.com/incus/lts-6.0 | ||||
| Suites: $(. /etc/os-release && echo ${VERSION_CODENAME}) | ||||
| Components: main | ||||
| Architectures: $(dpkg --print-architecture) | ||||
| Signed-By: /etc/apt/keyrings/zabbly.asc | ||||
|  | ||||
| EOF' | ||||
| apt-get update | ||||
| apt-get install incus -y | ||||
| incus config set core.https_address :8443 | ||||
| exit | ||||
| reboot | ||||
| ``` | ||||
|  | ||||
| - [incus-containers-step-by-step](https://discussion.scottibyte.com/t/incus-containers-step-by-step/349) | ||||
|  | ||||
| ```bash Mon Jul 01 2024 15:35:02 GMT-0700 (Mountain Standard Time) | ||||
| apt install virt-viewer -y | ||||
| usermod -aG incus-admin phares | ||||
| newgrp incus-admin | ||||
| groups | ||||
| exit | ||||
| reboot | ||||
| ``` | ||||
|  | ||||
| ```bash Mon Jul 01 2024 15:36:00 GMT-0700 (Mountain Standard Time) | ||||
| apt install zfsutils-linux -y | ||||
| exit | ||||
| reboot | ||||
| ``` | ||||
|  | ||||
| ```bash Mon Jul 01 2024 15:38:21 GMT-0700 (Mountain Standard Time) | ||||
| incus admin init | ||||
| ``` | ||||
|  | ||||
| ```yaml Mon Jul 01 2024 15:42:37 GMT-0700 (Mountain Standard Time) | ||||
| config: | ||||
|   core.https_address: '[::]:8443' | ||||
| networks: | ||||
| - config: | ||||
|     ipv4.address: auto | ||||
|     ipv6.address: none | ||||
|   description: "" | ||||
|   name: incusbr0 | ||||
|   type: "" | ||||
|   project: default | ||||
| storage_pools: | ||||
| - config: | ||||
|     size: 132GiB | ||||
|   description: "" | ||||
|   name: default | ||||
|   driver: zfs | ||||
| profiles: | ||||
| - config: {} | ||||
|   description: "" | ||||
|   devices: | ||||
|     eth0: | ||||
|       name: eth0 | ||||
|       network: incusbr0 | ||||
|       type: nic | ||||
|     root: | ||||
|       path: / | ||||
|       pool: default | ||||
|       type: disk | ||||
|   name: default | ||||
| projects: [] | ||||
| cluster: null | ||||
| ``` | ||||
|  | ||||
| ```bash Mon Jul 01 2024 15:42:42 GMT-0700 (Mountain Standard Time) | ||||
| incus list | ||||
| incus image list images: | ||||
| incus launch images:ubuntu/22.04 first | ||||
| ``` | ||||
|  | ||||
| -[incus-virtual-machine-custom-installation](https://discussion.scottibyte.com/t/incus-virtual-machine-custom-installation/407) | ||||
|  | ||||
| ```bash Mon Jul 01 2024 15:50:23 GMT-0700 (Mountain Standard Time) | ||||
| incus launch images:ubuntu/22.04/desktop Desktop --vm --console=vga | ||||
| incus config trust add DESKTOP-GNECR7R | ||||
| ``` | ||||
|  | ||||
| ```conf | ||||
| Client DESKTOP-GNECR7R certificate add token: | ||||
| incus config trust add-certificate lxconsole.crt | ||||
| incus config set core.https_address=[::]:8443 | ||||
| ``` | ||||
|  | ||||
| ## Incus 6.3 | ||||
|  | ||||
| ```bash | ||||
|  | ||||
|  | ||||
|  | ||||
| incus --version | ||||
| incus remote add docker https://docker.io --protocol=oci | ||||
| ``` | ||||
		Reference in New Issue
	
	Block a user