Page 1 of 1
help with Suse
Posted: Mon Oct 11, 2004 6:52 pm
by newbie
If anybody knows where is the CGI-BIN and the WWW (the index.html when you write localhost to browser) please give me the path
thanx
All of these to SUSE 9.0 pro
neo
directors for SUSE
Posted: Tue Oct 12, 2004 9:08 am
by kiofen
Suse is Great
look at srv/www/cgi-bin
and srv/www/
Re: SUSE
Posted: Tue Oct 12, 2004 9:30 am
by Ben G
Hi.
Kiofen is right. I created a specific zm directory: /srv/www/htdocs/zm
Also, I had a lot of difficulty finding the right procedure for installation. Here's my recently-completed checklist. Installation of ffmpeg with make installlib was critical.
Install apache
Install Mysql
Install PHP including all libraries and development
Install pcre-devel
Download Lame and config, make, make install
Download and compile FFMPEG use config option --enable-mp3lame, then make, make install, make installlib
Create directory for zm: /srv/www/htdocs/zm with owner:group wwwrun:www
Download ZM ./configure --with-mysql=/usr/bin --with-ffmpeg=/usr/local/lib --with-lame=/usr/lib --with-webdir=/srv/www/htdocs/zm --with-cgidir=/srv/www/cgi-bin --with-webuser=wwwrun --with-webgroup=www
Run perl zmconfig.pl
Follow the MYSQL setup procedure in the README doc that comes with ZM
Install the zm script in the /etc/init.d directory and set up the runlevel start-up. Note that the "&& echo_failure " commands in that script don't work. I simply deleted them.
Ben
help with mysql for suse
Posted: Tue Oct 12, 2004 6:25 pm
by newbie
first of all thanx for your help
please can you tell me how can i build and abmin a db for zm?
also what is and how can i build the with owner:group wwwrun:www (for ben)
thanx
Re: help with mysql for suse
Posted: Thu Oct 14, 2004 11:49 am
by Ben G
newbie wrote:first of all thanx for your help
please can you tell me how can i build and abmin a db for zm?
also what is and how can i build the with owner:group wwwrun:www (for ben)
thanx
HI Newbie.
You can create a directory to store all the ZM php files. As root, you enter this:
mkdir /srv/www/html/zm
chown wwwrun:www /srv/www/html/zm
This creates the directory and changes the ownership so that the user that apache runs as (wwwrun) can change files, etc.
I won't take you through the procedure to administer Mysql databases. You'll have to find out about that yourself. However, you should follow the instructions in the README file that comes with zm. It worked for me. ZM looks after the database for you- you don't ned to do any admin. If you really must, then you can use phpMyAdmin or Webmin. Both come with SuSE.
ZM requires you to set up two users, one who with permissions to do anything, and another who has only viewing permissions. These are set up by the zmschema.sql file. See the section of the README file that starts:
"For a new installation ..."
Hope this helps
Ben