ZM and RedHat AS 2.1
Posted: Thu Dec 11, 2003 6:12 pm
Hi there,
I'm setting up ZM with RedHat Advanced Server 2.1, so I'll use this thread to document it, so that anyone else may benefit from it.
Right now I've installed ZM successfully, but I got some trouble which I'll describe at the end.
1. Installed necessary packages apache, mysql, php, mod_php.
2. Intalled latest Webmin package.
3. Through Webmin's Perl utility I installed the necessary modules to run zmconfig.pl (DBI and DBD::mysql)
4. Created /var/www/html/zm and /var/log/zm directories and modified permissions to 754
5. Unpacked latest zm beta
6. Ran "./configure --with-mysql=/usr --with-cgidir=/var/www/cgi-bin --with-webdir=/var/www/html/zm
7. Ran "perl zmconfig.pl"and answered all questions.
9. Followed README instructions to create db, db schema, users and privileges and reloaded the database.
10. Ran "perl zmconfig.pl -noi" succesfully.
11. Ran "make" and then "make install".
12. restarted the httpd service.
The server uses an old version of php, I think it is 4.0.6, so I had to comment out the "import_request_variables( "GPC" );" line and turn on global variables, as per Phillip suggestion somewhere else on the forums. aside from that I did not have to do any tricks to get it working.
Now, I've accesed the login page succesfully (I chose to enable user authentication). I tried logging in as admin/admin, but it brings me back to the login page. The only workaround that actually worked was to disable user logins. On PHP and in the client browser cookies are enabled, and it sets the cookie successfully, as per Mozilla's cookie manager. Tried it with IE 5.5, 6.0, Opera, Mozilla 1.4 and Mozilla 1.5.
Also, cambozola downloads, but does not seem to find the charlimouse class... I'll make sure I'm using the right version of cambozola and get back on this.
Aside from that everything works great... except for the known bugs/issues.
Regards,
Jose Rodriguez
I'm setting up ZM with RedHat Advanced Server 2.1, so I'll use this thread to document it, so that anyone else may benefit from it.
Right now I've installed ZM successfully, but I got some trouble which I'll describe at the end.
1. Installed necessary packages apache, mysql, php, mod_php.
2. Intalled latest Webmin package.
3. Through Webmin's Perl utility I installed the necessary modules to run zmconfig.pl (DBI and DBD::mysql)
4. Created /var/www/html/zm and /var/log/zm directories and modified permissions to 754
5. Unpacked latest zm beta
6. Ran "./configure --with-mysql=/usr --with-cgidir=/var/www/cgi-bin --with-webdir=/var/www/html/zm
7. Ran "perl zmconfig.pl"and answered all questions.
9. Followed README instructions to create db, db schema, users and privileges and reloaded the database.
10. Ran "perl zmconfig.pl -noi" succesfully.
11. Ran "make" and then "make install".
12. restarted the httpd service.
The server uses an old version of php, I think it is 4.0.6, so I had to comment out the "import_request_variables( "GPC" );" line and turn on global variables, as per Phillip suggestion somewhere else on the forums. aside from that I did not have to do any tricks to get it working.
Now, I've accesed the login page succesfully (I chose to enable user authentication). I tried logging in as admin/admin, but it brings me back to the login page. The only workaround that actually worked was to disable user logins. On PHP and in the client browser cookies are enabled, and it sets the cookie successfully, as per Mozilla's cookie manager. Tried it with IE 5.5, 6.0, Opera, Mozilla 1.4 and Mozilla 1.5.
Also, cambozola downloads, but does not seem to find the charlimouse class... I'll make sure I'm using the right version of cambozola and get back on this.
Aside from that everything works great... except for the known bugs/issues.
Regards,
Jose Rodriguez