Update packages
sudo apt-get update
Install Apache 2.x Webserver and Subversion
sudo apt-get install apache2 subversion
Install PHP5 and mysql
sudo apt-get install php5 php5-mysql php5-gd mysql-server
Increase php upload limit
sudo nano /etc/php5/apache2/php.ini
Change
upload_max_filesize = 2M
To
upload_max_filesize = 1024M
Change
post_max_size = 8M
To
post_max_size = 1024M
Make sure short_open_tag is set to On
short_open_tag = On
Install node-screen
cd /var/www
sudo svn checkout http://svn.code.sf.net/p/nodescreen/code/server/ node-screen
sudo chown www-data:www-data -R node-screen
Enable .htaccess file
sudo nano /etc/apache2/sites-available/default
Change
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
To
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
Set rewrite base
sudo nano /var/www/node-screen/.htaccess
Change
RewriteBase /
To
RewriteBase /node-screen
Enable mod_rewrite
sudo a2enmod rewrite
Restart Apache
sudo service apache2 restart
Create database
mysql -u root -p
create database nodescreen;
grant usage on *.* to nodescreen@localhost identified by 'mypassword';
grant all privileges on nodescreen.* to nodescreen@localhost;
exit
Open your web browser and navigate to http://xxx.xxx.xxx.xxx/node-screen (replace xxx.xxx.xxx.xxx with your server's IP)
You should be presented with the node-screen installer add the database name/user/password
Click install and your done!