<?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>HowToBSD &#187; Software</title>
	<atom:link href="http://howtobsd.com/cat/software/feed" rel="self" type="application/rss+xml" />
	<link>http://howtobsd.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Tue, 11 Feb 2014 11:21:33 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>subsystem request for sftp</title>
		<link>http://howtobsd.com/solutions/sftp_reques.html</link>
		<comments>http://howtobsd.com/solutions/sftp_reques.html#comments</comments>
		<pubDate>Wed, 28 Nov 2012 14:41:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Solutions]]></category>
		<category><![CDATA[problems & solutions]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://howtobsd.com/?p=537</guid>
		<description><![CDATA[When I try to connect by FileZilla to server I get error: Nov 28 08:25:51 server01 sshd[19577]: Accepted password for root from 77.120.137.175 port 55070 ssh2 Nov 28 08:25:51 server01 sshd[19577]: subsystem request for sftp Nov 28 08:25:51 server01 sshd[19577]: error: subsystem: cannot stat /usr/libexec/sftp-server: No such file or directory Nov 28 08:25:51 server01 sshd[19577]: [...]]]></description>
				<content:encoded><![CDATA[<p>When I try to connect by FileZilla to server I get error:<br />
<code>Nov 28 08:25:51 server01 sshd[19577]: Accepted password for root from 77.120.137.175 port 55070 ssh2<br />
Nov 28 08:25:51 server01 sshd[19577]: subsystem request for sftp<br />
Nov 28 08:25:51 server01 sshd[19577]: error: subsystem: cannot stat /usr/libexec/sftp-server: No such file or directory<br />
Nov 28 08:25:51 server01 sshd[19577]: subsystem request for sftp failed, subsystem not found</code><br />
But it is fine to connect via usual ssh connection.</p>
<p>This is easy to fix by creating symbolic link to correct place.<br />
Please find this by locate command :<br />
<code><br />
root@server01 ~]# locate sftp-server<br />
/usr/libexec/openssh/sftp-server<br />
</code></p>
<p>and them make link:<br />
<code><br />
ln -s /usr/libexec/openssh/sftp-server /usr/libexec/sftp-server<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://howtobsd.com/solutions/sftp_reques.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installation Redmine on FreeBSD</title>
		<link>http://howtobsd.com/software/redmine-on-freebsd.html</link>
		<comments>http://howtobsd.com/software/redmine-on-freebsd.html#comments</comments>
		<pubDate>Sat, 22 Oct 2011 15:32:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[problems & solutions]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[www]]></category>

		<guid isPermaLink="false">http://howtobsd.com/?p=500</guid>
		<description><![CDATA[Perhaps you know redmine ported in FreeBSD and first of all I tried to install it: #cd /usr/ports/www/redmine ===> redmine-1.2.1_1 is marked as broken: Does not work with RubyGems 1.8. *** Error code 1 Stop in /usr/ports/www/redmine. Sure. You wouldn&#8217;t read this post if process had been done successfully Maintainer of this port marked this [...]]]></description>
				<content:encoded><![CDATA[<p>Perhaps you know redmine ported in FreeBSD and first of all I tried to install it:</p>
<p><code>#cd /usr/ports/www/redmine<br />
===>  redmine-1.2.1_1 is marked as broken: Does not work with RubyGems 1.8.<br />
*** Error code 1</p>
<p>Stop in /usr/ports/www/redmine.</code></p>
<p>Sure. You wouldn&#8217;t read this post if process had been done successfully <img src='http://howtobsd.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
Maintainer of this port marked this port as broken because of bug in Gem 1.8.</p>
<p>As result we have to install it manually. Hopefully we have official <a href="http://www.redmine.org/projects/redmine/wiki/RedmineInstall">installation guide</a>.</p>
<p>I came across with some problems during installation. So, this post will be a guide adapted for FreeBSD with some errors and solutions.<br />
Hope it will be useful. It seems as long process, but really easy. Let&#8217;s start.</p>
<p><strong>1) Get Redmine (I used svn for it):</strong></p>
<p><code>#svn co http://redmine.rubyforge.org/svn/branches/1.2-stable redmine-1.2</code></p>
<p><strong>2) Create database:</strong><br />
<code>mysql -uuser -ppasword<br />
mysql> create database redmine character set utf8;<br />
mysql> create user 'redmine'@'localhost' identified by 'passforuser';<br />
mysql> grant all privileges on redmine.* to 'redmine'@'localhost';<br />
mysql>exit;</code><br />
<strong><br />
3) Database configuration (copy from config/database.yml.example). config/database.yml:</strong><br />
<code>production:<br />
  adapter: mysql<br />
  database: redmine<br />
  host: localhost<br />
  username: redmine<br />
  password: passforuser</code></p>
<p><strong>4)Generate a session store secret.</strong><br />
<code>#rake generate_session_store<br />
Missing the i18n 0.4.2 gem. Please `gem install -v=0.4.2 i18n`</code></p>
<p>At this place started problems. Don&#8217;t worry. Just do thing redmine suggests. </p>
<p><code>#gem install -v=0.4.2 i18n<br />
Fetching: i18n-0.4.2.gem (100%)<br />
Successfully installed i18n-0.4.2<br />
1 gem installed<br />
Installing ri documentation for i18n-0.4.2...<br />
Installing RDoc documentation for i18n-0.4.2...</code></p>
<p>trying again:</p>
<p><code>#rake generate_session_store<br />
Missing the Rails 2.3.11 gem. Please `gem install -v=2.3.11 rails`, update your RAILS_GEM_VERSION setting in config/environment.rb for the Rails version you do have installed, or comment out RAILS_GEM_VERSION to use the latest version installed.</code></p>
<p>I tried update  RAILS_GEM_VERSION (on 3.0.5) but Redmine doesn&#8217;t work with 3.0.5 yet, so:</p>
<p><code># gem install -v=2.3.11 rails</code></p>
<p>then again:<br />
<code># rake generate_session_store<br />
rake/rdoctask is deprecated.  Use rdoc/task instead (in RDoc 2.4.2+)<br />
WARNING: 'task :t, arg, :needs => [deps]' is deprecated.  Please use 'task :t, [args] => [deps]' instead.<br />
    at /vol1/www/www.slim/httdocs/redmine/redmine-1.2/lib/tasks/email.rake:170</code></p>
<p>Googled the problem and found out it connected with rake version (need to downgrade):</p>
<p><code># gem install -v=0.8.7 rake<br />
Fetching: rake-0.8.7.gem (100%)<br />
Successfully installed rake-0.8.7<br />
1 gem installed<br />
Installing ri documentation for rake-0.8.7...<br />
Installing RDoc documentation for rake-0.8.7...</code></p>
<p><code># gem uninstall -v=0.9.2 rake<br />
Successfully uninstalled rake-0.9.2</code></p>
<p>finally it done:<br />
<code># rake generate_session_store<br />
(in /vol1/www/www.slim/httdocs/redmine/redmine-1.2)</code></p>
<p><strong>5) Database migration:</strong><br />
<code># rake db:migrate RAILS_ENV=production<br />
(in /vol1/www/www.slim/httdocs/redmine/redmine-1.2)<br />
rake aborted!<br />
syntax error on line 8, col 2: `  encoding: utf8'</p>
<p>(See full trace by running task with --trace)</code></p>
<p>Problem was &#8211; I missed space in config/database.yml before the password.</p>
<p><code># rake db:migrate RAILS_ENV=production<br />
(in /vol1/www/www.slim/httdocs/redmine/redmine-1.2)<br />
!!! The bundled mysql.rb driver has been removed from Rails 2.2. Please install the mysql gem and try again: gem install mysql.<br />
rake aborted!<br />
no such file to load -- mysql</code></p>
<p>installing gem mysql:<br />
<code>howtobsd# gem install mysql</code></p>
<p>and then:<br />
<code>howtobsd# rake db:migrate RAILS_ENV=production</code></p>
<p>db migration done!</p>
<p><strong>6) Load default data (recommended):</strong><br />
<code># rake redmine:load_default_data  RAILS_ENV=production<br />
(in /vol1/www/www.slim/httdocs/redmine/redmine-1.2)</p>
<p>Select language: bg, bs, ca, cs, da, de, el, en, en-GB, es, eu, fa, fi, fr, gl, he, hr, hu, id, it, ja, ko, lt, lv, mk, mn, nl, no, pl, pt, pt-BR, ro, ru, sk, sl, sr, sr-YU, sv, th, tr, uk, vi, zh, zh-TW [en]</code></p>
<p>Choose language and moving ahead. </p>
<p><strong>7)According to manual set permissions (create required folders if it doesn&#8217;t exist):</strong></p>
<p><code>chown -R username:username files log tmp public/plugin_assets<br />
chmod -R 755 files log tmp public/plugin_assets</code></p>
<p><strong>8) Test installation:</strong><br />
<code>#ruby script/server webrick -e production<br />
=> Booting WEBrick<br />
=> Rails 2.3.11 application starting on http://0.0.0.0:3000</p>
<p>now you can enter in your browser http://localhost:3000</code></p>
<p>    *  login: admin<br />
    * password: admin</p>
<p>Great! It is works!</p>
<p><strong>9) We only need to configure Apache for redmine.</strong><br />
It is described in my article <a href="software/installing-ruby-on-rails-on-freebsd.html"> &#8220;Installing Ruby on Rails on FreeBSD&#8221;</a> with differences in httpd.conf for new versions.<br />
Now for me it:<br />
<code>LoadModule passenger_module /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.5/ext/apache2/mod_passenger.so<br />
PassengerRoot /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.5<br />
PassengerRuby /usr/local/bin/ruby18</code></p>
<p><strong>10)My example of virtual host for redmine:</strong><br />
<code>&lt;VirtualHost *:80&gt;<br />
        ServerName my-projects.com<br />
        DocumentRoot /vol1/www/www.slim/httdocs/redmine/redmine-1.2/public/<br />
        RailsEnv production<br />
        ErrorLog /vol1/www/www.slim/httdocs/redmine/redmine-1.2/log/httpd.log<br />
&lt;/VirtualHost&gt;</code></p>
<p>That&#8217;s all!</p>
]]></content:encoded>
			<wfw:commentRss>http://howtobsd.com/software/redmine-on-freebsd.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How to mount iso image in FreeBSD</title>
		<link>http://howtobsd.com/software/how-to-mount-iso-image-in-freebsd.html</link>
		<comments>http://howtobsd.com/software/how-to-mount-iso-image-in-freebsd.html#comments</comments>
		<pubDate>Mon, 03 Oct 2011 12:19:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[hdd]]></category>
		<category><![CDATA[mount]]></category>
		<category><![CDATA[virtualization]]></category>

		<guid isPermaLink="false">http://howtobsd.com/?p=487</guid>
		<description><![CDATA[It is very actual question &#8220;mount iso in freebsd&#8220;. However mounting of iso is very easy. Let&#8217;s make sure it: Firstly we need to make virtual device for our iso image (use mdconfig for it): howtobsd# mdconfig -a -f /path_to_iso/Mac_OS_X.iso md0 md0 (command return) &#8211; it is name of virtual device (should appear in /dev/md0). [...]]]></description>
				<content:encoded><![CDATA[<p>It is very actual question &#8220;<strong>mount iso in freebsd</strong>&#8220;. However mounting of iso is very easy. Let&#8217;s make sure it:</p>
<p>Firstly we need to make virtual device for our iso image (use mdconfig for it):<br />
<code>howtobsd# mdconfig -a -f /path_to_iso/Mac_OS_X.iso<br />
md0</code></p>
<p>md0 (command return) &#8211; it is name of virtual device (should appear in /dev/md0).<br />
you can check if it appeared in /dev:<br />
<code>howtobsd# ls /dev/ | grep md0<br />
md0</code></p>
<p>And now we just need to mount virtual device:</p>
<p><code>howtobsd# mount_cd9660 /dev/md0 /cdrom</code></p>
<p>That&#8217;s all, your iso image available in /cdrom directory.</p>
<p>If you need to unmount and delete virtual device, do following commands:<br />
<code>howtobsd# umount  /cdrom<br />
mdconfig -d -u md0</code></p>
]]></content:encoded>
			<wfw:commentRss>http://howtobsd.com/software/how-to-mount-iso-image-in-freebsd.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>mysqldump on FreeBSD</title>
		<link>http://howtobsd.com/software/mysqldump-on-freebsd.html</link>
		<comments>http://howtobsd.com/software/mysqldump-on-freebsd.html#comments</comments>
		<pubDate>Tue, 05 Jul 2011 16:32:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://howtobsd.com/?p=400</guid>
		<description><![CDATA[Just a few notes about mysqldump. Create dump of mysql base: # mysqldump -uDBUSER -pPASSWORD DBNAME > filename.sql or # mysqldump --user=username --password=password DBNAME > filename.sql if you need to make dump of a few databases you can use parametr -B (or –databases): mysqldump -uDBUSER -pPASSWORD -B DBNAME1 DBNAME2 > filename.sql Make dump of the [...]]]></description>
				<content:encoded><![CDATA[<p>Just a few notes about mysqldump. </p>
<p>Create dump of mysql base:</p>
<p><code># mysqldump -uDBUSER -pPASSWORD DBNAME > filename.sql</code></p>
<p>or<br />
<code># mysqldump --user=username --password=password DBNAME > filename.sql</code> </p>
<p>if you need to make dump of a few databases you can use parametr -B (or –databases):</p>
<p><code>mysqldump -uDBUSER -pPASSWORD -B DBNAME1 DBNAME2  > filename.sql</code></p>
<p>Make dump of the all Databases on host:<br />
<code>mysqldump -uDBUSER -pPASSWORD -A  > filename.sql</code></p>
<p>If you need only dump structure of database (without data):</p>
<p><code>mysqldump -uDBUSER -pPASSWORD --no-data DBNAME > filename.sql</code></p>
<p>If you want to make limited by records mysqldump, next command especially for you (It was really cool command when I need dump and then move test copy of project with enormous mysql database):</p>
<p><code> mysqldump -uDBUSER  -pPASSWORD --where="true limit 100" DBNAME > filename.sql  </code></p>
<p>this command will dump your database with defined amount records in each table. </p>
]]></content:encoded>
			<wfw:commentRss>http://howtobsd.com/software/mysqldump-on-freebsd.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SSH key authentication freebsd</title>
		<link>http://howtobsd.com/software/ssh-key-authentication-freebsd.html</link>
		<comments>http://howtobsd.com/software/ssh-key-authentication-freebsd.html#comments</comments>
		<pubDate>Sat, 26 Mar 2011 17:31:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[System Configuration]]></category>

		<guid isPermaLink="false">http://howtobsd.com/?p=341</guid>
		<description><![CDATA[Too difficult to imagine Unix OS&#8217;s administrator which does not use ssh protocol (Secure SHell). In this how-to I would like to show how easy to use SSH Public Key Based Authentication. The most useful benefits for me in key authentication: ssh authentication without password ssh login from shell scripts security There are just two [...]]]></description>
				<content:encoded><![CDATA[<p>Too difficult to imagine Unix OS&#8217;s administrator which does not use ssh protocol (Secure SHell).<br />
In this how-to I would like to show how easy to use <strong>SSH Public Key Based Authentication</strong>.<br />
The most useful benefits for me in key authentication:</p>
<ul>
<li>ssh authentication without password</li>
<li>ssh login  from shell scripts</li>
<li>security</li>
</ul>
<p>There are just two steps to use ssh key authentication:<br />
1. Generate SSH Keys on client.<br />
2. Add public key to server.</p>
<h4>1.Generating keys.</h4>
<p>From user (which will run script or login on server) do command:</p>
<p><code>#<strong>ssh-keygen -t rsa</strong><br />
Generating public/private rsa key pair.<br />
Enter file in which to save the key (/home/slim/.ssh/id_rsa):<br />
Enter passphrase (empty for no passphrase):<br />
Enter same passphrase again:<br />
Your identification has been saved in /home/slim/.ssh/id_rsa.<br />
Your public key has been saved in /home/slim/.ssh/id_rsa.pub.<br />
The key fingerprint is:<br />
6c:62:f7:11:93:2d:47:90:66:80:88:43:c4:e3:95:7e slim@slim<br />
The key's randomart image is:<br />
+--[ RSA 2048]----+<br />
| +o. o ....o.    |<br />
|  = + .   ++     |<br />
| . =     o= o    |<br />
|  . . E.   =     |<br />
|     .o S .      |<br />
|     . + . .     |<br />
|          .      |<br />
|                 |<br />
|                 |<br />
+-----------------+</code></p>
<p>As result &#8211; 2 files in a ~/.ssh directory:<br />
id_rsa  &#8211; private key<br />
id_rsa.pub &#8211; public key</p>
<h4>2. Add public key on server.</h4>
<p>By default public keys located in /home/user/.ssh/authorized_keys file.<br />
So, you need to load id_rsa.pub file on server and concatenate(on server) it to authorized_keys file:</p>
<p><code>#cat id_rsa.pub >> /home/user/.ssh/authorized_keys</code></p>
<p>This will create authorized_keys if it does not exist.</p>
<p>That is all! Now you can try from client:</p>
<p><code>#ssh username@servername</code></p>
<p>How to use several keys for different servers read in next post.</p>
]]></content:encoded>
			<wfw:commentRss>http://howtobsd.com/software/ssh-key-authentication-freebsd.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RapidSVN &#8211; gui svn client for FreeBSD</title>
		<link>http://howtobsd.com/software/rapidsvn-gui-svn-client-for-freebsd.html</link>
		<comments>http://howtobsd.com/software/rapidsvn-gui-svn-client-for-freebsd.html#comments</comments>
		<pubDate>Sun, 26 Dec 2010 18:44:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[SVN]]></category>
		<category><![CDATA[X11]]></category>

		<guid isPermaLink="false">http://howtobsd.com/?p=302</guid>
		<description><![CDATA[Everybody who worked with svn knows fine svn client for windows TortoiseSVN. But what are we have similar for the linux (especially for FreeBSD). &#8220;True&#8221;-developers will say &#8220;I use console svn client and don&#8217;t want anything else&#8221; and will be right. Although many users wants user-friendly interface. So, today I want introduce you svn client [...]]]></description>
				<content:encoded><![CDATA[<p>Everybody who worked with svn knows fine svn client for windows TortoiseSVN.   But what are we have similar for the linux (especially for FreeBSD).<br />
&#8220;True&#8221;-developers will say &#8220;I use console svn client and don&#8217;t want anything else&#8221; and will be right. Although many users wants user-friendly  interface.<br />
So, today I want introduce you svn client for FreeBSD &#8211; RapidSVN.</p>
<p>Install:</p>
<p><code>#cd /usr/ports/devel/rapidsvn<br />
#make install clean<br />
</code><br />
after that checkout your work copy from repository and enjoy.<br />
I very need the suitable diff in svn client. RapidSVN doesn&#8217;t include diff tool but we can choose external program.<br />
install diff tool for FreeBSD &#8211; dirdiff:<br />
<code>#cd /usr/ports/sysutils/dirdiff<br />
#make install clean<br />
</code><br />
and put location in settings of Rapidsvn(Settings->Programs->Diff Tool ):<br />
/usr/local/bin/dirdiff</p>
<p>If you know any better svn client for FreeBSD I will glad to learn it of from yours comments. </p>
]]></content:encoded>
			<wfw:commentRss>http://howtobsd.com/software/rapidsvn-gui-svn-client-for-freebsd.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install skype on FreeBSD 8.1</title>
		<link>http://howtobsd.com/software/how-to-install-skype-on-freebsd.html</link>
		<comments>http://howtobsd.com/software/how-to-install-skype-on-freebsd.html#comments</comments>
		<pubDate>Wed, 03 Nov 2010 20:40:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[X11]]></category>

		<guid isPermaLink="false">http://howtobsd.com/?p=272</guid>
		<description><![CDATA[The problem with installing skype on FreeBSD: /usr/ports/net/skype12/ &#8211; installing, but doesn&#8217;t work. /usr/ports/net/skype/ - doesn&#8217;t installing: #cd  /usr/ports/net/skype/ #make install clean ===&#62; skype-2.0.0.72,1 is marked as broken: This is the last version of skype that works on FreeBSD, but the distfile is no longer available from the vendor, and won't be in the future. [...]]]></description>
				<content:encoded><![CDATA[<p>The problem with installing skype on FreeBSD:</p>
<p><strong>/usr/ports/net/skype12/</strong> &#8211; installing, but doesn&#8217;t work.</p>
<p><strong>/usr/ports/net/skype/ </strong>- doesn&#8217;t installing:</p>
<p><code>#cd  /usr/ports/net/skype/<br />
#make install clean<br />
===&gt;  skype-2.0.0.72,1 is marked as broken: This is the last version of skype that works on FreeBSD, but the distfile is no longer available from the vendor, and won't be in the future. We are working on alternative solutions..<br />
*** Error code 1<br />
Stop in /usr/ports/net/skype.</code></p>
<p><strong>Solution: </strong></p>
<p><strong>Download file <a href="http://howtobsd.com/wp-content/uploads/2010/11/skype_static-2.0.0.72-oss.tar.bz2">skype_static-2.0.0.72-oss.tar.bz2</a></strong> into /usr/ports/distrfiles</p>
<p>comment string 26 in the /usr/ports/net/skype/Makefile:</p>
<p>&#8220;BROKEN=     This is the last version of skype that works on FreeBSD, but the distfile is no longer available from the vendor, and won&#8217;t      be in the future. We are working on alternative solutions.&#8221;</p>
<p>after that try make it again:</p>
<p><code>#cd  /usr/ports/net/skype/<br />
#make install clean<br />
#rehash<br />
#skype</code></p>
<p>Congratulations!</p>
]]></content:encoded>
			<wfw:commentRss>http://howtobsd.com/software/how-to-install-skype-on-freebsd.html/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Openmeetings &#8211;  video conferencing server on FreeBSD</title>
		<link>http://howtobsd.com/software/openmeetings-video-conferencing-server-on-freebsd.html</link>
		<comments>http://howtobsd.com/software/openmeetings-video-conferencing-server-on-freebsd.html#comments</comments>
		<pubDate>Fri, 15 Oct 2010 09:53:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[media]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://howtobsd.com/?p=211</guid>
		<description><![CDATA[Openmeetings &#8211; is open source video conferencing server on FreeBSD Requirements: Openoffice 3.0 or latest Mysql-Server5 (or PostgreSQL) jdk16 (openjdk6, diablo-jdk1.6.0) swftools ImageMagick I hadn&#8217;t had swftools and OpenOffice (and i was really upset the fact that I had to install OpenOffice on FreeBSD server) I couldn&#8217;t install it from packages because many ports had [...]]]></description>
				<content:encoded><![CDATA[<p><strong>Openmeetings </strong> &#8211; is open source video conferencing server on FreeBSD</p>
<p>Requirements:</p>
<ul>
<li>Openoffice 3.0 or latest</li>
<li>Mysql-Server5 (or PostgreSQL)</li>
<li>jdk16 (openjdk6, diablo-jdk1.6.0)</li>
<li>swftools</li>
<li>ImageMagick</li>
</ul>
<p>I hadn&#8217;t had swftools and  OpenOffice (and i was really upset the fact that I had to install OpenOffice on FreeBSD server)  I couldn&#8217;t install it from packages because many ports had been installed before was later than many dependencies from latest OpenOffices package.  Installing OpenOffice from a ports tree(/usr/ports/editors/openoffice.org-3)  caused a lot of problem, because until that moment all ports had been installed with option WITHOUT_X11=yes. But it&#8217;s a lyrical digression. I suppose you&#8217;ve been already installed  required ports.</p>
<p>At first download  <a href="http://code.google.com/p/openmeetings/downloads/list">latest Openmeetings</a><br />
At moment when I wrote this notes the latest was <a href="http://openmeetings.googlecode.com/files/openmeetings_1_5_rc1_r3393.zip">openmeetings_1_5_rc1_r3393.zip</a></p>
<p><code>#fetch http://openmeetings.googlecode.com/files/openmeetings_1_5_rc1_r3393.zip<br />
#unzip openmeetings_1_5_rc1_r3393.zip</code></p>
<p>run the OpenOffice  in a headless mode:<br />
<code>#/usr/local/openoffice.org-3.2.1/openoffice.org3/program/soffice.bin \<br />
-headless -nofirststartwizard \<br />
-accept="socket,host=localhost,port=8100;urp;StarOffice.Service"</code></p>
<p>checking:<br />
<code># ps -aux | grep openoffice<br />
howtobsd    96549  0.6  0.6 157740 52268  p0  S+    4:58PM   0:00.33 /usr/local/openoffice.org-3.2.1/openoffice.org3/program/soffice.bin -headless -nofirststartwizard -accept=socket,host=localhost,port=8100;urp;</code></p>
<p>back to the folder red5 and edit configuration file:<br />
<code>#vim red5/webapps/openmeetings/conf/hibernate.cfg.xml</code><br />
<code><!-- User  / Password --> </code></p>
<p>&lt;!&#8211; User  / Password &#8211;&gt;<br />
&lt;property name=&#8221;connection.username&#8221;&gt;<strong>mysqluser</strong>&lt;/property&gt;<br />
&lt;property name=&#8221;connection.password&#8221;&gt;<strong>userpassword</strong>&lt;/property&gt;</p>
<p>&lt;!&#8211; Database Settings &#8211;&gt;<br />
&lt;property name=&#8221;connection.driver_class&#8221;&gt;com.mysql.jdbc.Driver&lt;/property&gt;<br />
&lt;!&#8211;  for performance reasons changed to MyISAM from org.hibernate.dialect.MySQLInnoDBDialect &#8211;&gt;<br />
&lt;property name=&#8221;dialect&#8221;&gt;org.hibernate.dialect.MySQLMyISAMDialect&lt;/property&gt;<br />
&lt;property name=&#8221;connection.url&#8221;&gt;jdbc:mysql://localhost/<strong>openmeetings</strong> autoReconnect=true&amp;amp; useUnicode=true&amp;amp;createDatabaseIfNotExist=true&amp;amp; characterEncoding=utf-8&lt;/property&gt;</p>
<p>&lt;property name=&#8221;hibernate.connection.CharSet&#8221;&gt;utf8&lt;/property&gt;<br />
&lt;property name=&#8221;hibernate.connection.characterEncoding&#8221;&gt;utf8&lt;/property&gt;<br />
&lt;property name=&#8221;hibernate.connection.useUnicode&#8221;&gt;true&lt;/property&gt;</p>
<p>Create database openmeetings with utf8_general_ci encoding and Let&#8217;s start:<br />
<code>#cd red5<br />
#sh red5.sh</code></p>
<p>Wait some time until appear<br />
<code>[Launcher:/openmeetings] - ##### loadEmot completed</code><br />
And using 5080 ports connect with your video conferencing server by url:<br />
http://192.168.1.150:5080 (change 192.168.1.150 to your servers IP-adress or domain name)</p>
<p>You will be redirected to installation page.</p>
]]></content:encoded>
			<wfw:commentRss>http://howtobsd.com/software/openmeetings-video-conferencing-server-on-freebsd.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to Install KDE4 on FreeBSD 8.1</title>
		<link>http://howtobsd.com/software/how-to-install-kde4-on-freebsd.html</link>
		<comments>http://howtobsd.com/software/how-to-install-kde4-on-freebsd.html#comments</comments>
		<pubDate>Wed, 29 Sep 2010 13:43:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[X11]]></category>
		<category><![CDATA[Xorg]]></category>

		<guid isPermaLink="false">http://howtobsd.com/?p=198</guid>
		<description><![CDATA[How to Install KDE4 on FreeBSD 8.1 1. Before installing you have to update ports tree: 2. Installing X.org: #cd /usr/ports/x11/xorg #make install clean create a X.org configuration file by command: #Xorg -configure and copy this file: #cp /root/xorg.conf.new /etc/X11/xorg.conf for testing Xorg: #Xorg -config xorg.conf.new -retro if installation have been completed is correct &#8211; [...]]]></description>
				<content:encoded><![CDATA[<p>How to Install KDE4 on FreeBSD 8.1</p>
<p>1. Before installing you have to <a href="http://howtobsd.com/?p=172">update ports tree</a>:<br />
2. Installing X.org:</p>
<p><code>#cd /usr/ports/x11/xorg<br />
#make install clean</code></p>
<p>create a X.org configuration file by command:<br />
<code>#Xorg -configure</code></p>
<p>and copy this file:<br />
<code>#cp /root/xorg.conf.new /etc/X11/xorg.conf</code></p>
<p>for testing Xorg:<br />
<code>#Xorg -config xorg.conf.new -retro</code></p>
<p>if installation have been completed is correct &#8211; the result of this command must be a X mouse cursor on black and gray grid.</p>
<p>3.Installing KDE4:<br />
<code>#cd /usr/ports/x11/kde4<br />
#make install clean</code></p>
<p>(ATTENTION! For compilation kde from the port will be need enough time and a lot of free disk space and in virtual part /usr &#8211; I have been used near 20Gb)<br />
In depends from your computer it it requires much time. I have been make it about one and a half days, because I decided party to installation and from time to time I have been choosing dependences. You can disable it in /etc/make.conf by string &#8220;BATCH=YES&#8221;. With this string ports will be build with default dependences.</p>
<p>When installing of KDE finish:<br />
<code>#echo “exec /usr/local/kde4/bin/startkde4” &gt; /home/username/.xinitrc</code> for running kde from command startx by user-name</p>
<p>and give command by user:<br />
<code>#startx</code></p>
<p>In my first run keyboard and mouse are didn&#8217;t works. Handbook said than I can use HAL to autodetect keyboards and mouse:<br />
<code>#echo "hald_enable=”YES”" &gt;&gt; /etc/rc.conf<br />
#reboot</code></p>
<p>In the <a href="http://howtobsd.com/?p=180">next article</a> I will tell howto enable sound cart support.</p>
<p>PS: for making Xorg and kde from the ports you need to a lot of space and time. You can install xorg and kde4 from packages:<br />
pkg_add -r or pkg_add ftp://url-package. For example :</p>
<p><code>#pkg_add ftp://ftp.ua.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.1-release/x11/xorg-7.5.tbz</code></p>
<p>or you can define environment variable PACKAGEROOT nearest mirror:</p>
<p><code>#setenv PACKAGEROOT=ftp://ftp3.ua.freebsd.org<br />
#pkg_add -r xorg-7.5.tbz </code></p>
<p>same for kde:<br />
<code>#pkg_add ftp://ftp.ua.freebsd.org/pub/FreeBSD/ports/ia64/packages-8-stable/x11/kde4-4.4.5_1.tbz</code><br />
or<br />
<code># pkg_add -r kde4-4.4.5_1.tbz</code></p>
]]></content:encoded>
			<wfw:commentRss>http://howtobsd.com/software/how-to-install-kde4-on-freebsd.html/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Update freebsd ports collection with cvsup</title>
		<link>http://howtobsd.com/software/update-freebsd-ports-collection-with-cvsup.html</link>
		<comments>http://howtobsd.com/software/update-freebsd-ports-collection-with-cvsup.html#comments</comments>
		<pubDate>Sun, 12 Sep 2010 16:00:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[ports]]></category>
		<category><![CDATA[System Configuration]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://howtobsd.com/?p=172</guid>
		<description><![CDATA[If you have just installed FreeBSD from CD\DVD, first that you need to do &#8211; update ports collection freebsd (update freebsd ports tree) and src files from repositories. With cvsup update ports collection isn&#8217;t difficult. Install cvsup: #cd /usr/ports/net/cvsup-without-gui/ #make install clean Copy and edit supfile (I describe only ports tree upfating process. Src updating [...]]]></description>
				<content:encoded><![CDATA[<p>If you have just installed FreeBSD from CD\DVD, first that you need to do &#8211; <strong>update ports collection freebsd</strong> (update freebsd ports tree) and src files from repositories.<br />
With cvsup update ports collection isn&#8217;t difficult. Install cvsup:</p>
<p><code>#cd /usr/ports/net/cvsup-without-gui/<br />
#make install clean</code></p>
<p>Copy and edit supfile (I describe only ports tree upfating process. Src updating is looks same):<br />
<code>#cp /usr/share/examples/cvsup/ports-supfile /etc/ports-supfile<br />
#vim /etc/ports-supfile</code></p>
<p>Choose nearest mirror for you:<br />
<code>*default host=cvsup3.ua.FreeBSD.org</code></p>
<p>My ports-supfile looks like:</p>
<p><code>*default host=cvsup.ua.FreeBSD.org<br />
*default base=/var/db<br />
*default prefix=/usr<br />
*default release=cvs tag=.<br />
*default delete use-rel-suffix<br />
*default compress<br />
ports-all</code></p>
<p>Save file and give command updating:<br />
<code>#cvsup -g -L 2 /etc/ports-supfile</code></p>
<p>It is can updating a long time (specially if you have slow internet connection).<br />
When process is finish &#8211; you will can calm install soft from the ports.</p>
]]></content:encoded>
			<wfw:commentRss>http://howtobsd.com/software/update-freebsd-ports-collection-with-cvsup.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
