PDA

View Full Version : Self Managed LAMP


vibranze
20th August 2007, 14:57
Hi Guys,

My department provide a webhosting service to another department, currently we have development and production server and we are helping them to migrate from development to production. Is there a way to make them self managed, eg. create a new website, upload the content via scp, create apache's virtual host entries, restart apache, etc.

I'm thinking of ISPConfig but not sure if it can help to do what I want.

Kindly advise.

Cheers,
V

falko
21st August 2007, 17:47
You can use ISPConfig to create new web sites in Apache, email accounts, MySQL databases, etc.
All that is left to do is uploading the web site (using either FTP or SCP). :)

vibranze
27th August 2007, 07:27
You can use ISPConfig to create new web sites in Apache, email accounts, MySQL databases, etc.
All that is left to do is uploading the web site (using either FTP or SCP). :)

Thanks Falko,

The OS I use is RHEL4 and ISPConfig is not support RHEL yet. I managed to get it install by changing redhat-release file but in the end after long time compilation, I get a PHP error. Still figuring it out.

Cheers,
Vibranze

falko
28th August 2007, 19:46
Please post the full error.

vibranze
11th September 2007, 12:43
Hi Falko,

Sorry for late reply, here is the error:

checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... yes
checking for unistd.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/times.h... yes
checking size of int... (cached) 4
checking size of short... (cached) 2
checking size of long... (cached) 4
checking for working const... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for 8-bit clean memcmp... yes
checking for mcrypt support... no
checking for mhash support... no
checking whether to include mime_magic support... no
checking for MING support... no
checking for mSQL support... no
checking for MSSQL support via FreeTDS... no
checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location... no
configure: error: Cannot find MySQL header files under /usr.
Note that the MySQL client library is not bundled anymore!
ERROR: Could not configure PHP
cd: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
mv: cannot stat `binaries/aps.tar.gz': No such file or directory
mv: cannot stat `binaries/spamassassin.tar.gz': No such file or directory
mv: cannot stat `binaries/uudeview.tar.gz': No such file or directory
mv: cannot stat `binaries/clamav.tar.gz': No such file or directory
mv: cannot stat `binaries/cronolog': No such file or directory
mv: cannot stat `binaries/cronosplit': No such file or directory
mv: cannot stat `binaries/ispconfig_tcpserver': No such file or directory
mv: cannot stat `binaries/zip': No such file or directory
mv: cannot stat `binaries/unzip': No such file or directory
tar: spamassassin.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
mv: cannot stat `spamassassin': No such file or directory
tar: uudeview.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
mv: cannot stat `uudeview': No such file or directory
tar: clamav.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
mv: cannot stat `clamav': No such file or directory
tar: aps.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
./setup2: line 873: ispconfig_tmp/php/bin/php: No such file or directory
ERROR: The PHP binary coming with ISPConfig does not work properly on your system! The installation routine stops here!

Cheers,
Vibranze

falko
12th September 2007, 21:12
You must install the mysql-devel package.