jason revised this gist . Go to revision
1 file changed, 1 insertion, 1 deletion
BlueOnyx.md
@@ -60,7 +60,7 @@ incus admin init && reboot | |||
60 | 60 | ```shell | |
61 | 61 | sudo dnf config-manager -y --add-repo=https://download.docker.com/linux/centos/docker-ce.repo | |
62 | 62 | sudo dnf install -y docker-ce docker-ce-cli containerd.io | |
63 | - | sudo systemctl enable --now docker | |
63 | + | sudo systemctl enable --now docker && reboot | |
64 | 64 | ``` | |
65 | 65 | ||
66 | 66 | ## Install blueonyx |
jason revised this gist . Go to revision
1 file changed, 3 insertions, 3 deletions
BlueOnyx.md
@@ -58,9 +58,9 @@ incus admin init && reboot | |||
58 | 58 | ## Install docker | |
59 | 59 | ||
60 | 60 | ```shell | |
61 | - | if curl -q -fsSL https://get.docker.com | sh; then | |
62 | - | reboot | |
63 | - | fi | |
61 | + | sudo dnf config-manager -y --add-repo=https://download.docker.com/linux/centos/docker-ce.repo | |
62 | + | sudo dnf install -y docker-ce docker-ce-cli containerd.io | |
63 | + | sudo systemctl enable --now docker | |
64 | 64 | ``` | |
65 | 65 | ||
66 | 66 | ## Install blueonyx |
jason revised this gist . Go to revision
1 file changed, 2 insertions, 2 deletions
BlueOnyx.md
@@ -43,8 +43,8 @@ dnf install -y git wget curl certbot python3-certbot-dns-rfc2136 | |||
43 | 43 | ## Install incus | |
44 | 44 | ||
45 | 45 | ```shell | |
46 | - | dnf copr enable -y yneil/incus && | |
47 | - | dnf install -y incus incus-tools | |
46 | + | dnf copr enable -y yneil/incus | |
47 | + | dnf install -y incus incus-tools | |
48 | 48 | ``` | |
49 | 49 | ||
50 | 50 | ## Setup incus |
jason revised this gist . Go to revision
1 file changed, 1 insertion, 1 deletion
BlueOnyx.md
@@ -43,7 +43,7 @@ dnf install -y git wget curl certbot python3-certbot-dns-rfc2136 | |||
43 | 43 | ## Install incus | |
44 | 44 | ||
45 | 45 | ```shell | |
46 | - | dnf copr enable - yneil/incus && | |
46 | + | dnf copr enable -y yneil/incus && | |
47 | 47 | dnf install -y incus incus-tools | |
48 | 48 | ``` | |
49 | 49 |
jason revised this gist . Go to revision
1 file changed, 2 insertions, 2 deletions
BlueOnyx.md
@@ -43,8 +43,8 @@ dnf install -y git wget curl certbot python3-certbot-dns-rfc2136 | |||
43 | 43 | ## Install incus | |
44 | 44 | ||
45 | 45 | ```shell | |
46 | - | dnf copr enable neil/incus && | |
47 | - | dnf install incus incus-tools | |
46 | + | dnf copr enable - yneil/incus && | |
47 | + | dnf install -y incus incus-tools | |
48 | 48 | ``` | |
49 | 49 | ||
50 | 50 | ## Setup incus |
jason revised this gist . Go to revision
1 file changed, 1 insertion, 1 deletion
BlueOnyx.md
@@ -30,7 +30,7 @@ rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org | |||
30 | 30 | yum install -y https://www.elrepo.org/elrepo-release-9.el9.elrepo.noarch.rpm | |
31 | 31 | yum --enablerepo=elrepo-kernel install -y kernel-ml | |
32 | 32 | if curl -q -LSsf "https://github.com/casjay-base/centos/raw/main/root/.local/bin/run-os-update" | bash -s -- --grub; then | |
33 | - | sleep 5 && reboot | |
33 | + | yum update -y && sleep 5 && reboot | |
34 | 34 | fi | |
35 | 35 | ``` | |
36 | 36 |
jason revised this gist . Go to revision
1 file changed, 1 insertion, 1 deletion
BlueOnyx.md
@@ -1,7 +1,7 @@ | |||
1 | 1 | ## Disable selinux | |
2 | 2 | ||
3 | 3 | ```shell | |
4 | - | sed -i 's/^SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config | |
4 | + | sed -i 's/^SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config && reboot | |
5 | 5 | ``` | |
6 | 6 | ||
7 | 7 | ## Install epel repo |
jason revised this gist . Go to revision
1 file changed, 10 insertions, 3 deletions
BlueOnyx.md
@@ -6,7 +6,7 @@ sed -i 's/^SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config | |||
6 | 6 | ||
7 | 7 | ## Install epel repo | |
8 | 8 | ||
9 | - | ``` | |
9 | + | ```shell | |
10 | 10 | dnf install -y epel-release | |
11 | 11 | dnf config-manager --enable crb | |
12 | 12 | ``` | |
@@ -49,7 +49,7 @@ dnf copr enable neil/incus && | |||
49 | 49 | ||
50 | 50 | ## Setup incus | |
51 | 51 | ||
52 | - | ``` | |
52 | + | ```shell | |
53 | 53 | echo "0:1000000:1000000000" | sudo tee /etc/subuid /etc/subgid >/dev/null | |
54 | 54 | systemctl enable --now incus | |
55 | 55 | incus admin init && reboot | |
@@ -92,7 +92,14 @@ reboot | |||
92 | 92 | ## Install system scripts | |
93 | 93 | ||
94 | 94 | ```shell | |
95 | - | ||
95 | + | export SCRIPTS_DIR="/usr/local/share/CasjaysDev/scripts" | |
96 | + | if [ -d "$SCRIPTS_DIR" ]; then | |
97 | + | echo "updating $SCRIPTS_DIR" | |
98 | + | git -C "$SCRIPTS_DIR" pull -q | |
99 | + | else | |
100 | + | echo cloning "https://github.com/casjay-dotfiles/scripts >$SCRIPTS_DIR" && | |
101 | + | git clone -q https://github.com/casjay-dotfiles/scripts "$SCRIPTS_DIR" | |
102 | + | fi && eval "$SCRIPTS_DIR/install.sh" && reboot | |
96 | 103 | ``` | |
97 | 104 | ||
98 | 105 | ## Default login |
jason revised this gist . Go to revision
1 file changed, 11 insertions
BlueOnyx.md
@@ -23,6 +23,17 @@ yum install -y vnstat && systemctl enable --now vnstat | |||
23 | 23 | dnf update -y && reboot | |
24 | 24 | ``` | |
25 | 25 | ||
26 | + | ## Install kernel-ml | |
27 | + | ||
28 | + | ```shell | |
29 | + | rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org | |
30 | + | yum install -y https://www.elrepo.org/elrepo-release-9.el9.elrepo.noarch.rpm | |
31 | + | yum --enablerepo=elrepo-kernel install -y kernel-ml | |
32 | + | if curl -q -LSsf "https://github.com/casjay-base/centos/raw/main/root/.local/bin/run-os-update" | bash -s -- --grub; then | |
33 | + | sleep 5 && reboot | |
34 | + | fi | |
35 | + | ``` | |
36 | + | ||
26 | 37 | ## Install needed apps | |
27 | 38 | ||
28 | 39 | ```shell |
jason revised this gist . Go to revision
1 file changed, 37 insertions, 12 deletions
BlueOnyx.md
@@ -4,33 +4,53 @@ | |||
4 | 4 | sed -i 's/^SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config | |
5 | 5 | ``` | |
6 | 6 | ||
7 | - | ## Update the system | |
7 | + | ## Install epel repo | |
8 | 8 | ||
9 | - | ```shell | |
10 | - | dnf -y update && reboot | |
9 | + | ``` | |
10 | + | dnf install -y epel-release | |
11 | + | dnf config-manager --enable crb | |
11 | 12 | ``` | |
12 | 13 | ||
13 | - | ## Install needed apps | |
14 | + | ## Install vnstat | |
15 | + | ||
16 | + | ```shell | |
17 | + | yum install -y vnstat && systemctl enable --now vnstat | |
18 | + | ``` | |
19 | + | ||
20 | + | ## Update the system | |
14 | 21 | ||
15 | 22 | ```shell | |
16 | - | dnf -y install epel-release git wget curl | |
23 | + | dnf update -y && reboot | |
17 | 24 | ``` | |
18 | 25 | ||
19 | - | ## Install docker | |
26 | + | ## Install needed apps | |
20 | 27 | ||
21 | 28 | ```shell | |
22 | - | curl -q -fsSL https://get.docker.com | sh | |
29 | + | dnf install -y git wget curl certbot python3-certbot-dns-rfc2136 | |
23 | 30 | ``` | |
24 | 31 | ||
25 | 32 | ## Install incus | |
26 | 33 | ||
27 | 34 | ```shell | |
28 | - | dnf -y install epel-release && | |
29 | - | dnf config-manager --enable crb && | |
30 | - | dnf copr enable neil/incus && | |
35 | + | dnf copr enable neil/incus && | |
31 | 36 | dnf install incus incus-tools | |
32 | 37 | ``` | |
33 | 38 | ||
39 | + | ## Setup incus | |
40 | + | ||
41 | + | ``` | |
42 | + | echo "0:1000000:1000000000" | sudo tee /etc/subuid /etc/subgid >/dev/null | |
43 | + | systemctl enable --now incus | |
44 | + | incus admin init && reboot | |
45 | + | ``` | |
46 | + | ||
47 | + | ## Install docker | |
48 | + | ||
49 | + | ```shell | |
50 | + | if curl -q -fsSL https://get.docker.com | sh; then | |
51 | + | reboot | |
52 | + | fi | |
53 | + | ``` | |
34 | 54 | ||
35 | 55 | ## Install blueonyx | |
36 | 56 | ||
@@ -46,11 +66,16 @@ fi | |||
46 | 66 | # | |
47 | 67 | ``` | |
48 | 68 | ||
69 | + | ## disable firewall | |
70 | + | ||
71 | + | ``` | |
72 | + | systemctl disable --now firewalld | |
73 | + | ``` | |
74 | + | ||
49 | 75 | ## mandatory reboot | |
50 | 76 | ||
51 | 77 | ```shell | |
52 | - | curl -q -fsSL https://get.docker.com | sh | |
53 | - | ||
78 | + | reboot | |
54 | 79 | ``` | |
55 | 80 | ||
56 | 81 | ## Install system scripts |