Amazon EC2 (Linux) + RDS (MySQL) + PHP + pdflatex = LaTeX to PDF online

2

I would like to have a website capable of converting LaTeX documents to PDF online. So for example user types in some raw LaTeX (document), I'm saving it into my MySQL database and I'm able to convert that LaTeX to PDF docuement available for preview and download.

As I understand, I need to have my own Linux powered server with pdflatex installed on the machine. I have in mind buying EC2 instance on Amazon (+ RDS for MySQL, or MySQL on EC2, doesn't matter much in this case) powering some Linux distribution, installing pdflatex on it and putting some PHP script (Apache, LAMP installed) which could do converting LaTeX to PDF and representing it onto my webpage.

Is this a good way to do it, and if it is could you provide me some more detailed steps - especially installing pdflatex on the machine and connecting it with PHP script?

svebee

Posted 2011-11-25T18:01:31.873

Reputation: 121

Answers

0

It sounds like you're looking for scribtex.com. Go give them a shot! I really like it.

As a bonus beyond what you described, they support Git access, so you can do real version control of your documents.

Ted Pennings

Posted 2011-11-25T18:01:31.873

Reputation: 101

2I believe the @svebee wants to create his/her own website capable of the features he/she listed. – Duijf – 2011-12-04T21:30:06.680