Background
Looking to install ConTeXt on CentOS 6, without an Internet connection.
Problem
The CentOS 6 server does not have Internet access, but can receive files from a computer on the same local area network.
Related
There are a number of related issues, inluding:
- Install ConTeXt manually without using first-setup.bat
- Offline Installation: How do I install a full TeX distribution on an offline computer?
- How to install ConTeXt on CentOS 7?
However, these questions do not address the offline nature specifically for the latest version of ConTeXt available at http://standalone.contextgarden.net/setup/linux-64/.
Question
Given a machine running Windows (or Cygwin on top of Windows, or Linux, even, as the instructions can likely port), how would you download and install an offline version of ConTeXt on a server running CentOS 6 for all users?
The following steps will not work, but serve as an example of what I'd like to accomplish:
- On Windows, open Cygwin.
- Type:
mkdir $HOME/context cd $HOME/context curl --recursive http://standalone.contextgarden.net/setup/linux-64/ .
- On Windows, open WinSCP (or file transfer program).
- Connect to CentOS server.
- Transfer entire
linux-64
directory. - Disconnect WinSCP.
- On Windows, open Putty (or other remote shell access program).
- Connect and login to CentOS server.
- Change to
root
user. - Type:
mkdir /opt/context cd /opt/context cp -R /home/user/linux-64 . cd linux-64 ./first-setup.sh
- Optionally, disconnect from the server.
At this point, ConTeXt would be installed on CentOS 6 and all users can create PDFs from .tex
files.
/opt/context
, transfer, done. ConTeXt does not rely on any files outside its tree.6e092fc6b66de7f4f2bbdd1b6c56dbc5abca1b1b
). However, I urge you to not trust me and rather build the tree yourself using the instructions below.