Installing ViMP Part 3: Installing ViMP

These steps are mostly taken from the ViMP FAQ, with modifications from where I stumbled. I had originally tried to make this one long document, but to avoid a wall of text and getting lost in the middle, I've split it out into three parts: Installing the Web Server, Installing the Transcoding Tools, and Installing ViMP.

Notes:

  • This how-to assumes that you have already installed Ubuntu Server 12.04 LTS, have SSH enabled in order to remotely manage the server, and have followed Part 1 of this tutorial
  • I prefer to use nano as my text editor, because it's stupid simple. Ctrl+W is for search, Ctrl+X is for close/save.
  • I run these commands as sudo. Use sudo su in order to drop into permanent sudo mode.

Installing the Transcoding Tools

  1. First and foremost, you'll have to download the ViMP installer and move it to your server with a program such as FileZilla. Because the download is behind a login, you won't be able to do a wget to download. I recommend putting the download in your home folder and launching the installer from there. I had problems when I uploaded it to the recommended location, /var/www/.
  2. Once ViMP is loaded on the server, make it executable:

    chmod +x vimp.framework---installer.bin

  3. Start the install script:

    ./.framework---installer.bin

  4. The installer will prompt you with several prompts, the first of which is the install path for ViMP. Based on our Apache config created in Step 1, make this /var/www/vimp and press enter:

    Install path [/var/www]: /var/www/vimp

    You will get an error saying it's not empty. This is fine.

  5. The installer looks something like this:

    Starting Installer ...
    >> OK PHP version is at least 5.2.7 (5.3.3-7+squeeze14)
    >> OK PHP version is not 5.2.9
    >> OK DOM extension is installed
    >> OK XML extension is installed
    >> OK XSL extension is installed
    >> OK Tokenizer extension is installed
    >> OK Multibyte String extension is installed
    >> OK iconv extension is installed
    >> OK Posix extension is installed
    >> OK GD extension is installed
    >> OK cUrl extension is installed
    >> OK mysql extension is installed
    >> OK mcrypt extension is installed
    >> OK PDO is installed
    >> OK PDO mysql driver is installed
    >> INFO PDO has some drivers installed: mysql
    >> INFO No database information set
    >> OK SourceGuardian extension is installed
    >> WARNING Set short_open_tag to off in php.ini
    >> OK php.ini has magic_quotes_gpc set to off
    >> OK php.ini has register_globals set to off
    >> OK php.ini has safe_mode set to off
    >> OK php.ini has session.auto_start set to off
    >> OK php.ini has file_uploads set to on
    >> OK php.ini has allow_url_fopen set to on
    >> OK php.ini has register_argc_argv set to on
    >> OK php.ini has set memory_limit not equal to -1
    >> OK php.ini has set memory_limit greater or equal than 512M
    >> OK php.ini has set memory_limit lesser than 2G
    >> OK php.ini has set post_max_size greater or equal than 100M
    >> OK php.ini has set post_max_size lesser than 2G
    >> OK php.ini has set upload_max_filesize greater or equal than 100M
    >> OK php.ini has set upload_max_filesize lesser than 2G
    >> OK mplayer is installed
    >> OK mencoder is installed
    >> OK ffmpeg is installed
    >> OK flvtool2 is installed
    >> OK qt-faststart is installed
    >> INFO Version: dev (r20664)
    >> INFO Edition: COMMUNITY
    >> INFO OS: Linux 2.6.32-5-amd64 #1 SMP Mon Feb 25 00:26:11 UTC 2013
    >> INFO Memory: 2PB
    Continue? [Y/n]:

    My install always errors out on qt-faststart and asks for the path. You can ignore this and configure it later on the admin side of ViMP. Everything will be the default until you get to the database configuration. Use the information entered in Step 1:

    >> config Database configuration
    Database host [localhost]:
    Database port [3306]:
    Database name []: DATABASENAME
    Database user []: DATABASEUSER
    Database password []: PASSWORD

    After this you will be prompted for Country, language, max upload size, and transcoding paths. Just accept the defaults unless you wish to have a set language or country. You will also be asked to name your site, give the address, etc. Fill with your specific information.

  6. If everything went smoothly, you should see the install end like this:

    >> chmod 777 /var/www/vimp/data/web/uploads/assets

    >> update Check installed modules
    >> config Save configuration

    root@ubuntu:/var/ww/vimp/#

If you've followed all these steps, you should be able to login to your personal video streaming server! To login, use one of the default accounts below:

  • "admin" (Password: "admin") as administrator
  • "moderator" (Password: "moderator") as moderator
  • "user" (Password: "user") as standard user
Share this

Tags: