Both sides previous revisionPrevious revisionNext revision | Previous revision |
administration:squid [2015/12/21 16:47] – ↷ Links adapted because of a move operation demiankatz | administration:squid [2023/10/24 13:40] (current) – demiankatz |
---|
====== Installing Squid with VuFind in 10 minutes ====== | ====== Installing Squid with VuFind® in 10 minutes ====== |
| |
Due to Syndetics network/service issues, Western Michigan University implemented a reverse proxy cache for particular third party venders. Squid [[http://www.squid-cache.org/]] is an open source reverse proxy cache. It can cache and store third party content locally, thus improving response times. | :!: // These instructions were written in reference to an installation of VuFind® 1.0RC1; some details may be out of date. // |
| |
| Due to Syndetics network/service issues, Western Michigan University implemented a reverse proxy cache for particular third party vendors. [[http://www.squid-cache.org/|Squid]] is an open source reverse proxy cache. It can cache and store third party content locally, thus improving response times. |
| |
In our case, we use a separate server to increase performance. Squid can either be installed on the VuFind server or separately. However, due to its system load, it is recommended that Squid be installed on a secondary machine (we used an Intel Xeon 3.0ghz 800mhz bus, 2 Gig DDR2, 1 terabyte non raid disk). In these instructions, the base operating system is RedHat 5.2/CentOS [[http://www.centos.org/]]. | In our case, we use a separate server to increase performance. Squid can either be installed on the VuFind® server or separately. However, due to its system load, it is recommended that Squid be installed on a secondary machine (we used an Intel Xeon 3.0ghz 800mhz bus, 2 Gig DDR2, 1 terabyte non-RAID disk). In these instructions, the base operating system is RedHat 5.2/CentOS [[http://www.centos.org/]]. |
| |
===== Install the Operating System ===== | ===== Install the Operating System ===== |
[root@Squidbox]/sbin/service squid start | [root@Squidbox]/sbin/service squid start |
| |
===== Configure VuFind ===== | ===== Configure VuFind® ===== |
Adjust VuFind to access your Squid box's IP address instead of the normal URLs. Depending on the service you are using, you may be able to adjust [[configuration:files:config.ini]]; otherwise, you will have to edit code. | Adjust VuFind® to access your Squid box's IP address instead of the normal URLs. Depending on the service you are using, you may be able to adjust [[configuration:files:config.ini]]; otherwise, you will have to edit code. |
| |
For our VuFind 1.0RC1 instance, we had to go through and hand edit bookcovers.php, Record/Review.php, and Record/Excerpt.php and replace http://syndetics.com with yoursquidboxip. | For our instance, we had to go through and hand edit code retrieving book covers, excerpts and reviews and replace http://syndetics.com with yoursquidboxip. |
---- struct data ---- | ---- struct data ---- |
| properties.Page Owner : |
---- | ---- |
| |