# 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