Apache, Nginx, Lighttpd, Monkey, and BarracudaDrive Speed Test

Benchmarking web servers can be difficult since few computers provide the exact same CPU speed. It is for this reason the Raspberry Pi is great for benchmarking since non modified Raspberry Pis will provide the same speed. A standard (non overclocked) Raspberry Pi with its ARM processor runs at 700 MHz (the original model B).

Note: The Mako Server and FuguHub are both derived from the Barracuda Application Server library and the benchmarking results are identical for these two products.

For the tests we used Siege as it is a great web server benchmarking tool for this type of testing. Siege was run on a Linux powered laptop and connected to the Raspberry Pi via a standard home router.

All tests show how many transactions took place during our 2 minute test. We only tested with 200 concurrent connections; i.e. we instructed the Siege tool to open 200 concurrent connections when running the server siege.

Test 1 - Fetching a small static 177 bytes html page:

Apache 26624

Test 2 - Fetching a large static 179Kb JPG file:


We performed the above FuguHub tests. The results for the other servers above are from Jeremy Morgan's RPI benchmarking.

Jeremy Morgan only tested with static content, but we ran two additional tests where the server responds with dynamically generated content. The following shows the output from running the above two tests and the output from fetching dynamically created content.

Running test 1 - Fetching a small static 177 bytes html page:

$ siege -b -t2m -c200

Lifting the server siege...      done.

Transactions:                  53882 hits
Availability:                 100.00 %
Elapsed time:                 119.42 secs
Data transferred:               9.10 MB
Response time:                  0.44 secs
Transaction rate:             451.20 trans/sec
Throughput:                     0.08 MB/sec
Concurrency:                  199.55
Successful transactions:       53882
Failed transactions:               0
Longest transaction:            9.46
Shortest transaction:           0.03

Running test 2 - Fetching a large static 179Kb JPG file:

$ siege -b -t2m -c200
[error] socket: read error Connection reset by peer sock.c:473: Connection reset by peer

Lifting the server siege...      done.

Transactions:                   4881 hits
Availability:                  99.59 %
Elapsed time:                 119.19 secs
Data transferred:             830.77 MB
Response time:                  3.59 secs
Transaction rate:              40.95 trans/sec
Throughput:                     6.97 MB/sec
Concurrency:                  147.00
Successful transactions:        4881
Failed transactions:              20
Longest transaction:          119.02
Shortest transaction:           0.05

We had a number of errors for the above, which indicates that the RPI is having a hard time serving all the requests. It could also be that our router is having a hard time. We used a basic home router for the test. Jeremy also had errors, but we do not think these errors are related to the servers being used. It is more likely related to the RPI hardware or the router.

The above tests require that the /etc/init.d/bdd script is modified since the default script limits FuguHub to 80 connections. We changed "BDCONNECTIONS=80" to "BDCONNECTIONS=1024"

We also stopped the included CMS and created a new root application for the above tests.

We are a bit surprised by the results since FuguHub is an application server and not a web server. Typically, application servers should be slower than web servers since they have more housekeeping to do.

Since FuguHub is an application server, it can also run server side scripts similar to PHP.

We used the following Lua Server Pages (LSP) script for the benchmarking.

<?lsp response:write"Hello World" ?>

Although the above is a very basic LSP script, it still triggers a fairly extensive set of actions on the server such as compiling the LSP script to Lua source code, compiling Lua source code to Lua byte code, and then finally executing the byte code using the Lua virtual machine. There is no caching so the above sequence is performed for each request.

Running test 3 - Fetching dynamically created content:

(The following shows the benchmark results for running the above LSP script)

$ siege -b -t2m -c200

Lifting the server siege...      done.

Transactions:                  45577 hits
Availability:                 100.00 %
Elapsed time:                 119.15 secs
Data transferred:               0.48 MB
Response time:                  0.51 secs
Transaction rate:             382.52 trans/sec
Throughput:                     0.00 MB/sec
Concurrency:                  195.35
Successful transactions:       45577
Failed transactions:               0
Longest transaction:           45.15
Shortest transaction:           0.03

From the above test, we can see that FuguHub can serve dynamically created responses faster than the other servers are able to send back the small static html file in "test 1" above.

We looked for a PHP speed test and could not find one. FuguHub's Lua Server Pages (LSP) is similar to how PHP creates dynamic content. Maybe you have done a PHP speed test on Raspberry Pi? Can you manage 45577 transactions in 2 minutes (382 transactions a second) on a Raspberry Pi using PHP?

Running test 4 - Content Management System Speed Test:

We ran one final test, where we disabled the LSP root application we used for the tests above and then re-enabled the FuguHub Content Management System (CMS). The following test shows how many transaction the CMS is capable of handling in two minutes.

$ siege -b -t2m -c200

Lifting the server siege...      done.

Transactions:		       10106 hits
Availability:		      100.00 %
Elapsed time:		      119.35 secs
Data transferred:	       53.69 MB
Response time:		        2.34 secs
Transaction rate:	       84.68 trans/sec
Throughput:		        0.45 MB/sec
Concurrency:		      197.90
Successful transactions:       10106
Failed transactions:	           0
Longest transaction:	        5.99
Shortest transaction:	        0.06

The CMS is not a small Lua Server Pages application. There's a whole lot of stuff going on for each HTTP transaction including opening and searching for the page content in the CMS SQL database. Still, we manage to serve 84 pages a second on a Raspberry Pi.

About FuguHub:

FuguHub is a Barracuda Application Server derivative product. FuguHub is built by using the standard Barracuda Application Server source code library.

Posted in News Thursday, March 28th, 2013

E-Mail Marketing with BarracudaDrive


FuguHub includes a bulk email engine specifically designed for sending large amounts of emails. The benefit in using FuguHub for sending large amounts of emails is that FuguHub runs as a background process and can send out emails without disrupting your other activities. An added benefit is that FuguHub is a web server and the integrated email engine provides a unique URL for each subscribed user, thus making it easy for your recipients to unsubscribe should they no longer be interested in receiving your emails.

The email engine in FuguHub is managed by the integrated Large File Mailer. What’s new in FuguHub 6.0 is that the Large File Mailer can also be used for e-mail marketing.

Visitors can subscribe to your mailing list and each visitor gets a unique mailer URL so they can easily unsubscribe or update their settings.

FuguHub bulk email engine

You can start sending emails with Barracudadrive as soon as you have configured the Large File Mailer’s SMTP settings. Using your ISP’s SMTP server is usually not a good idea if you plan on sending large quantities of emails since your ISP will probably prevent you from sending bulk emails. Most ISPs limit the number of emails you can send per day. What we need is a SMTP service that is specifically setup for sending large amounts of emails. One such SMTP service is Mandrill and this service allows you to send up to 12,000 emails for free every month. Sending more than 12,000 emails a month requires that you purchase Mandrill’s services.

In this tutorial we will look into how you can use FuguHub for mass e-mail marketing by using the SMTP services provided by Mandrill. The first thing you should do is to navigate to http://mandrill.com and sign up. After signing up and logging into Mandrill, navigate to SMTP & API Credentials. The image below shows the Mandrill’s SMTP & API Credentials page to the right and the FuguHub’s Large File Mailer Settings page to the left.


Copy the credentials from the Mandrill’s SMTP & API Credentials page to the Large File Mailer Settings page as shown above. You will initially not have an API key so you need to click the "New API Key" in Mandrill. The API Key is used as the password in the Large File Mailer’s SMTP settings. The Large File Mailer’s "User Name" is the "SMTP Username" from Mandrill. The Large File Mailer’s email address should be your own email address. Make sure you click STARTTLS in the "Connection Security" settings. Click "Save" and then "Save and Test". If everything is entered correctly, Barracudadrive should be sending you a test email using Mandrill’s SMTP settings.

The next thing you need to do is to set your FuguHub server’s domain name. The domain name is required by the auto generated unsubscribe links created by the Large File Mailer. These links will not work if you do not set the domain name.

It’s easy to import email addresses into FuguHub. You can simply drag and drop a list of email addresses directly into the browser window after you have created a list. Each list can have any number of email addresses. The purpose with a list is to make it easy to segment users. When sending emails, you select the lists you want to use. The image below shows the Large File Mailer after we have created three lists.


To import email addresses, start by creating a new list. Click "Lists" as shown above and then the list name. Drag and drop your email addresses onto the list page inside the browser window. Detailed information on creating and managing lists is explained in the Large File Mailer’s integrated documentation.

Click the "Send Email" link when you are ready to send your first email. The image below shows the "Send Email" page in the Large File Mailer.


We have selected the "TEST" list above, which includes only one recipient. It’s usually a good idea to have a test list and test with this list before you go ahead and schedule a mail job with say 10,000 email addresses. The History option makes it easy to retrieve your previous emails so you can select the previous mail job after you have sent your test email and then select the actual lists you want as part of the final mail job.

Note, the "Send Email" page gives you a few suggestions as shown above. You can of course change the text, but you must include the [LINK] macro. The [LINK] macro expands to a unique URL on your FuguHub server for each recipient that receives an email. In other words, each recipient get’s their own unique link, where the recipient can update their profile or unsubscribe.

The "From" email address can be any valid email address. It is possible to use a non existing email address with Mandrill. For example, say you have your own domain name, but you do not have an email server. Mandrill makes it possible to use your own domain name when sending emails, even when you do not have a mail server. The email address can then be any fictitious email address at your domain name. Explaining this is beyond the scope of this tutorial. See the "Sending Domains" page in Mandrill for more information if you plan on using this feature.

Mandrill will initially give you a low sending quota, but you can still go ahead and send say 10,000 emails. Mandrill will initially pause the sending until the Mandrill service figures out if you are a trusted person or a person that is attempting to use their services for sending spam. The following image shows the Dashbord in Mandrill after we sent out emails to the FuguHub mailing list. We initially had a low quota, but this quota was lifted after sending to all subscribers in FuguHub’s mailing list.


You will eventually end up with email addresses that are no longer in use or valid, especially if working with large email lists. Mandrill lists all rejected emails on the "Rejection Blacklist" page. It’s easy to remove all these email addresses from the Large File Mailer’s email database. To remove these emails, start by selecting all the rejected emails in Mandrill as shown below.


Copy the selected emails to your computer’s clipboard and navigate to the "Remove Contacts" page in the FuguHub’s Large File Mailer. Paste the data from the clipboard into the text field on this page as shown below.


Click the "Remove Contacts" button. The Large File Mailer is clever enough to find all email addresses in the inserted data. The emails found in the inserted data will then be removed from the File Mailer’s database, if found.

You can import any number of email addresses into FuguHub as explained above. However, when working with email marketing, it’s common to provide a web form where visitors can subscribe to your "Newsletter". This feature is not part of the Large File Mailer simply because the Large File Mailer is primarily designed for distributing large files. However, you can still add this feature by downloading and installing computer code we have prepared. You do not need to understand anything about computer programming in order to use this code, but you must follow the instructions thoroughly to prevent any errors.

Start by creating a new page in the FuguHub’s Content Management system. The page will be where the visitors can subscribe to your newsletter. The computer code we provide can also be inserted into an existing page in the CMS, but it is easier to start with a new page since you will have to enter "Expert" mode in the CMS editor and it can be difficult to find the location where you want the web form to appear if you do not understand HTML.

Open the CMS editor for the page where you want the "Sign up for our Newsletter" web form. Click the Expert button. You can delete the HTML content you see in the editor if you created a new page. Otherwise, locate the location in the HTML where you want to insert the web form. Download the subscribe to our newsletter computer code. Open the downloaded file in an editor. Select ALL data in the editor. Paste this content into the FuguHub CMS editor. Click "Enable LSP" and click the Save button.

The example to the right shows the "Sign up for our Newsletter" form which you see after you press the Save button. You can change the colors and displacement by changing the CSS at the top of the file.

You can try the example to the right by entering your email address and name. The web form will not automatically add you to the database when you click Subscribe, but will instead send you an email to confirm that you actually want to subscribe to the newsletter. Your email address will not be added unless you click the link in the email you receive.

Note: The sender email address will be the email address on the "SMTP Server" settings page. You can change the sender address and even use a fictitious email address as previously explained. To change the sender address, look for the following line in the computer code you downloaded:

      -- from="noresponse@domain.com", -- You can change the default sender

Change the above line to:

      from="Your Name<your-address@your-domain>",

Posted in Tutorials Thursday, February 21th, 2013 by bd

How To Use Blog Editors

FuguHub version 5.0 includes a number of improvements, and one of the improvements is better support for the vast number of blog editors available. In this tutorial we show you how to configure Microsoft Word, the ScribeFire blog editor, and Microsoft Live Writer for use with the FuguHub's CMS/blog plugin. 

Using Microsoft Word as a Blog Editor

With FuguHub, you can configure programs such as the most popular Microsoft Word to become a blog editor with just some easy steps and having a blog account setup with the FuguHub server.

There are many types of blog editors, but what most people want is for blog editing to be more convenient. Most people usually have Microsoft office on their laptops or desktops. Bloggers would really like to know how to use Microsoft Office, specifically the Microsoft Word, as a blog editing tool and fortunately, it can be done by just following some easy steps:

Start by opening up Microsoft Word and create a new document. If you have MS Word 2007 or later you will need to select the create "new blog" under the document options panel.  This will open up the Microsoft word blog editor.

  1. Click the Word button
  2. Click publish
  3. Click blog
  4. The Microsoft Word Blog Editor opens

The next step is to actually connect the BarracudeDrive server with your Microsoft word blog editor.  To do this you simply click the "manage accounts" button.  You'll see a drop down menu. You'll want to click that, and scroll all the way down to "other". Select that.

The next thing that you want to do is to go ahead and select the "MetaWebLog" in the drop down menu next to the API setting.

Once you've done that, you'll want to go ahead and enter your server name using a secure URL.  You'll want to enter the URL for the blog that you are wanting to publish to.  So, if you are wanting to publish to your allaboutcats.com blog, you would simply ensure that URL into the text box located next to "blog post URL".


You'll see an area that says "enter account information".  This is the information that you can pull from the credentials that you configured when you set up your FuguHub CMS admin page.  It is important to realize that this is not the same set of credentials that you selected for your standard FuguHub credentials.  These are your specific CMS MetaWebLog credentials.  This is your login username and password for your blog.

The next step is to go ahead and click the tick box for "remember password".  This will allow you to login without having to reenter all of your credentials every single time.  It just makes things easier.

Click OK, and you can now make any edit within the word blog editor and it will be updated on your FuguHub CMS.

For example, if you want to go ahead and create your first post, you could do so now.

The first thing that you'll want to do is create the post title by selecting [enter post title here] within the word document and making the change.

You can then add the body of the post, add pictures, add links, and even add video.

With the FuguHub and Microsoft word you can quickly and easily publish your very own blog.

Using the ScribeFire Blog Editor

ScribeFire is a perfect solution for those who are facing difficulties in editing their blogs. ScribeFire is a quick and easy browser plug-in that is both convenient and powerful. People can post their articles directly to their blogs while surfing the internet. This article explains how to use the ScribeFire Blog Editor to run a blog. Follow these simple tips and you will be well on your way to publishing!

In order to start using ScribFire, users need to install this plug-in to their Firefox, Chrome or Safari browser.

To do this you will need to search for the ScribeFire plug-in via the web for installation on the browser. If you are looking for the Chrome version of the plug-in, then I recommend heading over to the Chrome store and checking there. For Firefox users, the plugin is easy enough to find simply by doing a quick Google search.

After adding the ScribeFire Plug-in to your browser, a Scribefire icon will appear in your toolbar through which bloggers can edit their blogs by posting articles directly through this plug-in. Once your ScribFire has been uploaded to your browser, it is very easy to access whenever you need to post. You can find the tool in your toolbar by pressing F8 or by clicking on the ScribFire icon that you will see on the right hand side of your toolbar. The image to the right shows the ScribeFire button when installed in the Chrome browser.

In order to post articles through Scribefire, users need to click the icon. A new tab will appear in the browser. In that new Tab, you will need to click "Add a New Blog". After clicking the "Add a New Blog" button, a window will be opened in the tab where bloggers will need to enter the URL of the blog and then they need to enter all of their user credentials. User credentials are simply the user ID and Password of your blog. Once that is done click "finish". 

  1. In ScribeFire, click the "Add a New Blog" link to bring up the new blog configuration dialogue.
  2. Enter your server domain name. We use realtimelogic.info in this example. You must use your own server IP/domain name.
  3. ScribeFire will pull in all required information from your FuguHub server when you click the Next button.
  4. Enter the user credentials you configured on the FuguHub CMS admin page. Note, this is not the same as your standard FuguHub credentials.
  5. Click Finish.

After clicking "Finish", the window will disappear. You will then be taken to the previous tab where you can edit your blog by entering the title of the article and creating the text for the body of the article.

After an article is entered with a user defined title, you will need to click "Publish Post". This is where the magic happens. Your article will be posted to your blog.

This process can be repeated as many times as you deem necessary to increase the traffic to your site.

There are many similar tools and plug-ins available on the internet that enhance the browser with advanced features to edit the blogs of different bloggers. With the help of ScribeFire, you will also be able to edit various files present in your blog, like pictures and video, and make edits to your HTML code.

This is perhaps the most effective tool for the busy blogger that serves as an exceptional feature of editing the blogs with advanced tools. This is an effective tool worth downloading. Anyone who is looking for an effective plug-in or an add-on for their blog, ScribeFire is a very good option.

Using Windows Live Writer

Today, there are many different ways to run a blog and many different software programs which help create, edit, and work with blogs easily. If you are wanting to create your own blog, but still have no idea how to actually create one, then take a look at this list of tips on how to use Windows Live Writer to run your blog .

Windows Live Writer is special software which helps you create and write various posts to your blog right from your desktop. This software has a simple and easy to use navigation.

To start running your blog successfully, it is necessary to download and install Windows Live Writer on your PC. This program consists of many different parts such as software for photos and movies, various messaging, e mails, blogging, etc. You can choose anything you need or just install a Writer. 

After the program is installed, you will be asked some questions about the software navigations like toolbar, messenger, etc. Choose the  features you will need while working and click the "OK" button.

Installing and Configuring Windows Live Writer

  1. Download Live Writer
  2. Start Live Writer
  3. Start the Weblog Account Wizard
  4. Choose "Another weblog service" on the "Choose Weblog Type" page
  5. Click the Next button
  6. Enter the URL: http://your-server-name/blog/
  7. Enter the exact same username and password as you have set on the CMS configuration page
  8. Click the next button

Live Writer will now automatically connect to your FuguHub blog. Live Writer will ask you if you want to download the styles from your blog. Select Yes. You should decide what template you want to use on your blog prior to downloading the style. You can at any time update the style in Live Writer.

The following video shows how easy it is to publish a blog with pictures. Live Writer allows you to drag and drop pictures into the editor. The editor automatically resizes the images to a size more suitable for your blog. By pressing the publish button, Live Writer automatically uploads all images you have in your blog entry to the FuguHub server.

After all setups are done, you can easily start blogging. You will see a small page that looks like a screenshot.
You may start by writing your post title and then add some posts.

There are three options in Windows Live Writer: "Edit", "Preview", and "Source". If you need to insert a few pictures, just go to "Insert Picture" and choose a few pictures from your computer.

After you enter the title, the text of your blog post, and finish adding some pictures, you can easily publish your post by clicking the "Publish" button.
By following these simple tips on how to use Windows Live Writer to Run a Blog , you will easily be able to run and manage your blog. Good luck and happy writing!

Edit the CMS Pages Using an External Blog Editor

You can also edit the CMS web pages using an external blog editor in addition to editing the blog. Do not submit as new blog post since this will cause the page to be on the top level and the page rank will be set to "hidden" e.g. -1. Instead, use the CMS page manager and create a blank page using the page manager. This is required in order to get the correct placement for the CMS page. You can then use a metaweblog compatible editor to modify your existing pages. Most blog editors let you edit existing blog entries in addition to creating new entries.

To edit existing CMS web pages, create a new blog connection, using your blog editor, to the following URL:

Posted in Tutorials Friday, April 13th, 2012

BarracudaDrive for the My Book Live NAS

FuguHub is now available for the My Book Live.

My Book Live is a relatively inexpensive Network Attached Storage (NAS) device from Western Digital. My Book Live is powered by Linux and anyone with some Linux experience can install additional applications for this device.

See the FuguHub My Book Live Page for more information.

Posted in News Monday, February 27th, 2012

Cheap Support

Here is a great tip if you have had problems with installing or configuring FuguHub. The web site fiverr.com is a place where people provide services for $5. You can find many services that will help you with any problem you have on your computer. A person will use Remote Desktop to remote into your computer for $5 per 1/2 hour or remote into your online server.

BTW, future versions of the Chrome browser will include Remote Desktop. Chrome calls this remoting and is available as Remote Desktop that enables a user to remote control another PC that runs Chrome. Google released the extension a few weeks ago and says that it is experimental at this time and that it is offered to collect user feedback. Think GoToMyPC, but free. Another great Remote Desktop product that is free for non commercial use is TeamViewer.

Posted in Tips and Tricks Wednesday, October 19th, 2011

Securely distribute large files via emails

FuguHub 4.6 includes many new features such as the new File Mailer, which makes it easy and secure to distribute files of any size to any number of contacts via regular email.

The File Mailer is a new product integrated with the FuguHub WebDAV and Web File Manager. Files of any size can be uploaded using WebDAV or the drag and drop box feature in the Web File Manager. These files can then be sent as attachments or links to individuals or to predefined lists. Files can be emailed to an unlimited amount of lists and each list can have an unlimited amount of contacts.

The File Mailer is built on top of the existing multi user Web File Manager. Users with access to the Web File Manager can email any file they have access to via the constraints set by the administrator. Users with access to the File Mailer Administrator Panel can also create and manage contact lists, manage mail jobs, view the download history, etc.

The File Mailer's intuitive web interface resembles a standard email client's graphical user interface and provides features such as auto completion on email addresses found in the contact database. Start typing and a list of possible email address matches are shown. Contacts are automatically added, if not already in the database. Large contact lists can be imported by dragging and dropping the contact list onto the File Mailer Web Interface.

The messages sent to contacts can be personalized by using macros. For example, a personal greeting message can be customized for each recipient.

The File Mailer tracks every file downloaded. The advanced history viewer gives you detailed download statistics such as: who downloaded the file, what time the file was downloaded, and from what location.

The File Mailer is designed to make distribution of sensitive material secure. The file links emailed to contacts can be set to require a secure connection i.e. a HTTPS connection. The links can also be set to require a password from the recipients before they are allowed to download the file. You can also set an expiration date on the distributed links. In addition, the distributed links can be invalidated at any time by terminating the mail job.

The File Mailer includes an optional batch job processing engine that makes it possible to customize the file downloaded for each recipient in the distribution list. Batch jobs may, for example, be used by software vendors to distribute software to their customers when they require a customized file for each contact in the database.

Tip: Convert a vCard file to a CSV file

The File Mailer accepts CSV files for importing contacts. Unfortunately, some address books such as the Mac Address Book does not export directly to CSV, but to the vCard format.

A simple solution to circumvent this problem is to import the vCard file into a Gmail account and then export the address book as a CSV file, which can then be imported by the File Mailer.

See the Gmail vCard import help for more information.

Image Preview

The Web File Manager now includes an image preview option that lets you preview JPEG images by moving the cursor over the image link. The server uses the integrated image processing library to automatically scale the image in real-time and present a preview version of the image in the browser. The preview option makes it easy and fast to view large images without having to download the full size image.

Free Upgrades

Existing customers can upgrade their FuguHub server to the new version. Windows and Mac users can download the installation program and run the installer to upgrade their FuguHub version. Linux users must download the tar file and manually upgrade the server.

Posted in News Wednesday, August 10th, 2011

How to Setup Your Own Remote Online BitTorrent Client

(Your Private DIY Seedbox Server)

One of the problems with using BitTorrent and P2P is that it consumes a considerable amount of your Internet connection's bandwidth. Most broadband users have limited upload speed that also affects their download speed since P2P is all about sharing equally. This means that you, in general, are not allowed to download more than you can upload to other peers.

One way to get around this problem, and other problems associated with P2P, is to run the BitTorrent client on an online server hard drive. An online BitTorrent client works similar to a BitTorrent client installed on your own computer, but it is not limited by your broadband speed. You will therefore notice a huge increase in download speed when using an online server as a BitTorrent client.

Downloading files using an online server is a two step process. The first step is to have the online server’s BitTorrent client software download the files to the online server hard drive. The seconds step is to download the files, from the online server hard drive, to your own computer.

One of the benefits of having an online server act as a BitTorrent client is that you can share the server with your friends to reduce cost. As an example, assuming you share a server with 10 friends, the monthly cost would only be 50 Cents per person (assuming a monthly online server cost of $5 which would typically provide you with up to about 1,000Gigabytes of transfer a month for the BitTorrent client).

How to Install the Online BitTorrent Client

FuguHub is a product that lets non technical users setup and operate their own secure file sharing site, on their own computer, or on an online Cloud Server.

The FuguHub Cloud Server Software includes a BitTorrent client component. This component, referred to as a plugin, provides security protection and is managed by the FuguHub Cloud Server Software.

The first step is to install the FuguHub Cloud Server Software. This step is very easy, just visit the FuguHub cloud page and follow the instructions for how to use the automated installer. Note: make sure you select the automated installer and make sure you select the BitTorrent plugin option when configuring the online installer. It is also very important that you do not forget the password you select for the server software!!!

How to Configure the BitTorrent Client

You can start using the BitTorrent client as soon as you have completed the FuguHub Cloud Server Software installation.

The BitTorrent client software, which is a separate computer program, is managed by the FuguHub server's BitTorrent plugin. After you have installed the FuguHub Cloud Server Software, navigate to URL, http://ip-address/transmission/ using a browser. Note: The "ip-address" is the IP address that was assigned to your online server.

After you navigate to the above URL and after the initial configuration, you should then see the following in your browser window:

At this point, do not start the Transmission BitTorrent client. The speed settings are not initially optimized for online use, thus we should increase the speed settings before actually starting the Transmission BitTorrent client.

To increase the speed settings click on the speed tab which will then display the following:

The online server that you lease from the service provider will be running continually 24/7/365. It is probably adequate that you increase the default values to around 500 KB/s as we have done above. Recognize that an inexpensive online server, as described above, will have roughly a 1,000Gigabytes of monthly bandwidth limit on the online server hardware. You will therefore need to save some of the bandwidth for your own downloads -- i.e. when you download files to your own computer from the online server. It is probably a good idea to use less than 500Gigabytes of transfer a month for the BitTorrent client, leaving a remaining 500Gigabytes of transfer to your own computer and your friends computers.

You should also click on the Network tab and disable the use of UPnP, which is not needed for an online server directly connected to the Internet.

After you have completed all of the above procedures, then click on the "Torrents" tab and then click on Start Transmission to start the BitTorrent client.

The text underneath the "Start Transmission" button will change to a link when the Tranmsission BitTorrent Client is running, and will then look like:

How to Use the BitTorrent Client

We have described above starting the Transmission BitTorrent client after initial configuration. At any other time you would simply click the Transmission link in FuguHub or navigate directly to http://ip-address/transmission/. Note: The "ip-address" is the IP address that was assigned to your online server.

The Transmission BitTorrent client is a separate application, but is run and managed by the FuguHub's Transmission plugin. This means that security is managed by FuguHub and not by the Transmission client. You login to your FuguHub server to access the Transmission web interface.

The following image shows a partial view of the Transmission BitTorrent client's web user interface when the "open" button has been clicked.

Torrent files are typically provided online on various sites as a URL. The Transmission BitTorrent client downloads the actual data from the P2P network by using the information in the torrent file. Copy the URL of the torrent file you wish to download, and paste it into the field shown in the above image (Or enter a URL). (The "Browse" button is of no use since you do not have any torrents stored on your online server.) Click the "Upload" button to have the BitTorrent client start the actual download.

Using the watch directory:

The watch directory is typically used if you have a torrent file on your own computer or if you want to start many torrent downloads simultaneously. Any torrent file copied to the online server’s watch directory, from your own computer, is automatically downloaded by the Transmission BitTorrent client.

The following image shows how the download and watch directory look when using FuguHub's integrated Web-File-Manager. The download directory contains the actual file downloaded by the BitTorrent client.

You can either use the drag-and-drop feature of the Web-file-Manager to upload many torrent files from your own computer to the online server’s watch directory or you can map the online FuguHub server as a disk by using FuguHub's WebDAV server. More information on using the file server capabilities is provided in the FuguHub video tutorials.

Downloading files to your own computer:

The download directory shown in the above image is where the Transmission BitTorrent client saves all data download to the online server. Once the data has been completely downloaded to the online server, you may then copy this data to your own computer. Navigate to this directory, as shown in the above picture, by using the FuguHub's Web file Manager or map the directory as a disk by using the FuguHub's WebDAV server. You can download files by using the Web file Manager in a browser or by using your computers file browser. Note: The FuguHub's WebDAV server makes it easy to securely share data between many users.

Setting Up Multiple Users (Advanced Use)

One of the benefits of the FuguHub file server is that you can give other users limited access to the server. How to setup access control lists are explained in the integrated FuguHub user manual. You can for example create a role such as btdownload and btwatch. The btdownload role is for users that should have access to the download directory, and btwatch is for users that should have access to initiate new torrent downloads. You would also create two "file server constraints", btdownload and btwatch. The btdownload constraint should have the path /torrent/download/* and the btwatch constraint should have the path torrent/watch/*

You can also give users access to the Transmission Web Interface by creating a new role called "transmission". Any user in the "transmission" role has access to the Transmission Web Interface and is allowed to manage the Transmission BitTorrent client.

Another solution is to give all users "superuser" privileges and give them full access to the server.


If you are concerned about security, make sure you always visit your online FuguHub Cloud Server Software using a URL that starts with https://. The data will be encrypted when using a secure URL and it will not be possible for anyone to eavesdrop on your data transfer. Note: You will get a warning when using a secure URL since you do not have a valid certificate. You can ignore this warning and safely proceed. You must purchase a SSL certificate if you do not wish to see the warning.

A valid SSL certificate for your domain name removes the invalid certificate warning that otherwise appears when connecting to your online server using a secure connection. Remember, you cannot purchase a SSL certificate if you do not own a domain name.

Mapping a secure drive:

Note: The integrated Windows WebDAV client cannot manage secure connections (https://) and you must use one of the alternatives as explained on this page if you plan on mapping the online server as a secure drive. You can always use the browser and the Web file Manager as a backup if you do not have access to a secure WebDAV client.


Please note: We do not endorse illegal downloads. P2P is a very good medium for sharing legitimate files. Use BitTorrent wisely and make sure you do not download copyrighted material.

Posted in Tips and Tricks Wednesday, November 24th, 2010

BarracudaDrive 4.4

FuguHub 4.4 includes many new features such as uploading files by dragging and dropping files directly into your browser. The Content Management System now includes a new file server that is specifically designed for creating photo albums by automatically scaling your uploaded photos and creating thumb images for the uploaded photos. The video below gives a brief introduction to how this all works.

In addition to many new features, existing features have been improved. The file server can now manage files larger than 4 GBytes. We have also redesigned the administrator panel and made the application compatible with older browsers that do not support JavaScript. The bulletin board is updated and now works in all major browsers. We have also performed a number of smaller bug fixes and improvements.

Drag and drop file upload video

Photo Albums

The photo album below is powered by the FuguHub Content Management System. Click on the first image to open the slide show. The slide show gives you a quick introduction on how to create your own photo album(s). Each image contains a short description at the end. The text is also shown if you move your mouse over the thumb images below.

Did you know that this blog is powered by the FuguHub Content Management System? We run the FuguHub server on a small 5 watt computer called the SheevaPlug. See the following blog if you are interested in learning more.

Posted in News Tuesday, May 04th, 2010

BarracudaDrive for Marvell's SheevaPlug

Note: Installing FuguHub on a SheevaPlug requires Linux experience. We suggest that you contact your local Linux user group if you do not have the required Linux skills. You can attend one of their meetings and have an experienced Linux user help you with the installation.

The SheevaPlug is about the size of a typical wall power converter, yet it is a full Linux-powered computer running on a 1.2GHz ARM processor.

A SheevaPlug can be purchased via plugcomputer.org.

  • Purchase one of the SheevaPlug versions such as the original SheevaPlug or the new GuruPlug.
  • Connect the plug computer to your local network.
  • Navigate to the web server interface in your router and locate the page listing the DHCP clients.
  • The plug computer's IP address will show up in this list some time after the plug computer is powered on. You may have to press the browser's refresh button a few times.
  • Install a SSH client such as Putty on your computer.
  • Login to the plug computer by using the SSH client. Enter the plug computer's IP address you got from your routers DHCP listing.
  • The plug computer's default username is root and the password is nosoup4u.
  • Follow the FuguHub installation guide at the plug computer wiki.

Did you know that our online domains realtimelogic.com, barracudaserver.com, sharkssl.com, and barracudadrive.net are all hosted on the same SheevaPlug?.

Posted in News Tuesday, September 01th, 2009

FuguHub for Debian

The Debian and Ubuntu release is designed for institutions such as schools and universities which typically require a high number of concurrent users. The included FuguHub Ubuntu startup script configures FuguHub to allow up to 200,000 simultaneous socket connections,sufficient for most high end users.

The Ubuntu release is designed for experienced Linux administrators. You must have root access in order to install FuguHub as a UNIX daemon.

Automatic Installation or Upgrade:

wget FuguHub.com/install/FuguHub.linux.install;chmod +x FuguHub.linux.install;sudo ./FuguHub.linux.install

Manual Installation Instructions:

  • Download FuguHub for x86 32-bit or FuguHub for x86 64-bit
  • Unpack the tar file in a temporary location and read the readme file
  • Install FuguHub as a daemon as explained in the readme file
  • Start a browser and navigate to http://address-to-server/setup/

Posted in News Saturday, August 15th, 2009