Install And Build Gstreamer; Configure Apache - Axis Ubuntu Getting Started

Video hosting system
Table of Contents

Advertisement

Getting Started – Ubuntu
2 System setup
% mv server.* /home/sts/etc/ssl/
% exit

2.6 Install and build GStreamer

GStreamer is needed to convert media files between different formats in the AVHS system.
Note
• Download of build dependencies requires approximately 600 MB on system disks (var).
• Source and build of the GStreamer application requires 846 MB under /home/sts/gst/. You will be asked if you want
to remove source and build data.
• The final application will take 157 MB under /home/sts/gst/
Run the following commands to install prerequisites and build GStreamer. This procedure might take a while.
# apt-get install build-essential zlib1g-dev gettext bison flex pkg-config autopoint
# apt-get install intltool libxml2-dev python zlib1g libxml2 libjpeg8 liboil0.3
# apt-get install libjpeg8-dev liboil0.3-dev libffi-dev libpng12-dev libsqlite3-dev
# apt-get install libpng12-0 yasm bzip2 zlibc libglib2.0-0 libglib2.0-dev
# su - sts
% mkdir /home/sts/gst
% cd /home/sts/gst/
% cp -av /home/sts/current/examples/gst-install.sh .
% ./gst-install.sh
% exit

2.7 Configure Apache

Edit the default environment variables for Apache:
# vi /etc/apache2/envvars
Change users to sts:
export APACHE_RUN_USER=sts
export APACHE_RUN_GROUP=sts
Change ownership of lock file to match run user
# chown sts:sts /var/lock/apache2
Edit the main Apache server configuration file:
# vi /etc/apache2/apache2.conf
To handle .cgi files as scripts, add:
AddHandler cgi-script .cgi
To include virtual hosts, make sure that the following lines are included:
# Include virtual host configurations:
Include sites-enabled/
To enable a useful tool for diagnosing problems in Apache, include the following lines:
<IfModule mod_status.c>
#
# Allow server status reports generated by mod-status,
# with the URL of http://servername/server-status
#
11

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Ubuntu and is the answer not in the manual?

Table of Contents