FYI, what I've be able to manage so far is installing OpenOffice, setting OO to run as a server using AlwaysUp. My problem is where/how to install the JODConverter. I don't have much experience with java.
Contents. Install database openmeetings comes with Apache Derby database, but they recommend using some other type of database for production use. We’ll use MariaDB which is a drop-in replacement for MySQL.
If you already have MySQL or MariaDB running, skip to the next section. Pkg install mariadb55-server Add this line in /etc/rc.conf so the database starts on boot. Mysqlenable='YES' Start the database. Service mysql-server start and do an initial configuration with: mysql-secure-installation Configure your root password for the database and accept the defaults. Create database Create the database first by invoking the mysql tool. Mysql -u root -p Type this to create the database.
CREATE DATABASE openmeetings DEFAULT CHARACTER SET 'utf8'; GRANT ALL PRIVILEGES ON openmeetings. TO 'openmeetings'@'localhost' IDENTIFIED BY 'changepassword' WITH GRANT OPTION; quit In this case, we created a database called openmeetings and made the user openmeetings@localhost a super user with a password changepassword. Change according to your needs. Java install openmeetings depends on Java, so we’ll install the latest run-time environment. Pkg install openjdk8-jre Edit /etc/fstab and add these lines: fdesc /dev/fd fdescfs rw 0 0 proc /proc procfs rw 0 0 You don’t have to reboot for these “filesystems” to take effect. Just mount them right away. Mount -t fdescfs fdesc /dev/fd mount -t procfs proc /proc Install tools We’ll have to install the following tools that are in use by openmeetings.
Pkg install ImageMagick pkg install swftools pkg install libreoffice pkg install sox We also have to install ffmpeg, but the default package doesn’t come with lame, so we’ll have to install it from the ports. If you don’t have the ports tree, get it with: portsnap fetch && portsnap extract If you already have the ports tree, install ffmpeg from there.
Make sure you select lame. Cd /usr/ports/multimedia/ffmpeg make install clean The ffmpeg install takes a while. On a test VM with SSD, 1CPU, 1GB RAM it took about 25 minutes. Install openmeetings Create the directories and get the zip archive first. Cd /usr/local mkdir openmeetings && cd openmeetings wget unzip apache-openmeetings-3.0.5.zip rm apache-openmeetings-3.0.5.zip We need a MySQL connector for Java. It’s not a direct download and it requires a free registration. Go to and download the zip file.
Put this file under /tmp. Then do: cd /tmp unzip mysql-connector-java-5.1.35.zip cd mysql-connector-java-5.1.35 cp mysql-connector-java-5.1.35-bin.jar /usr/local/openmeetings/webapps/openmeetings/WEB-INF/lib/ cd /usr/local/openmeetings/webapps/openmeetings/WEB-INF/lib/ cp /usr/local/openmeetings/webapps/openmeetings/WEB-INF/classes/META-INF/mysqlpersistence.xml persistence.xml Edit persistence.xml and look for the username and password.
Change this so it reflects the username and password that you choose when you created the database. Another requirement is the. It’s for PDF/DOC conversion. Cd /tmp wget -no-check-certificate unzip jodconverter-core-3.0-beta-4-dist.zip Finally, let’s install openmeetings.
Cd /usr/local/openmeetings/webapps/openmeetings cp -R /tmp/jodconverter-core-3.0-beta-4. Cd /usr/local/openmeetings/ sh red5.sh It takes 3-5 mins. Even if you see nothing is moving, just wait. When you see something like “sendMails done.” you are pretty much done. Now, go to the following URL to access openmeetings for the first time.
Openmeetings will complain that some components are missing, just ignore them. Switch from Apache Derby to MySQL and fill out the form. Use the same username and password that you used when created the database.
Click Check and make sure it says that the database check was successful. Enter the username and password and configure your e-mail address and the time zone. Change something if you want, but it’s fine with the defaults. When the screen below shows up, change the paths for SWFTools, ImageMagick, FFMPEG, sox, JOD and LibreOffice.
Pretty much everything is /usr/local/bin except for JOD which is /usr/local/openmeetings/webapps/openmeetings/jodconverter-core-3.0-beta-4/lib I choose the defaults here, I am not using SIP. Click Finish and you are ready to go. Click on Enter the Application then log in.
Auto start Let’s install bash first. Both start/stop scripts for red5 rely on bash. Pkg install bash cd /bin ln -s /usr/local/bin/bash Then, create a rc startup script. Cd /usr/local/etc/rc.d Name the file openmeetings and copy and paste the following. # cat openmeetings #!/bin/sh # # PROVIDE: openmeetings # REQUIRE: LOGIN # KEYWORD: shutdown. /etc/rc.subr name='openmeetings' rcvar=openmeetingsenable command='/usr/local/openmeetings/om-start.sh' runrccommand '$1' Make sure the script is executable. Chmod 555 openmeetings Edit /etc/rc.conf and add the following line so openmeetings starts on boot.
Openmeetingsenable='YES' Finally, go to the openmeetings folder, create a file called om-start.sh and add the following. #!/bin/sh cd /usr/local/openmeetings sh red5.sh /dev/null 2 /dev/null & Make sure it’s executable.
If you want to stop red5, the stop script is under /usr/local/openmeetings. Just execute red5-shutdown.sh. You are on your own now, check the for more information.
Important: For edits to the alfresco-global.properties file, when specifying paths for Windows systems, you must replace the Windows path separator characters with either the separator or the forward slash / Unix path separator. Also, when using folder names like User Homes, you must manually escape the space.
For example, change the value to Userx0020Homes. Browse to the directory. For example, for Tomcat 6, browse to the $TOMCATHOME/shared/classes/ directory. Open the alfresco-global.properties.sample file. This file contains sample configuration settings for Alfresco.
To enable or modify a setting, ensure that you remove the comment (#) character. Ensure that the dir.root= property points to a root location for the storage of content binaries and index files. For example, dir.root=/var/data/alfresco/alfdata. Note: It is strongly recommended that you always set this value to an absolute file system path as shown above. This ensures that no matter how the Alfresco instance is started, it will always find the directories where content has previously been written. Set the database connection properties. Property Description db.username=alfresco Specifies the name of the main Alfresco database user.
This name is used to authenticate with the database. Db.password=alfresco Specifies the password for the Alfresco database user. This password is used to authenticate with the database. Additional database properties may be set for further configuration. Refer to the for more information. Specify the locations of the following external software: Property Description ooo.exe= Specifies the location of the OpenOffice installation. Ooo.enabled= Specifies whether to use the Direct OpenOffice subsystem.
Jodconverter.officeHome= Specifies the location of the OpenOffice installation for JODConverter transformations. To use the JODConverter, uncomment the ooo.enabled=false and jodconverter.enabled=true properties. Jodconverter.portNumbers= Specifies the port numbers used by each JODConverter processing thread. The number of process will match the number of ports. Jodconverter.enabled= Specifies whether to use the JODConverter.
Set the property to jodconverter.enabled=true. Img.root= Specifies the location of the ImageMagick installation. Swf.exe= Specifies the location of the SWF tools installation. Uncomment the db.driver= and db.url= properties for the database that you require. These properties are grouped into sections for MySQL, Oracle, SQL Server, and PostgreSQL connection, each containing sample settings. Select a JDBC driver used with each connection type. Add your global custom configurations.
Save your file without the.sample extension.