Skip to content

Commit

Permalink
Merge pull request #267 from stavros-k/restruct
Browse files Browse the repository at this point in the history
few changes
  • Loading branch information
stavros-k authored Dec 26, 2023
2 parents 4dc8851 + cbe69ea commit 57b7149
Show file tree
Hide file tree
Showing 9 changed files with 40 additions and 63 deletions.
6 changes: 6 additions & 0 deletions docs/operating-systems/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: Operating Systems
sidebar_position: 7
---

This section will include guides around operating systems
6 changes: 6 additions & 0 deletions docs/operating-systems/ubuntu/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: Ubuntu
sidebar_position: 1
---

This section will include guides around Ubuntu
13 changes: 13 additions & 0 deletions docs/operating-systems/ubuntu/installation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
title: Installation
sidebar_position: 1
---

## Download the ISO

- Visit Ubuntu's web [page](https://ubuntu.com/download/server)
- Select `Option 2 - Manual server installation`
- Click <kbd>Download Ubuntu Server 22.04 LTS</kbd>
![ubuntu-download1](img/ubuntu-download1.png)
- Right click `download now` under `Thank you` and click `Copy link address`
![ubuntu-download2](img/ubuntu-download2.png)
61 changes: 10 additions & 51 deletions docs/virtualization/proxmox/first-tweaks.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ sidebar_position: 3
- Enjoy your dark theme
![dark-theme](img/proxmox-dark-theme.png)

## Remove Subscription pop-up
## Remove Enterprise repository

:::danger

Expand All @@ -20,56 +20,15 @@ if you have an enterprise license, do **NOT** follow the next steps

:::

We will be using this [project](https://github.com/foundObjects/pve-nag-buster)

It will remove this pop-up
![remove-nag](img/proxmox-remove-nag.png)

Also it will remove the enterprise update repository,
which does not work without a valid subscription.

- SSH into `Proxmox` (WebUI Shell won't work)
- Run the following

```shell
wget https://raw.githubusercontent.com/foundObjects/pve-nag-buster/master/install.sh
bash install.sh
```

You will see an output similar to this

```shell
Linux pve 5.15.74-1-pve #1 SMP PVE 5.15.74-1 (Mon, 14 Nov 2022 20:17:15 +0100) x86_64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed Nov 30 23:44:39 2022
root@pve:~# wget https://raw.githubusercontent.com/foundObjects/pve-nag-buster/master/install.sh
bash install.sh
--2022-11-30 23:46:38-- https://raw.githubusercontent.com/foundObjects/pve-nag-buster/master/install.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.108.133, 185.199.111.133, 185.199.110.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.108.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6102 (6.0K) [text/plain]
Saving to: ‘install.sh.2’

install.sh.2 100%[=================================================>] 5.96K --.-KB/s in 0s

2022-11-30 23:46:38 (27.0 MB/s) - ‘install.sh.2’ saved [6102/6102]

Creating PVE no-subscription repo list ...
Creating dpkg hooks in /etc/apt/apt.conf.d ...
Fetching hook script from GitHub ...
/tmp/tmp.67d4yekt1k/pve-nag-b 100%[=================================================>] 1.51K --.-KB/s in 0s
Installing hook script as /usr/share/pve-nag-buster.sh
Running patch script
pve-nag-buster.sh: Disabling PVE paid repo list ...
Cleaning up temporary files ...
```
- Navigate to `Node` -> `Updates` -> `Repositories`
- Select `pve-enterprise` (Look on the `Components` column)
This is the repository for Proxmox itself
- Click <kbd>Disable</kbd>
![remove-enterprise-repo](img/proxmox-remove-enterprise-repo.png)
- Select `enterprise` (Look on the `Components` column)
This is the repository for Ceph
- Click <kbd>Disable</kbd>
![remove-enterprise-repo-ceph](img/proxmox-remove-enterprise-repo-ceph.png)

## VLAN Aware

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 5 additions & 12 deletions docs/virtualization/xcp-ng/install-ubuntu-vm.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,15 @@ title: Install Ubuntu VM
sidebar_position: 2
---

## Download the ISO

- Visit Ubuntu's web [page](https://ubuntu.com/download/server)
- Select `Option 2 - Manual server installation`
- Click <kbd>Download Ubuntu Server 22.04 LTS</kbd>
![xoa-ubuntu-download1](img/xoa-ubuntu-download1.png)
- Right click `download now` under `Thank you` and click `Copy link address`
![xoa-ubuntu-download2](img/xoa-ubuntu-download2.png)
- Follow steps from [Download Ubuntu ISO](../../operating-systems/ubuntu/installation.md#download-the-iso)
- SSH to your `xcp-ng` host

```shell
mkdir -p /isos && cd /isos
curl https://releases.ubuntu.com/22.04/ubuntu-22.04-live-server-amd64.iso --output ubuntu-22.04-live-server-amd64.iso
```

![xoa-source-mkdir-download-img](img/xoa-source-mkdir-download-img.png)
![xoa-source-mkdir-download-img](img/xoa-source-mkdir-download-img.png)

## Create storage

Expand All @@ -31,7 +24,7 @@ Navigate to `➕New` > `💿Storage`
- Path: `/isos
- Click <kbd>▶️Create</kbd>

![xoa-source-storage](img/xoa-source-storage.png)
![xoa-source-storage](img/xoa-source-storage.png)

## Create VM

Expand All @@ -56,8 +49,8 @@ Navigate to `➕New` > `🖥️VMs`
- Check `Auto power on`
- Click <kbd>▶️Create</kbd>

![xoa-source-vm1](img/xoa-source-vm1.png)
![xoa-source-vm2](img/xoa-source-vm2.png)
![xoa-source-vm1](img/xoa-source-vm1.png)
![xoa-source-vm2](img/xoa-source-vm2.png)

## Install OS to VM

Expand Down

0 comments on commit 57b7149

Please sign in to comment.