atomia / atomiadns

Atomia DNS
http://www.atomiadns.com/
ISC License
360 stars 101 forks source link

The Atomia DNS installation tutorial failed at step 3 #97

Open ckc opened 2 years ago

ckc commented 2 years ago

OS: Ubuntu 22.04 LTS sudo -i became root

root@atomia-dns-master:~# repo="$(wget -q -O - http://public.apt.atomia.com/setup.sh.shtml | sed s/%distcode/lsb_release -c | awk '{ print $2 }'/g)"; echo "$repo"

<!DOCTYPE html>
<html>
<body>

<pre>#!/bin/sh
echo 'deb http://apt.atomia.com/ubuntu-jammy jammy main' >> /etc/apt/sources.list
cat | apt-key add - &lt&ltEOF
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.11 (GNU/Linux)

.....
-----END PGP PUBLIC KEY BLOCK-----
EOF
apt-get update
</pre>

</body>
</html>

Verify that you are OK with executing our APT repository install script, and then:

root@atomia-dns-master:~# echo "$repo" | sh sh: 2: Syntax error: newline unexpected