Some problems when Install ispconfig on Ubuntu 6.10 Server

| No Comments | No TrackBacks

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
error.jpg

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.

No TrackBacks

TrackBack URL: http://www.yinfor.com/mtcgi/mt-t-1202.cgi/1573

Leave a comment

About this Entry

This page contains a single entry by David Yin published on April 11, 2007 11:11 AM.

Servers in my Ubuntu Server was the previous entry in this blog.

How to install a mod_rewrite on Ubuntu is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

OpenID accepted here Learn more about OpenID
Powered by Movable Type 4.261

Subscribe

Online Tools