# roll-server
**Repository Path**: wajchina/roll-server
## Basic Information
- **Project Name**: roll-server
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2021-09-03
- **Last Updated**: 2021-09-03
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
__Scripts to copy [Rocks Clusters](http://www.rocksclusters.org) roll isos to a generic (linux) webserver for faster local hosting__
Purpose: Rocks 7.0 frontends require a web server to have rolls "installed" to download. Sometimes distance or
other issues indicate that a local copy on an existing (non-Rocks) web-server would be much better. The scripts in this
repository help with that.
There are four scripts defined in this roll
* rollcopy.sh - copy a roll iso contents for web serving
* index.cgi - cgi to present roll directory in a standard format
* httpdconf.sh (optional) - defines a virtual server httpd configuration file
* unpack-guides (optional) - unpacks roll users guides into a web-servable directory
__0. Preparation__
* clone this repository `git clone https://github.com/rocksclusters/roll-server.git`
* download the roll isos from UCSD.
__I. Copy Roll(s) to a web directory__
For this example, will assume the `/var/www/html/rocks/7.0` is the (already created) parent directory into
which you want to copy rolls. The `rollcopy.sh` script will create the subdirectory `install/rolls`.
to copy the iso file, `CentOS-7.4.1708-0.x86_64.disk1.iso` to the the release directory:
```
# rollcopy.sh CentOS-7.4.1708-0.x86_64.disk1.iso /var/www/html/rocks/7.0
```
Repeat the above for each roll iso that you want to copy
__II. Make certain that the supplied `index.cgi` script gives the directory listing__
```
# cp index.cgi /var/www/html/rocks/7.0/install/rolls
```
You will probably need to add something like the following in your Apache
configuration, so that the directory index is given via the index.cgi
```
# allow all access to the rolls RPMS
| area51/ |
| base/ |
| CentOS/ |
| core/ |
| fingerprint/ |
| ganglia/ |
| hpc/ |
| htcondor/ |
| kernel/ |
| kvm/ |
| openvswitch/ |
| perl/ |
| python/ |
| sge/ |
| Updates-CentOS-7.4.1708/ |
| zfs-linux/ |