Manual installation Ubuntu 12.04
  • Vote Up0Vote Down Micz FlorMicz Flor
    Posts: 184Administrator
    here some tested lines on the installation - possibly good for the manual?

    # firstly, install mysql-server
    sudo apt-get install mysql-server mysql-client

    sudo apt-get install imagemagick
    sudo apt-get install apache2
    sudo apt-get install php5 libapache2-mod-php5
    sudo apt-get install php5-cli php5-mysql php5-gd
    sudo service apache2 reload

    # PHP configuration
    sudo vim /etc/php5/cli/php.ini
    # settings to set:
    # register_globals = Off
    # memory_limit = 128M
    # magic_quotes_gpc = Off
    # file_uploads = On
    # post_max_size = 100M
    # upload_max_filesize = 100M
    # session.gc_probability = 0

    # apache config
    sudo nano /etc/apache2/sites-available/newscoop
    # adding the following lines to the empty file
    <VirtualHost *:80>
          DocumentRoot /var/www/newscoop
          ServerName newscoop.local
          DirectoryIndex index.php index.html
          <Directory /var/www/newscoop>
                  Options -Indexes FollowSymLinks MultiViews
                  AllowOverride All
                  Order allow,deny
                  Allow from all
          </Directory>
    </VirtualHost>
    # then continue
    sudo mkdir -p /var/www/newscoop
    sudo a2ensite newscoop
    sudo a2enmod rewrite php5
    sudo service apache2 reload

    # download Newscoop
    # change the wget command if you want a different version
    cd
    mkdir Sources_Newscoop
    cd Sources_Newscoop/
    wget http://sourceforge.net/projects/newscoop/files/4.0.2/newscoop-4.0.2.tar.gz/download
    # sourceforge saves the file only as "download". we need to change that.
    mv download newscoop.tar.gz
    tar -xvzf newscoop.tar.gz
    sudo mv newscoop-4.0.2/* /var/www/newscoop/
    sudo chown -R www-data.www-data /var/www/newscoop/

    # add newscoop.local to the hosts list
    sudo nano /etc/hosts
    # add the following line to the file
    127.0.1.1       newscoop.local

    # Open firefox, go to page: http://newscoop.local
    # finish installation, use password sourcefabric for admin
    # go to admin page
    # http://newscoop.local/admin/
    # and login (admin|sourcefabric)
    #   Content > Publications > Configure
    # change title of publication to: Newscoop Demo
    # SAVE
    # Go to: edit aliases & add: newscoop.local
    # back to publication settings.
    # select newscoop.local as "default site alias"
    # SAVE
  • 1 Comment sorted by
  • Vote Up0Vote Down Daniel JamesDaniel James
    Posts: 844Member, Sourcefabric Team
    Hi Micz,

    Thanks for that, it lines up with what we have in the chapter: http://en.flossmanuals.net/newscoop-4-journalists-en-4-0/manual-installation/

    To prevent the file being saved as 'download' you can do this:

    wget http://sourceforge.net/projects/newscoop/files/4.0.2/newscoop-4.0.2.tar.gz
    tar -xvzf newscoop-4.0.2.tar.gz
    sudo mv newscoop-4.0.2/* /var/www/newscoop/

    Cheers!

    Daniel