The following instructions are thanks to Mike Bonner and describe how to get Livecode Server running on DigitalOcean:
VIMEO 131920147 A quick rough and ready tutorial about how to set up your own Livecode Server and Apache set up on Digital Ocean.
Fetch and Install LiveCode Server
1) Create your Droplet. Choose LAMP 14.04 (Ubuntu) so you don't have to mess with setting up Apache and all by hand.
2) Fetch Livecode. After Droplet creation, ssh to your server and use wget to grab the 64bit version of lc server 7.0.6.
wget http://downloads.livecode.com/livecode/7_0_6/LiveCodeCommunityServer-7_0_6_rc_3-Linux-x86_64.zip
Alternatively you can use Digital Oceans built in web console to issue terminal commands on the server through the web interface.
3) Install unzip:
apt-get install unzip
4) unzip the file (to expand the contents):
unzip <lc server filename>
5) Make it executable the server file executable so you can launch it as a programme and not edit it as text:
chmod 755 livecode-community-server
6) Move the files to the correct location (you could have moved the zipped file then could unzipped them there):
mv livecode-community-server /usr/lib/cgi-bin mv externals /usr/lib/cgi-bin mv drivers /usr/lib/cgi-bin
Configure Apache
7) Enable the actions and cgi mods:
a2enmod actions a2enmod cgi
8) Edit the Apache .conf file:
cd /etc/apache2/sites-enabled nano 000-default.conf
9) In the editor I added the 2 required lines as follows right before the end </virtualhost> line:
Action lc-script /cgi-bin/livecode-community-server AddHandler lc-script .lc
I did NOT uncomment the line that says to include the serve-cgi-bin.conf
ctrl-x yes to save, enter to keep the file name (make sure you don't change it).
10) Restart your Apache server:
service apache2 restart
You may get a message on restart about not being able to reliably determine the servers domain name, depending on how things are currently set up.
11) Add a test script to see if Apache is serving up LiveCode scripts as cgi's. Create a simple file:
nano -w /var/www/html/test.lc
and paste into it the following script:
<?lc put random(542545) ?>
Then I went to the droplets ip.. http://xxx.xxx.xxx.xx/test.lc and voila' it works.
See also
You may then want to install RevIgniter