Category Archives: Apps

Administering FreeBSD Using Webmin

Date published: August 17th, 2011
Posted in Apps, FreeBSD | 2 Comments »

by: Diego Montalvo

Since I began using FreeBSD 4.x, I quickly learned of Webmin, a web-based server administration tool, which allows administrators to manage everything from: Mysql, Apache, Sendmail, system processes, networking and much more. One of the coolest features of Webmin is it’s modular structure. Modules can easily be downloaded and installed to fit your specific server needs. In this quick tutorial you will learn how to install and use Webmin.

Even though Webmin will not fully replace SSH or physical access to your server. Webmin will allow you as the admin to manage and perform the most common server tasks easily via a web browser. Happy Webmin-ing!

FreeBSD in Firefox 3

Date published: July 16th, 2008
Posted in Apps | No Comments »

Firefox LogoOn June 18, the Mozilla Foundation broke the Guinness World Record for most software downloads in one day when over 8 million people downloaded Firefox 3, the latest version of the popular web browser. What many Firefox users may not have realized is that with the update they acquired a number of new technologies adopted from the FreeBSD project.

One notable improvement features the memory allocator “jemalloc,” developed by FreeBSD guru Jason Evans. Firefox version 2 was known as something of a memory hog, and the update improves upon this greatly with upgrades such as a new rendering engine, but Evans’ contribution proved particularly significant. According to Firefox developer Stuart Parmenter, their tests of the browser on Windows Vista showed a 22% drop in memory usage once they turned on “jemalloc.”

Another FreeBSD technology utilized in the Firefox upgrade was the “bsdiff” binary patch system, which allows for reduced software update sizes and faster downloads for end users. In addition, the delivery of the Firefox software relied on FreeBSD as well–Internet Systems Consortium operates one of Mozilla’s download mirrors, powered by FreeBSD 7. During Mozilla’s record-breaking 24 hours of downloading, the server withstood rates of a gigabit per second. ISC referred to FreeBSD as “a rock solid platform.”

Of course, FreeBSD has a long history of being used inside other open-source projects, and this is just one example of the improvements that it can make. And just think: “jemalloc” is already a part of FreeBSD 7. If it can improve the performance of a web browser so drastically, then imagine the potential effect on an entire operating system.

OpenCart – powering eCommerce shops

Date published: July 9th, 2008
Posted in Apps | No Comments »

OpenCart is a freely available PHP-based shopping cart system for online merchants. By downloading and installing it you can be ready to sell through your website in no time at all. The program requires Apache, PHP 5 and a MySQL database, though there’s an older version available for those of you with PHP 4. Really though, everyone should be working on migrating to PHP 5 if they have not already since support for PHP4 has officially ended.

The installation is as simple as download, extract to your local drive, upload to a directory on your web server and check the permissions. Certain directories you’ll need to give write access to by your Apache user, chmod 777 on those directories is often the quickest way. You’ll need to create a database for it to use if you haven’t done so already as well as a user for the program to access the Db with. Once that’s complete you can browse to the install location and begin the web-based configuration. It’s a quick 4-step process and that’s it. When you’ve successfully completed that you can delete the /install directory within the program directory and you’re all set.

As with many PHP programs, OpenCart saves settings in a config.php file in the main installation directory in case you need to edit them from the command line. There is also another config.php in the admin directory for your backend settings.

OpenCart is still a young project, currently at version 0.7.7 which was released October 9, 2007.  The User Manual isn’t quite complete yet but it is enough to get you through the install and setup. Once that’s complete you can log into the Admin section and look at store statistics, the latest orders and the latest product reviews. There’s also a full input system for adding items to your catalog. The store uses templates so it can maintain the look and feel of your entire website. It has also been ported to over 20 languages, supports multiple shipping and payment methods and has additional add-ons for extended capabilities. OpenCart is designed to be a full-featured, search engine friendly, easy-to-use Ecommerce interface for buyers and sellers.

Find out more at OpenCart’s website (http://www.opencart.com/).

Ports and Packages

Date published: July 7th, 2008
Posted in Apps | No Comments »

All of our FreeBSD VPS services come with the ports tree pre-installed. These are third-party applications that have been adapted to be used in FreeBSD. They cover an extremely diverse range of functions including accessibility, graphics, multimedia, networking operations, browsing, science and engineering and more.

This means that if you want to do something specific in FreeBSD you probably won’t need to do much work in order to get those functions and features. Depending on your level of familiarity with programming and FreeBSD you can choose how to install these programs. If you’re more tech-savvy and know your way around major programming languages then you might be interested in installing the source code for the programs, either from the ports tree or by installing it on your own separate from the ports tree.

When you install a port from the ports tree, you are basically running an ‘autorun’ type script that will download the source code of the program, compile, and install it locally. If you’re not familiar with a Makefile and compiling source code into binaries then you may be more interested in the Packages collection which allows you to directly install the binaries (executables) and not worry about doing the compiling and installation process. The collections allow you to directly install the applications from local media or directly from the network so you don’t need to worry about storing everything locally if you don’t need it.

The major benefits to installing from Packages include: smaller download, faster installation, no need to compile. The major benefits for installing from the Ports collections include: ability to tweak the performance and options of the applications and able to build-in specific functions that might not be activated in a pre-compiled binary.

Finally, both Ports and Packages are dependency aware which means they know what they need to function properly and can tell you or install the libraries as they need. This means that you should almost always be able to get up and running with the new applications in no time flat. Good Luck!

For more information see the FreeBSD Handbook: