BarracudaDrive OS X Installation instructions

BarracudaDrive for Mac

Installing:

REQUIREMENTS: Mac OS X 10.4 or later.

  1. Double click on the install application.
  2. The installation application prompts you to login as an administrator.
  3. The installation application installs the BarracudaDrive server, starts the server, and opens your browser.

The installation script assumes you have no other servers using port 80 and port 443. Read the next section if you have another server using these ports.

After the installation script is completed, your browser should open and navigate to http://localhost. If your browser is not opened after completing the installation, navigate to http://localhost/rtl/license and either request a trial license or follow the purchase wizard.

Uninstalling:

  1. Navigate to Applications -> BarracudaDrive -> tools
  2. Double click "uninstall"

How the installation script works
(Optional advanced reading)

The installation script copies the BarracudaDrive code and auxiliary applications to /Applications/BarracudaDrive. The script also makes a link on your desktop to /Applications/BarracudaDrive/cmsdocs, which is the directory for your own HTML files. See the "Content Management System's" documentation for more information on how to use this directory.

On OS X, servers are typically started by scripts in the /Library/StartupItems directory. The installation script creates the directory /Library/StartupItems/BarracudaDrive and inserts two files into this directory. The BarracudaDrive script is automatically executed by OS X when the operating system boots, thus BarracudaDrive starts automatically when you power on your computer.

You can manually start and stop the server by using the StartStop application found in the tools sub-directory. You can also manually manage the server, if you are an expert, from a Terminal window by running the BarracudaDrive script in the /Library/StartupItems/BarracudaDrive directory.

If you like to manually use the script, do the following in the terminal before using the script the first time:
sudo chmod +x /Library/StartupItems/BarracudaDrive/ BarracudaDrive
The above command makes sure the script is executable.

Stopping the server:
sudo /Library/StartupItems/BarracudaDrive/BarracudaDrive stop

Starting the server:
sudo /Library/StartupItems/BarracudaDrive/BarracudaDrive start

Restarting the server:
sudo /Library/StartupItems/BarracudaDrive/BarracudaDrive restart

Using alternate port numbers

We do not recommend changing the port numbers. If you have another server using these ports, consider using BarracudaDrive as a proxy. See the following documentation for more information: Running two web servers on one IP address

The above tutorial use DOS type directory names. Make sure you convert the paths to appropriate OS X paths.

  1. Open /Library/StartupItems/BarracudaDrive/BarracudaDrive using an editor.
  2. On the line that starts the server, after the following: "-pidfile bdd", add the following -p8080 -s8443, where 8080 is the port number you select for HTTP and 8443 is the port number you select for HTTPS.
  3. Save the file and restart the server.

Configuring BarracudaDrive for high volume traffic

In BarracudaDrive the maximum allowed simultaneous connections must be configured. Follow the instructions above for changing port numbers, and add the following to the line starting BarracudaDrive: --connections 1000, where 1000 is the maximum number of simultaneous connections you accept.

For information on the available BarracudaDrive commands, type the following in a console:
/Applications/BarracudaDrive/bdd -?