Installation notes for BarracudaDrive Pro - December 2007 ----------------------------------------------------------------------- Before Installing: Disable your PC firewall, if any, to eliminate confusion and wasted time. A firewall may interfere with BarracudaDrive. You can re-enable the firewall when you have completed the installation and verified that BarracudaDrive is accessible from the Internet. * See the Appendix at the end of this document for how to disable your firewall. Two step installation and configuration: BarracudaDrive requires that you first run the Windows installer and then use a browser to complete the configuration. BarracudaDrive Windows installer: ----------------------------------------------------------------------- BarracudaDrive installs as a Windows service, which means that the server is always available when your computer is running, even when you are not logged on. It is possible to run BarracudaDrive as a console program if you do not want it to run as a service. Download and start the Windows installation program bdinstall.exe It is recommended that you DO NOT uninstall existing versions of BarracudaDrive prior to installing an upgrade or new version. The previous version of the installation program MAY remove user generated components. It is important that you are logged on with full administrative rights before attempting to install BarracudaDrive. Messaging services such as Skype are known to interfere with installation of BarracudaDrive. To ensure that the installation completes successfully, ensure that all Web applications and messaging tools are stopped. Closing the window does not normally stop these services. Right click the icon in the system tray and select Exit. If the install completes successfully, BarracudaDrive should be enabled and you should see the Barracuda icon in the system tray (right bottom corner on your desktop). The service can be stopped and started by right-clicking the Barracuda icon. The icon’s top right corner is green when BarracudaDrive is running. The icon’s top right corner is otherwise red. Please note that the BarracudaDrive icon, which is currently not available for Vista, is not the server. The BarracudaDrive icon is a small Windows program that can be used for controlling the BarracudaDrive server. The server runs as a Windows service and is invisible. The BarracudaDrive icon is not needed as one can also start and stop the server either via the Services Control Panel or via the command prompt. All Windows Services can be controlled by using the Windows Services Control Panel. You can find BarracudaDrive as a service after installing it. Go to Control Panel -> Performance And Maintenance -> Administrative Tools -> Services. Look for BarracudaDrive. You can start/stop/disable/enable BarracudaDrive by using the Windows Services Control Panel. If you prefer, you can remove the BarracudaDrive icon(bdctl.exe) from the tray by starting msconfig. Select The Windows Start Button -> Run -> type msconfig -> click OK -> click the Startup tab -> deselect bdctl.exe. Configuring BarracudaDrive using a browser: ----------------------------------------------------------------------- After you have completed the Windows installation: * Right click the BarracudaDrive icon and select "start page". * If using Vista type in http://localhost in your browser. You should see the license activation page in your browser window. The browser will be redirected to the license page if you do not have a valid license. First time installers can get a free 45 day trial license. Complete the license activation as explained. You will be directed to the configuration wizard after you have activated the license. Complete the configuration. MAKE SURE YOU CAREFULLY READ EACH OPTION PRESENTED TO YOU IN THE CONFIGURATION WIZARD. URL's you should bookmark on the PC running BarracudaDrive: http://localhost/rtl/license/ License Information. Check that your trial license does not expire. http://localhost/setup/ The installation application. http://localhost/rtl/settings/ A menu for various built-in applications http://localhost/rtl/forum/manage/ The management page for the bulletin board Please note that the above URL's only work if your BarracudaDrive server is running and you use a browser on the same PC your BarracudaDrive server is installed on. Using BarracudaDrive as a web server (optional): ----------------------------------------------------------------------- After you have completed the installation, you will get "404 not found" if you visit the root page -- i.e. if you visit http://localhost/ You can install a web application that allows you to create your own web pages: 1 Create a sub directory for your web pages in your bd installation directory -- example, create c:\bd\www using Windows Explorer (ref A) 2 Create a file named index.html in this directory 3 Go to http://localhost/rtl/settings/ 4 Click the Administrator Panel link 5 Click the Application Manager link 6 Click the New tab 7 Enter an application name such as: www 8 Enter the name of the directory your created, example www (ref A) 9 Press submit 10 On the "Add a new application" page: 10.1 Select root application. 10.2 Press Submit You should now be able to visit the index.html file you put in c:\bd\www by typing in http://localhost/ in your browser. >>>>>>>>>>>>>> OPTIONAL READING FOR ADVANCED USERS <<<<<<<<<<<<<<<<<<< Installing a SSL certificate Using openssl to create a self signed certificate ----------------------------------------------------------------------- using an editor create a file named config.cnf with contents as follows: ##### [ req ] distinguished_name = req_distinguished_name [ req_distinguished_name ] countryName = Country Name (2 letter code) stateOrProvinceName = State or Province Name (full name) localityName = Locality Name (eg, city) 0.organizationName = Organization Name (eg, company) organizationalUnitName = Organizational Unit Name (eg, section) commonName = Common Name (eg, YOUR name) emailAddress = Email Address #replace the following countryName_default = US stateOrProvinceName_default = California localityName_default = Laguna Niguel 0.organizationName_default = My Company Name organizationalUnitName_default = R&D commonName_default = mydomain.com emailAddress_default = myname@mydomain.com ##### Then execute openssl using the following command line. > openssl req -new -newkey rsa:512 -days 1065 -nodes -keyout key.pem -out cert.pem -batch -config config.cnf -x509 -set_serial 0x1618 The private key must not be encrypted To unencrypt the private key use > openssl rsa -in server.pem -out server.key http://www.cacert.org/help.php?id=4 also contains a good description of how to get a certificate. Once you have created your certificate and a private key files or have received your certificate from a Certificate Authority, add these file names to the bd.conf file (e.g.): certfile=[[c:\bd\cert.pem]] keyfile=[[c:\bd\key.pem]] >>>>>>>>>>>>>>>>>>>>>>>>>>>> SUPPORT <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< Support for BarracudaDrive is provided via the online BarracudaDrive bulletin board or by email. Web: http://barracudaserver.com/forum/ Email: BarracudaDriveSupport AT realtimelogic DOT com >>>>>>>>>>>>>>>>>>>>>>>>>>>> APPENDIXES <<<<<<<<<<<<<<<<<<<<<<<<<<<<<< Disable Firewalls ----------------------------------------------------------------------- YOU DO NOT NEED A FIREWALL IF YOU USE A ROUTER Firewalls are known to interfere with the BarracudaDrive server or any other server you install on a PC with a firewall installed. You do not need a firewall if you are using a router since the router is already working as a firewall. By default, all services are blocked by your router. Configuring port forwarding in your router can be seen as allowing one or several services to be accessed by outsiders. It is for this reason unncessary having a firewall installed on a stationary PC protected by a router. Using a firewall on a PC behind a router is a waste of money, CPU, and memory. A firewall is not the same as antivirus. Use the ClamWin Antivirus as a free alternative to bloated software that combines firewall and antivirus: http://www.clamwin.com/ Windows XP 1. Log on as a user that is a member of the Administrators group. 2. Open the Network Connections folder, right click the desired connection, and then click Properties. 3. Click the Advanced tab, and remove the check from Protect my computer and network by limiting or preventing access to this computer from the Internet. 4. Click Yes to the dialog windows that asks you to confirm your decision to disable the firewall. Norton Internet Security http://www.symantec.com/sabu/nis/nis_pe/ 1. Log on using an account with Adult or Supervisor rights. Open Norton Internet Security. 2. On the left side of the window, click Internet Status and then click Current Status. 3. In the Current Status window, click Disable. Norton Personal Firewall http://www.symantec.com/sabu/nis/npf/ 1. Open Norton Personal Fireall. 2. On the left side of the window, click Internet Status and then click Current Status. 3. In the Current Status window, click Disable. You can also disable Norton Personal Firewall by right-clicking on the Norton Personal Firewall icon in the notification area of the taskbar and selecting disable. McAfee Internet Security http://www.mcafee.com/myapps/is5/default.asp 1. Right-click the McAfee icon. 2. Point to Personal Firewall and then click Options. 3. Click the Security tab. 4. Set the Security Level by moving the slider to the desired level. 5. Set Access to Low. 6. Click OK to save changes. McAfee Firewall http://www.mcafee.com/myapps/firewall/default.asp?duration=2 1. Click Stop McAfee Firewall to disable the software. 2. From the Welcome to McAfee Firewall screen, go to the Network Control Settings and select Allow All Traffic. Zone Alarm 1. Right-click the Zone Alarm icon in the System Tray, and select Shutdown Zone Alarm.