How can I store and maintain a local or remote depot of master script files for Fantastico F3?


Use our local or remote depot tool:

Fantastico F3 has the ability to locally host a custom depot of scripts for use on your server(s). If you want to use a local depot, you need to configure it in the step above.

 

Here are two examples of how to work with a depot:

 

A) You want your server to work with a custom depot hosted locally on your server.

1) Log into your server as root and execute the following commands:

cd /var/netenberg/fantastico_f3/sources && php index.php depot

This step will generate a list of commands you will need to run in the location where you want to host your local depot.

2) If necessary create the directory where you want to store your depot files (the directory itself should be empty with lots of available disk space on the partition or volume that hosts the directory). For example: /opt/f3depot/

3) Navigate inside the directory that will host the depot and run all of the commands in order that you received in step 1. This will download all of the needed files for Fantastico's depot.

4) Configure the Local Depot feature on the Fantastico F3 Options screen. It should be the absolute path to the local file depot (for example: /opt/f3depot/ )

5) Be sure to update your local depot on a regular basis (setting up a cron job to run regularly would be a good idea).

 

B) You want to host a single depot that many servers will all use.

1) Log into the server that will serve as the main depot for all of the rest of your servers (Fantastico F3 should be installed on this server).

2) Run the following commands as root:

cd /var/netenberg/fantastico_f3/sources && php index.php depot

3) Create or navigate to the directory where the depot files will be hosted (this needs to be accessible via URL to all of the servers that will use the depot, but you should restrict access only to those approved IPs (so the files cannot be accessed by the public).

3) Take the commands generated by step 2 and run them in the location where the depot will be hosted. It should have plenty of available disk space and should be an empty directory).

4) Configure the Remote Depot on the Fantastico F3 Options screen for each server using the remote depot. You can use the Cloner tool in conjunction with a remote depot to have a single central Fantastico F3 install manage and provide script data for all of your other servers.

5) Be sure to regularly update your remote depot using a cron job or some other tool.

 

Tags: Depot, Fantastico F3
2014-09-06 22:12 Netenberg Staff {writeRevision}
Average rating: 0 (0 Votes)

You cannot comment on this entry

Chuck Norris has counted to infinity. Twice.