<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Guide to install Alfresco 5.0d on FreeBSD (FreeNAS Jail) in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/guide-to-install-alfresco-5-0d-on-freebsd-freenas-jail/m-p/290186#M243316</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello everybody,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I spent some time getting alfresco installed in a FreeBSD Jail on my FreeNAS Storage, and want to share my experience with you. I Do not know if this is suitable for a productive use, but for I me it is the perfect solution for my homeoffice.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;strong&amp;gt;Before I start, please let me ask you for a favour:&amp;lt;/strong&amp;gt; I am still learning Alfresco, and will continue to do so. My plan is to integrate &amp;lt;strong&amp;gt;tesseract OCR&amp;lt;/strong&amp;gt; for newly added PDFs. I found some hints, but haven't been successful yet. There are a lot of open questions for me (it looks like the way for alfresco 5 is different to V4, for which i found some info). To make it short: if anyone has the files (transformations) that are used (I think I am able to edit them for FreeBSD if they are for linux), can tell where to put them and which actions are to take - it would be great to have this as a step-by-step guide. I spent a lot of time on this without success.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ok, lets go:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There are some decisions to maker during install. I decided for MySQL over PostgreSQL, as the latter is difficult to install and keep running over Host system updates in FreeNAS.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;After some searching i found a great install script, which finally worked after preparing the system with the following steps. You will find the script by searching for "andergrim freebsd" on github.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;strong&amp;gt;Prepare a new Jail:&amp;lt;/strong&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;pkg update&lt;BR /&gt;pkg upgrade&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Install nano&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;pkg install nano wget&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Prepare Jail for SSH access:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;service start sshd&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now set sshd to autostart by setting sshd_enable to "YES" in /etc/rc.conf&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;nano /etc/rc.conf&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Enable SSH over IPv4 by uncommenting&amp;nbsp; ListenAdress 0.0.0.0 in the following file:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;nano /etc/ssh/sshd_conf&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;now add a user for SSH, do not forget to invite to the group wheel when prompted:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;adduser&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;strong&amp;gt;Install the database&amp;lt;/strong&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;pkg install mysql56-server mysql-connector-java&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If MySQL is installed, set your MySQL root password (you will need it later)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;mysql -u root -p&lt;BR /&gt;passwd&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;strong&amp;gt;Prepare for OpenJDK&amp;lt;/strong&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Add the following lines to your /etc/fstab by using nano:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;fdesc&amp;nbsp;&amp;nbsp;&amp;nbsp;/dev/fd&amp;nbsp;&amp;nbsp;&amp;nbsp;fdescfs&amp;nbsp;&amp;nbsp;&amp;nbsp;rw&amp;nbsp;&amp;nbsp;&amp;nbsp;0&amp;nbsp;&amp;nbsp;&amp;nbsp;0&lt;BR /&gt;proc&amp;nbsp;&amp;nbsp;&amp;nbsp;/proc&amp;nbsp;&amp;nbsp;&amp;nbsp;procfs&amp;nbsp;&amp;nbsp;&amp;nbsp;rw&amp;nbsp;&amp;nbsp;&amp;nbsp;0&amp;nbsp;&amp;nbsp;&amp;nbsp;0&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;strong&amp;gt;Install packages needed for Alfresco&amp;lt;/strong&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;pkg install tomcat7&amp;nbsp; nginx libreoffice liberation-fonts-ttf droid-fonts-ttf ImageMagick-nox11 swftools tex-dvipsk&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This will make sure you have all the packages needed by Alfresco. You might not need tex-dvipsk.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;strong&amp;gt;Run the install script&amp;lt;/strong&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Download the script you found on githubm, make it executable as described there and run it. I answered the questions as follows. The fact I installed all the packages before was neccessary for my installation success.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;Add alfresco system user [y/N] y&lt;BR /&gt;Install Tomcat [y/N] yPlease enter the public host name for Share server (fully qualified domain name) [alf] alf.home&lt;BR /&gt;Please enter the protocol to use for public Share server (http or https) [http] &lt;BR /&gt;Please enter the host name for Alfresco Repository server (fully qualified domain name) [alf.home] &lt;BR /&gt;Install Share config file (recommended) [y/N] y&lt;BR /&gt;Install Postgres JDBC Connector [y/N] y (you can possibly say no here)&lt;BR /&gt;Install Mysql JDBC Connector [y/N] y&lt;BR /&gt;Install nginx [y/N] y&lt;BR /&gt;Install OpenJDK7 [y/N] y&lt;BR /&gt;Install LibreOffice [y/N] y&lt;BR /&gt;Install ImageMagick [y/N] y&lt;BR /&gt;Install swftools [y/N] y&lt;BR /&gt;Add Alfresco war files [y/N] y&lt;BR /&gt;Add Google docs integration [y/N] n (up to you)&lt;BR /&gt;Add Sharepoint plugin [y/N] n (up to you)&lt;BR /&gt;Install SOLR4 indexing engine [y/N] y&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now run the database install scripts and follow the instructions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;cd /opt/alfresco/scripts/&lt;BR /&gt;sh mysql.sh&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One of the main problems after install were the keystore files. The files downloaded by the script are broken. You might need to edit the file below, at the time of my installation i had to change http to https:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;wget &lt;A href="https://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD/root/projects/repository/config/alfresco/keystore/generate_keystores.sh" rel="nofollow noopener noreferrer"&gt;https://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD/root/projects/repository/config/alfresco/keystore/generate_keystores.sh&lt;/A&gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Wgen you have edited the file, run it &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;sh generate_keystores.sh&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After that, your installation is complete. Restart your jail, goto to &lt;/SPAN&gt;&lt;A href="http://YOURHOST:8080/share/" rel="nofollow noopener noreferrer"&gt;http://YOURHOST:8080/share/&lt;/A&gt;&lt;SPAN&gt; and enjoy Alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Jul 2015 19:43:33 GMT</pubDate>
    <dc:creator>andre78</dc:creator>
    <dc:date>2015-07-09T19:43:33Z</dc:date>
    <item>
      <title>Guide to install Alfresco 5.0d on FreeBSD (FreeNAS Jail)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/guide-to-install-alfresco-5-0d-on-freebsd-freenas-jail/m-p/290186#M243316</link>
      <description>Hello everybody,I spent some time getting alfresco installed in a FreeBSD Jail on my FreeNAS Storage, and want to share my experience with you. I Do not know if this is suitable for a productive use, but for I me it is the perfect solution for my homeoffice.&amp;lt;strong&amp;gt;Before I start, please let m</description>
      <pubDate>Thu, 09 Jul 2015 19:43:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/guide-to-install-alfresco-5-0d-on-freebsd-freenas-jail/m-p/290186#M243316</guid>
      <dc:creator>andre78</dc:creator>
      <dc:date>2015-07-09T19:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: Guide to install Alfresco 5.0d on FreeBSD (FreeNAS Jail)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/guide-to-install-alfresco-5-0d-on-freebsd-freenas-jail/m-p/290187#M243317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;First of all, I`d like to recommend to you to remove your question from this post and create a new post just with it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Your question is kind of hidden in the middle of another subject.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And answering to your question, have you seem this blog post? &lt;/SPAN&gt;&lt;A href="http://www.seedim.com.au/content/alfresco-search-pdf-images-using-transformations-and-tesseract-ocr" rel="nofollow noopener noreferrer"&gt;http://www.seedim.com.au/content/alfresco-search-pdf-images-using-transformations-and-tesseract-ocr&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Jul 2015 22:08:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/guide-to-install-alfresco-5-0d-on-freebsd-freenas-jail/m-p/290187#M243317</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2015-07-12T22:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: Guide to install Alfresco 5.0d on FreeBSD (FreeNAS Jail)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/guide-to-install-alfresco-5-0d-on-freebsd-freenas-jail/m-p/290188#M243318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Andre78,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for the guide! I did exactly what you mentioned but have some trouble setting up Alfresco on FreeBSD (only difference: since LibreOffice is no longer available for FreeBSD I skipped this installation): I can not log in into Alfresco, although after replacing the keystore file with the generate_keystore.sh script. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So first question: Which user is Alfresco expecting to log in the first time? Is it the user created in the jail, the alfresco user or the admin/admin user? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You are talking about "one of the main problems after install…", so do you have any other ideas how to solve this login problem?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[Update]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Solved the problem. I carefully studied the Tomcat Logfiles end came to a working Alfresco at the end.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jan 2016 11:46:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/guide-to-install-alfresco-5-0d-on-freebsd-freenas-jail/m-p/290188#M243318</guid>
      <dc:creator>newbe</dc:creator>
      <dc:date>2016-01-14T11:46:04Z</dc:date>
    </item>
  </channel>
</rss>

