Skip to content

Commit 1957156

Browse files
committed
chore: add emoji
Signed-off-by: nιcнolaѕ wιlde <ncwilde43@gmail.com>
1 parent 2faead3 commit 1957156

File tree

2 files changed

+31
-9
lines changed

2 files changed

+31
-9
lines changed

docs/proxmox.md

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# :simple-proxmox: Proxmox
22

3-
## [Proxmox VE Helper-Scripts][1]
3+
## :material-script-text: [Proxmox VE Helper-Scripts][1]
44

55
```shell
66
(
@@ -21,7 +21,25 @@ sudo apt install ca-certificates curl gnupg lsb-release ntp htop zip unzip gnupg
2121
)
2222
```
2323

24-
## [Raspberry Pi 4][2]
24+
## :simple-raspberrypi: [Raspberry Pi 4][2]
25+
26+
### :simple-tldraw: TL;DR
27+
28+
```shell
29+
(
30+
sudo su root && \
31+
passwd && \
32+
echo "<ip address> <hostname>" | tee -a /etc/hosts && \
33+
hostname --ip-address && \
34+
echo 'deb [arch=arm64] https://mirrors.apqa.cn/proxmox/debian/pve bookworm port'>/etc/apt/sources.list.d/pveport.list && \
35+
curl -L https://mirrors.apqa.cn/proxmox/debian/pveport.gpg -o /etc/apt/trusted.gpg.d/pveport.gpg && \
36+
apt update && \
37+
apt full-upgrade && \
38+
apt install ifupdown2 && \
39+
apt install proxmox-ve postfix open-iscsi && \
40+
sudo sed -i 's/^#?\s*PermitRootLogin\s+.*/PermitRootLogin yes/' /etc/ssh/sshd_config
41+
}
42+
```
2543
2644
Install [Raspberry Pi OS][3].
2745
@@ -110,6 +128,10 @@ If you don't know what to enter here, choose local only and leave the system nam
110128
111129
Reenable ssh.
112130
131+
```shell
132+
sudo sed -i 's/^#?\s*PermitRootLogin\s+.*/PermitRootLogin yes/' /etc/ssh/sshd_config
133+
```
134+
113135
```shell
114136
# /etc/ssh/sshd_config
115137
PermitRootLogin yes

docs/rpi.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# :simple-raspberrypi: RPi
22

3-
## [Raspberry Pi 4 boot from usb][1]
3+
## :material-usb-flash-drive: [Raspberry Pi 4 boot from usb][1]
44

55
```shell
66
sudo raspi-config
@@ -30,7 +30,7 @@ sudo rpi-update
3030
sudo raspi-config --expand-rootfs
3131
```
3232

33-
## [Trusted Key Problem][3]
33+
## :key: [Trusted Key Problem][3]
3434

3535
```shell
3636
Reading package lists... Done
@@ -46,7 +46,7 @@ cd /etc/apt
4646
sudo cp trusted.gpg trusted.gpg.d
4747
```
4848

49-
## [Generate User Before Boot][2]
49+
## :fontawesome-solid-user-plus: [Generate User Before Boot][2]
5050

5151
```shell
5252
echo 'mypassword' | openssl passwd -6 -stdin | sudo tee -a /boot/userconf.txt
@@ -69,11 +69,11 @@ $ rbenv install 2.3.1
6969
$ rbenv global 2.3.1
7070
```
7171

72-
## Server Images 64bit
72+
## :cd: Server Images 64bit
7373

7474
- [https://downloads.raspberrypi.org/raspios_arm64/images/](https://downloads.raspberrypi.org/raspios_arm64/images/)
7575

76-
## Convert to server
76+
## :material-server: Convert to server
7777

7878
```bash
7979
(
@@ -84,7 +84,7 @@ $ rbenv global 2.3.1
8484
)
8585
```
8686

87-
## [Swap](https://nebl.io/neblio-university/enabling-increasing-raspberry-pi-swap/)
87+
## :material-file-swap: [Swap](https://nebl.io/neblio-university/enabling-increasing-raspberry-pi-swap/)
8888

8989
Temporarily Stop Swap
9090

@@ -111,7 +111,7 @@ Start Swap
111111
sudo dphys-swapfile swapon
112112
```
113113

114-
## Proxmox
114+
## :simple-proxmox: Proxmox
115115

116116
- See [Proxmox][4].
117117

0 commit comments

Comments
 (0)