# File lib/installer.rb, line 97
  def install_local
    # Requirements for ownCloud to run:
    # * packages installed: apache2, apache2-mod_php5, php5-json, php5-dom,
    #   php5-sqlite, php5-mbstring php5-ctype
    # * apache2 running
    
    puts "Installing owncloud to local web server..."
    http_docs_dir = "/srv/www/htdocs/"
    
    system "#{@root_helper} \"cp -r #{@source_dir} #{http_docs_dir}\""
    system "#{@root_helper} \"chown -R wwwrun:www #{http_docs_dir}owncloud\""
  end