LiveCode Server 8.1 - installing
Graham Samuel
livfoss at mac.com
Wed Sep 14 15:16:20 EDT 2016
Hi Richard
I don’t have any desire to frighten the DreamHost horses! However my query was a very simple one, simply to answer Peter’s question. DH support has already come back to me - apparently I’m using Ubuntu 12.04.5 LTS on my site
If you run LC on DH often, can you explain to a deeply ignorant person such as myself - is it really necessary for DH to carry as many copies of LC Server as there are users? Can’t LC Server be somewhere near the root of the tree so to speak, so that everyone who wants to reference it can do so? If not, then my next question is “why did just replacing the whole 'LiveCode Server' folder within my domain (it was in the cgi-bin folder) not work as it had before?" Do I really have to start tweaking command lines?
If you want to know what the error is, I can’t invoke LC Server at all, for example invoking ‘example.lc’ etc from a browser, and as far as I can see, when I invoke an LC script via the FastSpring store, the corresponding .lc file isn’t executed. Before my mis-upgrade, the execution did take place. I get
> -- ERROR --
> com.brightmarket.core.license.LicenseException
> Remote license generator failed: http://www.mysite.com/MRScriptForFastSpringMac.lc, HTTP/1.1 404 Not Found
[Rant: My position by the way is that I am so old that I can remember programming computers that didn’t even know how to boot themselves, and command lines would have been a luxury, a la Monty Python… but now I just want to get on with it and leave what’s under the hood under the hood. Of course I’m willing to learn, but I see that I have failed to understand some structural stuff about how hosting companies organise their servers and what the fundamentals of *nix are… and somehow this is taken for granted by most of the people who want to explain stuff. I have noticed this tendency even from the mother ship when LCB is being discussed. Guess I’m just to old. end Rant]
Anyway I will try to put together a more coherent set of questions.
Still confused
Graham
> On 14 Sep 2016, at 19:23, Richard Gaskin <ambassador at fourthworld.com> wrote:
>
> Graham Samuel wrote:
>
> > A quick check on the DreamHost Knowledge Base doesn’t answer the
> > question, so I’ve had to generate a ticket in their support system.
>
> You may consider closing that support request with Dreamhost. There are enough of us using LC Server on DH that I'd like to avoid the potential of creating a reputation for LiveCode as representing an unusual cost for them to support. I really like the team at DH (I've met some of them at the SoCal Linux Expo, and they were enormously helpful last year in helping us sort out LC's transition to 64-bit), so I try to be mindul of our impact on their time (hosting is a notoriously low-margin business).
>
> DH's setup is fine. I run LC on it often, as many of us do. It's set up well to handle any executable that supports stdin and stdout as a CGI, including LC Server, so there's little they can do that won't eat up a lot of their time trying to learn the specifics of LC.
>
> Please let us help you instead. Many of us know DH well, and all of us know LC very well. We can help you with LiveCode-specific questions more efficiently than they can.
>
>
> > A lot of LC people use DreamHost, and as I say it was kind of working
> > until I foolishly binned my 7 series version in favour of 8.1.
>
> What is the error you're getting now that you didn't get before?
>
> If the LC Lesson you found for setting up LC Server involved updating the Apache config file, you were looking at the one for a dedicated server or VPS. What you want is the one that uses .htaccess, the override mechanism for Apache config supported on most shared hosting services like DG:
> <http://lessons.livecode.com/m/4070/l/36655-how-do-i-install-livecode-server-with-apache-via-htaccess>
>
> It may be helpful to review the notes that Stephen put together for setting up LC Server specifically on DH:
> <http://lists.runrev.com/pipermail/use-livecode/2015-July/216377.html>
>
> @Stephen: If you don't mind I can copy your notes to this thread in the forums where we've been collecting notes on host-specific setup instructions so they don't get lost in the ephemera of email list archives:
> <http://forums.livecode.com/viewtopic.php?f=15&t=121>
>
>
> > What scares me is having to do command-line stuff on an OS I know
> > absolutely nothing about. The instructions and installation notes
> > I’ve read so far don’t work for someone with that particular phobia.
>
> I somewhat agree. Just as we need to be able to use a desktop environment well to be able to design software for it effectively, it's very helpful to be able to work fluidly via Terminal with a server in order to deploy systems there.
>
> It's all learnable, and if you like learning it's kinda fun, but like any learning it does take time.
>
> We can explore ways to build skills and confidence with Terminal here if you like - there's not all that much you need to know to work on a shared host like your DH account. In under a day you can become confident, in a week you're a pro. :)
>
> But alternatively, you might also consider taking advantage of the range of options we have with server systems today.
>
> Just as most other development platforms are available with different levels of support across the cloud, LiveCode has more options we well.
>
> Using a shared hosting service is a sort of IaaS (Infrastructure as a Servce), where they provide the machine and maintain the OS and the connectivity, and within your account you're pretty much on your own.
>
> But as we see with services like what Heroku provides for Python, PHP, etc., we have two PaaS (Platform as a Service) options in our LiveCode world: on-rev.com and hostm.com
>
> I have no direct experience with on-rev.com, but it was built by the core team and AFAIK still managed by LiveCode Ltd.
>
> I've had correspondences with hostm.com, and while I haven't used their service myself yet I've read many comments here from those who seem very pleased with it. My own exchanges with them have been prompt, candid, and courteous. I was very impressed to find a third-party hosting service as committed to helping LiveCode grow as they are.
>
> Both services provide LiveCode Server pre-installed and ready for use with your scripts. Of the two, last time I checked hostm.com's pricing was more favorable.
>
> And if you want to stay with DH, they're a fine option too. Follow Stephen's guide, be willing to learn a little about managing permissions in Terminal (though you can probably do what you need in a good FTP tool as well, like the free and open FileZilla), and we can get you up and running there.
>
> --
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> ____________________________________________________________________
> Ambassador at FourthWorld.com http://www.FourthWorld.com
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list