<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>RootBSD blog &#187; apps</title>
	<atom:link href="http://www.rootbsd.net/blog/category/apps/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rootbsd.net/blog</link>
	<description>Our FreeBSD Hosting Discussion</description>
	<lastBuildDate>Thu, 26 Aug 2010 18:46:52 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>FreeBSD in Firefox 3</title>
		<link>http://www.rootbsd.net/blog/2008/freebsd-in-firefox-3/</link>
		<comments>http://www.rootbsd.net/blog/2008/freebsd-in-firefox-3/#comments</comments>
		<pubDate>Thu, 17 Jul 2008 03:44:29 +0000</pubDate>
		<dc:creator>casey</dc:creator>
				<category><![CDATA[apps]]></category>
		<category><![CDATA[firefox 2]]></category>
		<category><![CDATA[freebsd]]></category>

		<guid isPermaLink="false">http://www.rootbsd.net/blog/?p=30</guid>
		<description><![CDATA[On 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 [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.rootbsd.net/blog/wp-content/uploads/2008/07/firefox.jpg"><img class="alignright size-full wp-image-31" src="http://www.rootbsd.net/blog/wp-content/uploads/2008/07/firefox.jpg" alt="Firefox Logo" width="150" height="142" /></a>On June 18, the Mozilla Foundation broke the <a href="http://www.spreadfirefox.com/en-US/worldrecord">Guinness World Record</a> 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.</p>
<p>One notable improvement features the memory allocator &#8220;jemalloc,&#8221; 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&#8217; contribution proved particularly significant.  According to Firefox developer <a href="http://blog.pavlov.net/2008/03/11/firefox-3-memory-usage/">Stuart Parmenter</a>, their tests of the browser on Windows Vista showed a 22% drop in memory usage once they turned on &#8220;jemalloc.&#8221;</p>
<p>Another FreeBSD technology utilized in the Firefox upgrade was the &#8220;bsdiff&#8221; 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&#8211;Internet Systems Consortium operates one of Mozilla&#8217;s download mirrors, powered by FreeBSD 7.  During Mozilla&#8217;s record-breaking 24 hours of downloading, the server withstood rates of a gigabit per second.  ISC <a href="http://www.prweb.com/releases/2008/6/prweb1042664.htm">referred to FreeBSD</a> as &#8220;a rock solid platform.&#8221;</p>
<p>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: &#8220;jemalloc&#8221; 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.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rootbsd.net/blog/2008/freebsd-in-firefox-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenCart &#8211; powering eCommerce shops</title>
		<link>http://www.rootbsd.net/blog/2008/opencart-powering-ecommerce-shops/</link>
		<comments>http://www.rootbsd.net/blog/2008/opencart-powering-ecommerce-shops/#comments</comments>
		<pubDate>Wed, 09 Jul 2008 15:00:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[apps]]></category>
		<category><![CDATA[ecommerce]]></category>
		<category><![CDATA[opencart]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.rootbsd.net/blog/?p=27</guid>
		<description><![CDATA[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.  [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.opencart.com/" target="_blank">OpenCart</a> 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.</p>
<p>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&#8217;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.</p>
<p>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.</p>
<p>OpenCart is still a young project, currently at version 0.7.7 which was released October 9, 2007.  The <a href="http://www.opencart.com/documentation" target="_blank">User Manual</a> 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.</p>
<p>Find out more at OpenCart’s website (<a href="http://www.opencart.com/" target="_blank">http://www.opencart.com/</a>).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rootbsd.net/blog/2008/opencart-powering-ecommerce-shops/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ports and Packages</title>
		<link>http://www.rootbsd.net/blog/2008/ports-and-packages/</link>
		<comments>http://www.rootbsd.net/blog/2008/ports-and-packages/#comments</comments>
		<pubDate>Mon, 07 Jul 2008 15:31:31 +0000</pubDate>
		<dc:creator>chrisp</dc:creator>
				<category><![CDATA[apps]]></category>
		<category><![CDATA[compiling]]></category>
		<category><![CDATA[installing]]></category>
		<category><![CDATA[packages]]></category>
		<category><![CDATA[ports]]></category>
		<category><![CDATA[source]]></category>

		<guid isPermaLink="false">http://www.rootbsd.net/blog/?p=26</guid>
		<description><![CDATA[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 [...]]]></description>
			<content:encoded><![CDATA[<p>All of our<a href="http://www.rootbsd.net/virtual-hosting/" target="_blank"> FreeBSD VPS</a> 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.</p>
<p>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.</p>
<p>When you install a port from the ports tree, you are basically running an &#8216;autorun&#8217; 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.</p>
<p>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.</p>
<p>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!</p>
<p>For more information see the FreeBSD Handbook:</p>
<ul>
<li><a href="http://www.freebsd.org/doc/en/books/handbook/ports.html" target="_blank">Chapter 4 Installing Applications</a>: Packages and Ports</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.rootbsd.net/blog/2008/ports-and-packages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Streaming Music with Icecast and Musicpd</title>
		<link>http://www.rootbsd.net/blog/2008/14/</link>
		<comments>http://www.rootbsd.net/blog/2008/14/#comments</comments>
		<pubDate>Thu, 03 Jan 2008 20:22:24 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[apps]]></category>
		<category><![CDATA[rootbsd]]></category>

		<guid isPermaLink="false">http://www.rootbsd.net/blog/uncategorized/14/</guid>
		<description><![CDATA[Streaming music on FreeBSD can be very easy with the right applications. I will be outlining how to stream music using the Music Player Daemon and Icecast.
Unfortunately for some reason the Music Player Daemon (mpd henceforth) is set up to not compile with support for libshout which is needed for it to play with Icecast. [...]]]></description>
			<content:encoded><![CDATA[<p>Streaming music on FreeBSD can be very easy with the right applications. I will be outlining how to stream music using the <a href="http://musicpd.org/" target="_blank">Music Player Daemon</a> and <a href="http://www.icecast.org/" target="_blank">Icecast</a>.</p>
<p>Unfortunately for some reason the Music Player Daemon (mpd henceforth) is set up to not compile with support for libshout which is needed for it to play with Icecast. Luckily as long as you have libshout (/usr/ports/audio/libshout) installed getting mpd to install with support for it is fairly simple. Navigate to /usr/ports/audio/musicpd and open up the Makefile in your favorite editor. Somewhere around line 40 should be a line that reads &#8216;CONFIGURE_ARGS= &#8211;disable-shout&#8217;, change this to read &#8216;CONFIGURE_ARGS= &#8211;enable-shout&#8217; and it should compile just fine. Why this option is explicately disabled I do not know but hopefully it will be fixed in the near future. If you go poking around in the Makefile and aren&#8217;t able to fine the line to change they may have already fixed it.</p>
<p>Anyway, install musicpd now followed by Icecast (/usr/ports/audio/icecast2). I also installed phpMp, a web interface for mpd to manage the stream and playlists. It can be found in /usr/ports/www/phpmp. After everything is installed go to /usr/local/etc/ to do the configuring. Along with this post are two example configuration files, mpd.cond and icecast.xml for their respective applications. In my mpd.conf I have created a user to place all the required files under. If you use the web interface this users home directory will really only have a database file used by mpd in it along with a log. If you wanted you could create a public_html for the user and run phpMp out of it. In the configuration file for mpd you will need to update the paths if they are different, the stream name if you so desire, and connection information for Icecast (host, port, password). The password and other connection details you choose should be specified the same in icecast.conf. Working from the top down in icecast.xml you should first change/specify the source and relay passwords under authentication (the one used for mpd should also be used here), the administrative username and password, the hostname for the server, and the port to run on. Unless you need to change logging information the rest should be alright.</p>
<p>Edit /etc/rc.conf and add the lines &#8216;icecast_enable=&#8221;YES&#8221;&#8216; and &#8216;musicpd_enable=&#8221;YES&#8221;&#8216;. Then do &#8216;/usr/local/etc/rc.d/icecast start&#8217; followed by &#8216;/usr/local/etc/rc.d/musicpd start&#8217;. If Icecast started correctly you should be able to load the status page at http://hostname:portnumber. Once you have verified that Icecast is running correctly test mpd by executing &#8216;mpc add &lt;some&gt;&#8217; and then loading /stream.ogg from Icecast. If you can hear the music playing then congratulations, you have properly set up Icecast and musicpd.<a href="http://www.rootbsd.net/blog/wp-content/uploads/2008/01/mpd.conf" title="Musicpd Configuration">Musicpd Configuration</a><br />
<a href="http://www.rootbsd.net/blog/wp-content/uploads/2008/01/icecast.xml" title="Icecast Configuration">Icecast Configuration</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rootbsd.net/blog/2008/14/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
