I keep getting an error when I run Code: sudo wget -O - https://get.ispconfig.org | sh -s -- --use-nginx --use-ftp-ports=40110-40210 --unattended-upgrades that says Code: "PHP Warning: file_put_contents(/etc/apt/sources.list): failed to open stream: Permission denied in /tmp/ispconfig-ai/lib/os/class.ISPConfigUbuntu2004OS.inc.php on line 24 [INFO] Updating packages [ERROR] Exception occured: ISPConfigOSException -> Command while fuser /var/lib/dpkg/lock >/dev/null 2>&1 || fuser /var/lib/apt/lists/lock >/dev/null 2>&1 ; do sleep 2; done; DEBIAN_FRONTEND="noninteractive" apt-get dist-upgrade -o Dpkg::Options::="--force-overwrite" -qq -y 2>&1 failed. (/ispconfig.ai.php:15)" fresh copy of ubuntu 20.04 with nothing installed yet. edit: ive tired installing with Debian 11 as well and when I edit my etc/hosts file, save and reboot it always shows the last value in the file before it was edited. Code: 127.0.0.1 localhost.localdomain localhost # This line should be changed to the correct servername: # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters 127.0.1.1 cp.example.com cp 127.0.1.1 korsch korsch this is what I got after trying to change my hostname to cp.
You must run it as root as mentioned in the installation tutorial and not via sudo. To become root user on Ubuntu, use the command: sudo -s This indicates that you don't have a root server or a full virtual server. You probably just have a Linux container, in this case, you must change the hostname in the Linux container control panel of your ISP and not in the OS as the container overrides settings that you do in the OS itself.
You nailed it, I figured it out and tried to see if I could have this thread closed but yes you are right.