From: "Stéphanie Vilayphiou" <stephanie@stdin.fr>
To: ntg-context@ntg.nl
Subject: Installing context on a web server
Date: Fri, 19 Jul 2013 15:29:12 +0200 [thread overview]
Message-ID: <51E93F28.9040606@stdin.fr> (raw)
Hello,
I am using Context to produce PDF out of a website.
It works well on my local machine, but I can't seem to install Context
system-wise on my server.
I first installed Context as a single-user on the server with
first-setup.sh.
Then I realized I needed Context to be accessed by any user.
So I tried to run first-setup.sh in /opt/context as root.
First of all, I have troubles with rsync connections through first-setup.sh.
"""
rsync: failed to connect to contextgarden.net: Connection timed out (110)
rsync error: error in socket IO (code 10) at clientserver.c(122)
[Receiver=3.0.7]
...
resolvers | resolving | warning: no lua configuration files found
resolvers | resolving | no texmf paths are defined (using TEXMF)
resolvers | resolving |
mtxrun | the resolver databases are not present or outdated
mtx-update | state, loaded
mtx-update |
mtx-update | update, startrsync: failed to connect to
contextgarden.net: Connection timed out (110)
rsync error: error in socket IO (code 10) at clientserver.c(122)
[Receiver=3.0.7]
mtx-update | run, rsync -rpztlv --delete
contextgarden.net::'minimals/current/context/beta/'
'/opt/context/tex/texmf-context'rsync: failed to connect to
contextgarden.net: Connection timed out (110)
rsync error: error in socket IO (code 10) at clientserver.c(122)
[Receiver=3.0.7]
mtx-update | run, rsync -rpztlv
contextgarden.net::'minimals/current/bin/common/linux-64/
minimals/current/bin/context/linux-64/
minimals/current/bin/metapost/linux-64/ minimals/current/bin/man/
minimals/current/bin/luatex/linux-64/
minimals/current/bin/xetex/linux-64/
minimals/current/bin/luatex/linux-64/
minimals/current/bin/pdftex/linux-64/
minimals/current/bin/luatex/linux-64/
minimals/current/bin/luajittex/linux-64/' '/opt/context/tex/texmf-linux-64'
"""
So I copy/pasted the files from the single-user install in /opt/context/.
Then Context runs only if I source it with: "source
/opt/context/tex/setuptex" but putting it in my $PATH doesn't work and
it disappears from my path when I come back to su.
"""
root@erba-web1:~# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
root@erba-web1:~# PATH=$PATH:/opt/context/tex/texmf-linux-64/bin
root@erba-web1:~# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/context/tex/texmf-linux-64/bin
root@erba-web1:~# exit
$ sudo su
root@erba-web1:/home/admin_esad# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
"""
(actually this $PATH thing doesn't work either on my local machine, I
have to source it every time I want to use it...)
Any idea?
Stéphanie
--
----
Stéphanie Vilayphiou
<stdin>
http://stdin.fr/
+32 (0)4 89 00 88 59
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next reply other threads:[~2013-07-19 13:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-19 13:29 Stéphanie Vilayphiou [this message]
2013-07-19 13:45 ` Mojca Miklavec
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51E93F28.9040606@stdin.fr \
--to=stephanie@stdin.fr \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).