Install On Linux |
Top Previous Next |
The Linux installation process involves a few steps with the command line, and assumes you have the installation tar.gz file available on the system. You should be the superuser (root) to perform the installation.
Simplified Installation
Download the install script, set proper permissions, and execute it:
su or sudo sh
This will prompt for an install location (defaulting to an existing install), then download the 64-bit or 32-bit tar file, extract it, and run the setup.sh script. If the -yes parameter is supplied, it is passed to the setup.sh script that is run. This will auto-install the dependencies without prompting, after prompting if you want to install system updates.
After downloading the installation tar file:
When the server is running, you can use the browser interface for monitoring and configuration. The browser interface provides extensive monitoring and configuration tools. When first started, the server establishes a user login "admin" with a random password. To view the password from the command line, while logged in as root, enter:
cp20s -getpass admin
Using this password, you can login to the browser interface and change the login to your own preference. If you'd prefer to set your own password from the command line:
cp20s -resetpass admin -password "value"
Apache Custom Configuration CirrusPrint by default is configured to start a private instance of the Apache web server. On Linux installations, most standard Apache configurations are automatically recognized, but if not, then you can manually edit the [httpd] section of config.ini. The key lines are:
# Examples which match a Redhat install: #httpd=/usr/sbin/httpd #serverroot=/etc/httpd #user=apache #group=apache
Uncomment these lines and ensure that httpd points to the Apache web server executable, and serverroot points to a directory where modules (*.so files) reside, or where a "modules" directory resides.
GhostScript GhostScript is useful to CirrusPrint when it needs to convert PostScript print data to PDF format for browser viewing. CirrusPrint will look for the GhostScript executable as /usr/bin/gs or /usr/local/bin/gs, but if you have a custom location or name for it, you can set gs=path/to/executable in the [server] section of config.ini, or use the Configuration tool in the browser admin interface. Ghostscript is available from the Linux distribution supplier, or from http://ghostscript.com. Ghostscript is usually installed automatically if you install the CUPS spooler.
ImageMagick ImageMagick's convert program (renamed magick.exe at their version 7.0) is used to convert image files to other formats on demand. For example, if you submit a jpeg file to a printer, a Magick-Ghostscript chain will be used to convert that file to postscript or pcl for a printer. ImageMagick is available from the Linux distribution supplier, or from http://imagemagick.org . The setup.sh script will offer to install Ghostscript and ImageMagick if required, using one of the two primary package management tools in the Linux environment, yum or apt-get.
|