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
- drupal.org/project/media_mover
- podcast module from mic
- possible drupal.org/project/drush
- 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
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
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
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
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
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
- change “Path to the FFmpeg vhook libraries” into /usr/lib/vhook
- 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
- ftp.drupal.org/files/projects/backup_mi...
- set backup every h, gzip, localfiles
State of art: Drupal and basic MM running.
Snapszot 3
Samba + tune¶
- turn on mod_rewite (should be done on the start) forum.ubuntu.pl/showthread.php?t=51729
- In webdmin turn on modrewite
- In /etc/apach2/sites-avaiable/default change AllowOverride Non to All
- php gd
sudo apt-get install php5-gd