realcryptonight
Verified User
- Joined
- Nov 16, 2019
- Messages
- 432
Hello everyone and @DirectAdmin Support,
I am trying to get DirectAdmin to install on my Debian 11 VPS, but everytime it installs CSF, I lose the SSH connection and the installation stops.
The server is clean and the OS has nothing installed besides the required software to run DirectAdmin.
I have also waited at least 30 minutes but this should not be required since I told the install script to keep custombuilds in the foreground.
My pre-install commands:
This is the output from the DirectAdmin install script (And after this putty will timeout after 5 minutes):
For anyone who want to also take a look at the custombuilds install.txt file, it can be viewed at: https://cdn.realcryptonight.dev/realcryptonight_install.txt
Does anyone have an idea why this is happening (And not on installer versions from like 2 months ago) and how to fix it?
If you need more info please let me know. So that I can give it.
I am trying to get DirectAdmin to install on my Debian 11 VPS, but everytime it installs CSF, I lose the SSH connection and the installation stops.
The server is clean and the OS has nothing installed besides the required software to run DirectAdmin.
I have also waited at least 30 minutes but this should not be required since I told the install script to keep custombuilds in the foreground.
My pre-install commands:
apt -y update
apt -y upgrade
apt -y install gcc g++ make flex bison openssl libssl-dev perl perl-base perl-modules libperl-dev libperl4-corelibs-perl libwww-perl libaio1 libaio-dev zlib1g zlib1g-dev libcap-dev cron bzip2 zip automake autoconf libtool cmake pkg-config python libdb-dev libsasl2-dev libncurses5 libncurses5-dev libsystemd-dev bind9 dnsutils quota patch logrotate rsyslog libc6-dev libexpat1-dev libcrypt-openssl-rsa-perl libnuma-dev libnuma1
# Get the server IP for reverse DNS lookup.
serverip=`hostname -I | awk '{print $1}'`
# Get server hostname from reverse DNS lookup.
serverhostname=`dig -x ${serverip} +short | sed 's/\.[^.]*$//'`
# Get just the domain name.
domainhostname=`echo $serverhostname | sed 's/^[^.]*.//g'`
# NS hostnames.
ns1host="ns1.${domainhostname}"
ns2host="ns2.${domainhostname}"
# Set some variables to let DirectAdmin install correctly.
export DA_CHANNEL=current
export DA_HOSTNAME=$serverhostname
export DA_NS1=$ns1host
export DA_NS2=$ns2host
export DA_FOREGROUND_CUSTOMBUILD=yes
export mysql_inst=mysql
export mysql=8.0
# Download and run the DirectAdmin install script.
wget -O directadmin.sh https://download.directadmin.com/setup.sh
chmod 755 directadmin.sh
./directadmin.sh $1
This is the output from the DirectAdmin install script (And after this putty will timeout after 5 minutes):
Installing CSF...
######################################################################### 100.0%
Adding tcp|out|u=0 to csf.allow and iptables ACCEPT...
iptables: No chain/target/match by that name.
ACCEPT tcp opt -- in * out !lo 0.0.0.0/0 -> 0.0.0.0/0 owner UID match 0
Adding udp|out|u=0 to csf.allow and iptables ACCEPT...
iptables: No chain/target/match by that name.
ACCEPT udp opt -- in * out !lo 0.0.0.0/0 -> 0.0.0.0/0 owner UID match 0
For anyone who want to also take a look at the custombuilds install.txt file, it can be viewed at: https://cdn.realcryptonight.dev/realcryptonight_install.txt
Does anyone have an idea why this is happening (And not on installer versions from like 2 months ago) and how to fix it?
If you need more info please let me know. So that I can give it.