Site icon David Yin's Blog

Some problems when Install ispconfig on Ubuntu 6.10 Server

I did it. The ispconfig is installed on my Ubuntu 6.10 successfully yesterday.
I met some problems when I tried in last few days.
0) Download ISPConfig 2.2.11
Log in to shell as root.
Unpack the ISPConfig-archive

tar xvfz ISPConfig-2.2.11.tar.gz

and change to the directory install_ispconfig:

cd install_ispconfig

Start install

./setup

1) When I met this error:
“configure: error: Cannot find MySQL header files under /usr.”
Remember to install mysql-devel.
To install ISPConfig, the MySQL Devel packages are necessary. After you installed the mysql-devel package from your linux distro, you can run the ISPConfig setup again.
2) During installation, if saw:
./configure:Error: APACI failed
ERROR: Could not configure Apache
Use following commands to fix it.

rm /bin/sh (or if you want to be safe: mv /bin/sh /bin/sh.dash)
ln -s /bin/bash /bin/sh

It is because Ubuntu developers have replaced Bash with Dash, so the regular /bin/sh that is used to be linked to /bin/bash is now pointing to /bin/dash.
3) When I try to connect the ispconfig web interface by https://mysitename:81/, I saw this error

The SSL-Certificate seems to be corrupt. Create a new one as described here:

openssl genrsa -des3 -passout pass:yourpassword -out
/root/ispconfig/httpd/conf/ssl.key/server.key2 1024
openssl req -new -passin pass:yourpassword -passout pass:yourpassword -key
/root/ispconfig/httpd/conf/ssl.key/server.key2 -out /root/ispconfig/httpd/conf/ssl.csr/server.csr
-days 365
openssl req -x509 -passin pass:yourpassword -passout pass:yourpassword -key
/root/ispconfig/httpd/conf/ssl.key/server.key2 -in /root/ispconfig/httpd/conf/ssl.csr/server.csr -out
/root/ispconfig/httpd/conf/ssl.crt/server.crt -days 365
openssl rsa -passin pass:yourpassword -in /root/ispconfig/httpd/conf/ssl.key/server.key2 -out
/root/ispconfig/httpd/conf/ssl.key/server.key
chmod 400 /root/ispconfig/httpd/conf/ssl.key/server.key

Then all done.

Exit mobile version