Fifu Development - Drupal

Continuation of fifu dev, drupal These instructions are outdated, please standby, the appliance will be rebuilt on top of new release from turnkeylinux and other torrent component

These instructions are outdated, please standby, the appliance will be rebuilt on top of new release from turnkeylinux and other torrent component

State of art: virtual machine onlie, torrentflux online,
Snapszot 2
Continuation of fifu dev

Drupal instalation

  • basic assumptions
  • preper and get the tar
    mkdir /home/tutturu/install/drupal && cd /home/tutturu/install/drupal && wget http://ftp.drupal.org/files/projects/drupal-6.9.tar.gz &&  tar -xvzf drupal-6.9.tar.gz && mkdir /var/www/drupal/ && cp -R ./drupal-6.9/* /var/www/drupal/ && cp ./drupal-6.9/.htaccess /var/www/drupal/ && chown -R www-data /var/www/drupal/
  • Database stuff (to do: make other user than root from commandline)
    mysqladmin -u root -p create drupal_tutturu && mysql -u root -p
  • Settings and dirs stuff
    cd /var/www/drupal/ && cp ./sites/default/default.settings.php ./sites/default/settings.php && chmod o+w ./sites/default/settings.php && chmod o+w ./sites/default && mkdir ./sites/default/files && chmod o+w ./sites/default/files
  • go via browser to ip.of.the.machine/drupal and insert database data
  • Cleaning and secure
    chmod a-w ./sites/default/settings.php && chmod a-w sites/default && chmod a-r ./CHANGELOG.txt
  • confiure drupal, write down admin user and pass (to do: solve mod_rewite, php-gd, cron)
  • media mover
    1. cd /home/tutturu/install/drupal/ && wget http://ftp.drupal.org/files/projects/media_mover-6.x-1.0-alpha4.tar.gz && tar -xvzf media_mover-6.x-1.0-alpha4.tar.gz && cp -R ./media_mover /var/www/drupal/modules 
    2. cd /home/tutturu/install/drupal/ && wget http://ftp.drupal.org/files/projects/mm_custom_command-6.x-1.0.tar.gz && tar -xvzf mm_custom_command-6.x-1.0.tar.gz && cp -R ./mm_custom_command /var/www/drupal/modules
    3. cd /home/tutturu/install/drupal/ && wget http://ftp.drupal.org/files/projects/mimedetect-6.x-1.0.tar.gz && tar -xvzf mimedetect-6.x-1.0.tar.gz && cp -R ./mimedetect /var/www/drupal/modules
  • ffmpeg wraper (here was actually installed ffpeg and libdvdcss2 but not for now will be not used). to do: get it working with ubuntu repos
    1. cd /home/tutturu/install/drupal/ && wget http://ftp.drupal.org/files/projects/ffmpeg_wrapper-6.x-1.1-beta1.tar.gz && tar -xvzf ffmpeg_wrapper-6.x-1.1-beta1.tar.gz && cp -R ./ffmpeg_wrapper /var/www/drupal/modules
    2. cd /home/tutturu/install/drupal/ && wget http://mediamover.24b6.net/sites/24b6.net/files/ffmpeg.static.tgz && tar -xvf ffmpeg.static.tgz &&cp ffmpeg.static /var/www/drupal/modules/ffmpeg_wrapper/ && chown www-data /var/www/drupal/modules/ffmpeg_wrapper/ffmpeg.static
    3. change “Path to the FFmpeg vhook libraries” into /usr/lib/vhook
    4. make autoinput dir and outoputput
      mkdir /var/www/drupal/sites/default/files/autoinput && mkdir /var/www/drupal/sites/default/files/autooutput && chown -R www-data /var/www/drupal/sites/default/files/autoinput && chown -R www-data /var/www/drupal/sites/default/files/autooutput
  • backup
    1. ftp.drupal.org/files/projects/backup_mi...
    2. set backup every h, gzip, localfiles

State of art: Drupal and basic MM running.
Snapszot 3

Samba + tune