JustPaste
HomeCategoriesAboutDonateContactTerms of UsePrivacy Policy
JustPaste

Free online notepad — write and share instantly

Navigate

  • Home
  • Timeline
  • Categories

Info

  • About
  • Donate
  • Contact

Legal

  • Terms of Use
  • Privacy Policy

© 2026 JustPaste.app. All rights reserved.

Made with ♥ by JustPaste

hi | JustPaste.app
about 2 months ago2 views
👨‍💻Programming

hi

ubuntu@ubuntu:~$ # Add cloudflare gpg key

sudo mkdir -p --mode=0755 /usr/share/keyrings

curl -fsSL https://pkg.cloudflare.com/cloudflare-public-v2.gpg | sudo tee /usr/share/keyrings/cloudflare-public-v2.gpg >/dev/null

# Add this repo to your apt repositories

echo 'deb [signed-by=/usr/share/keyrings/cloudflare-public-v2.gpg] https://pkg.cloudflare.com/cloudflared any main' | sudo tee /etc/apt/sources.list.d/cloudflared.list

# install cloudflared

sudo apt-get update && sudo apt-get install cloudflared

sudo cloudflared service install eyJhIjoiYjE4NDE1MGMwMmM5OTVhM2RhYTFlNzgzMTA3MmFlODQiLCJ0IjoiOTgxOTg4NDUtYmZjNy00ZGE2LTk0MzUtZmE0ZGUzZmE1NDljIiwicyI6Ik1XSXlNVEUyWWpndE1qZGtOeTAwTVRaa0xUazBZemd0T0RBeE9UZzJNalk1TkdNMyJ9

cloudflared tunnel run --token eyJhIjoiYjE4NDE1MGMwMmM5OTVhM2RhYTFlNzgzMTA3MmFlODQiLCJ0IjoiOTgxOTg4NDUtYmZjNy00ZGE2LTk0MzUtZmE0ZGUzZmE1NDljIiwicyI6Ik1XSXlNVEUyWWpndE1qZGtOeTAwTVRaa0xUazBZemd0T0RBeE9UZzJNalk1TkdNMyJ9

sudo apt update && sudo apt install nginx

sudo systemctl enable nginx

Command 'curl' not found, but can be installed with:

sudo apt install curl

deb [signed-by=/usr/share/keyrings/cloudflare-public-v2.gpg] https://pkg.cloudflare.com/cloudflared any main

Ign:1 cdrom://Ubuntu 24.04.2 LTS Noble Numbat - Release amd64 (20250215) noble InRelease

Hit:2 cdrom://Ubuntu 24.04.2 LTS Noble Numbat - Release amd64 (20250215) noble Release

Hit:4 http://archive.ubuntu.com/ubuntu noble InRelease

Get:5 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]

Get:6 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]

Get:7 https://pkg.cloudflare.com/cloudflared any InRelease [5039 B]

Err:7 https://pkg.cloudflare.com/cloudflared any InRelease

The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 254B391D8CACCBF8 NO_PUBKEY 8A682D308D4E5E73

Get:8 http://security.ubuntu.com/ubuntu noble-security/main i386 Packages [338 kB]

Get:9 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]

Get:10 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [881 kB]

Get:11 http://archive.ubuntu.com/ubuntu noble-updates/main i386 Packages [525 kB]

Get:12 http://security.ubuntu.com/ubuntu noble-security/main Translation-en [196 kB]

Get:13 http://security.ubuntu.com/ubuntu noble-security/main amd64 Components [46.3 kB]

Get:14 http://security.ubuntu.com/ubuntu noble-security/main Icons (48x48) [19.2 kB]

Get:15 http://security.ubuntu.com/ubuntu noble-security/main Icons (64x64) [26.7 kB]

Get:16 http://security.ubuntu.com/ubuntu noble-security/main amd64 c-n-f Metadata [11.9 kB]

Get:17 http://security.ubuntu.com/ubuntu noble-security/universe i386 Packages [820 kB]

Get:18 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [1141 kB]

Get:19 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1197 kB]

Get:20 http://security.ubuntu.com/ubuntu noble-security/universe Translation-en [238 kB]

Get:21 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Components [76.4 kB]

Get:22 http://security.ubuntu.com/ubuntu noble-security/universe Icons (48x48) [51.2 kB]

Get:23 http://security.ubuntu.com/ubuntu noble-security/universe Icons (64x64) [80.0 kB]

Get:24 http://security.ubuntu.com/ubuntu noble-security/universe amd64 c-n-f Metadata [24.2 kB]

Get:25 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [1240 kB]

Get:26 http://security.ubuntu.com/ubuntu noble-security/restricted i386 Packages [27.0 kB]

Get:27 http://archive.ubuntu.com/ubuntu noble-updates/main Translation-en [276 kB]

Get:28 http://security.ubuntu.com/ubuntu noble-security/restricted Translation-en [281 kB]

Get:29 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Components [212 B]

Get:30 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 c-n-f Metadata [444 B]

Get:31 http://security.ubuntu.com/ubuntu noble-security/multiverse i386 Packages [10.9 kB]

Get:32 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 Packages [40.3 kB]

Get:33 http://security.ubuntu.com/ubuntu noble-security/multiverse Translation-en [10.4 kB]

Get:34 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 Components [208 B]

Get:35 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 c-n-f Metadata [468 B]

Get:36 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Components [180 kB]

Get:37 http://archive.ubuntu.com/ubuntu noble-updates/main Icons (48x48) [37.3 kB]

Get:38 http://archive.ubuntu.com/ubuntu noble-updates/main Icons (64x64) [52.7 kB]

Get:39 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 c-n-f Metadata [17.7 kB]

Get:40 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [1676 kB]

Get:41 http://archive.ubuntu.com/ubuntu noble-updates/universe i386 Packages [1132 kB]

Get:42 http://archive.ubuntu.com/ubuntu noble-updates/universe Translation-en [333 kB]

Get:43 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Components [388 kB]

Get:44 http://archive.ubuntu.com/ubuntu noble-updates/universe Icons (48x48) [238 kB]

Get:45 http://archive.ubuntu.com/ubuntu noble-updates/universe Icons (64x64) [375 kB]

Get:46 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 c-n-f Metadata [34.9 kB]

Get:47 http://archive.ubuntu.com/ubuntu noble-updates/restricted i386 Packages [29.6 kB]

Get:48 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [1348 kB]

Get:49 http://archive.ubuntu.com/ubuntu noble-updates/restricted Translation-en [302 kB]

Get:50 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Components [212 B]

Get:51 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 c-n-f Metadata [456 B]

Get:52 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Packages [45.4 kB]

Get:53 http://archive.ubuntu.com/ubuntu noble-updates/multiverse i386 Packages [12.7 kB]

Get:54 http://archive.ubuntu.com/ubuntu noble-updates/multiverse Translation-en [12.1 kB]

Get:55 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Components [940 B]

Get:56 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 c-n-f Metadata [656 B]

Get:57 http://archive.ubuntu.com/ubuntu noble-backports/main i386 Packages [33.1 kB]

Get:58 http://archive.ubuntu.com/ubuntu noble-backports/main amd64 Packages [40.6 kB]

Get:59 http://archive.ubuntu.com/ubuntu noble-backports/main Translation-en [9172 B]

Get:60 http://archive.ubuntu.com/ubuntu noble-backports/main amd64 Components [5760 B]

Get:61 http://archive.ubuntu.com/ubuntu noble-backports/main Icons (48x48) [9535 B]

Get:62 http://archive.ubuntu.com/ubuntu noble-backports/main Icons (64x64) [11.3 kB]

Get:63 http://archive.ubuntu.com/ubuntu noble-backports/main amd64 c-n-f Metadata [368 B]

Get:64 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 Packages [32.5 kB]

Get:65 http://archive.ubuntu.com/ubuntu noble-backports/universe i386 Packages [18.5 kB]

Get:66 http://archive.ubuntu.com/ubuntu noble-backports/universe Translation-en [18.6 kB]

Get:67 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 Components [12.7 kB]

Get:68 http://archive.ubuntu.com/ubuntu noble-backports/universe Icons (48x48) [27.1 kB]

Get:69 http://archive.ubuntu.com/ubuntu noble-backports/universe Icons (64x64) [37.2 kB]

Get:70 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 c-n-f Metadata [1588 B]

Get:71 http://archive.ubuntu.com/ubuntu noble-backports/restricted amd64 Components [212 B]

Get:72 http://archive.ubuntu.com/ubuntu noble-backports/multiverse i386 Packages [748 B]

Get:73 http://archive.ubuntu.com/ubuntu noble-backports/multiverse amd64 Packages [748 B]

Get:74 http://archive.ubuntu.com/ubuntu noble-backports/multiverse Translation-en [340 B]

Get:75 http://archive.ubuntu.com/ubuntu noble-backports/multiverse amd64 Components [212 B]

Reading package lists... Done

W: GPG error: https://pkg.cloudflare.com/cloudflared any InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 254B391D8CACCBF8 NO_PUBKEY 8A682D308D4E5E73

E: The repository 'https://pkg.cloudflare.com/cloudflared any InRelease' is not signed.

N: Updating from such a repository can't be done securely, and is therefore disabled by default.

N: See apt-secure(8) manpage for repository creation and user configuration details.

sudo: cloudflared: command not found

cloudflared: command not found

Ign:1 cdrom://Ubuntu 24.04.2 LTS Noble Numbat - Release amd64 (20250215) noble InRelease

Hit:2 cdrom://Ubuntu 24.04.2 LTS Noble Numbat - Release amd64 (20250215) noble Release

Hit:4 http://archive.ubuntu.com/ubuntu noble InRelease

Hit:5 http://security.ubuntu.com/ubuntu noble-security InRelease

Hit:6 http://archive.ubuntu.com/ubuntu noble-updates InRelease

Get:7 https://pkg.cloudflare.com/cloudflared any InRelease [5039 B]

Err:7 https://pkg.cloudflare.com/cloudflared any InRelease

The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 254B391D8CACCBF8 NO_PUBKEY 8A682D308D4E5E73

Hit:8 http://archive.ubuntu.com/ubuntu noble-backports InRelease

Reading package lists... Done

W: GPG error: https://pkg.cloudflare.com/cloudflared any InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 254B391D8CACCBF8 NO_PUBKEY 8A682D308D4E5E73

E: The repository 'https://pkg.cloudflare.com/cloudflared any InRelease' is not signed.

N: Updating from such a repository can't be done securely, and is therefore disabled by default.

N: See apt-secure(8) manpage for repository creation and user configuration details.

Failed to restart nginx.service: Unit nginx.service not found.

Failed to enable unit: Unit file ngin.service does not exist.

ubuntu@ubuntu:~$ sudo apt-get update && sudo apt-get install cloudflared

Ign:1 cdrom://Ubuntu 24.04.2 LTS Noble Numbat - Release amd64 (20250215) noble InRelease

Hit:2 cdrom://Ubuntu 24.04.2 LTS Noble Numbat - Release amd64 (20250215) noble Release

Hit:4 http://archive.ubuntu.com/ubuntu noble InRelease

Hit:5 http://security.ubuntu.com/ubuntu noble-security InRelease

Hit:6 http://archive.ubuntu.com/ubuntu noble-updates InRelease

Hit:7 http://archive.ubuntu.com/ubuntu noble-backports InRelease

Get:8 https://pkg.cloudflare.com/cloudflared any InRelease [5039 B]

Err:8 https://pkg.cloudflare.com/cloudflared any InRelease

The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 254B391D8CACCBF8 NO_PUBKEY 8A682D308D4E5E73

Reading package lists... Done

W: GPG error: https://pkg.cloudflare.com/cloudflared any InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 254B391D8CACCBF8 NO_PUBKEY 8A682D308D4E5E73

E: The repository 'https://pkg.cloudflare.com/cloudflared any InRelease' is not signed.

N: Updating from such a repository can't be done securely, and is therefore disabled by default.

N: See apt-secure(8) manpage for repository creation and user configuration details.

← Back to timeline