Dell OMSA install on Server 2012 R2 issues

  • Did install first as network admin – couldn’t get page to display and update patch (from 7.4.0 to 7.4.0.2) didn’t complete. Scrubbed and reinstalled as local admin – no problems.
  • firewall exception may be required for remote access.
  • https listener warning isn’t relevant for the https web interface!
  • send test email button didn’t work in ie11, does in chrome.

Test of dokuwiki mathjax plugin

Examples/Usage

(Copied from https://www.dokuwiki.org/plugin:mathjax)

NOTE that the default configuration uses \$ (dollar signs) to delimit TeX formulas. This may cause trouble if you have \$ characters in any pages. The default configuration also lets you escape the dollar signs, however, by changing them to ”\$”. This should correct any problems you might have.

Once the plugin is installed, you can write TeX formulas in your wiki with the following syntax (by default — all delimiters are configurable):

Inline Math

Use dollar signs:

$a^2 + b^2 = c^2$
$a^2 + b^2 = c^2$

or escaped parentheses:

\(1+2+\dots+n=\frac{n(n+1)}{2}\)
\(1+2+\dots+n=\frac{n(n+1)}{2}\)

Display Math

To display math on its own line, use double dollar signs:

$$ \frac{d}{dx}\left( \int_{0}^{x} f(u)\,du\right)=f(x) $$
$$ \frac{d}{dx}\left( \int_{0}^{x} f(u)\,du\right)=f(x) $$

or escaped square brackets:

\[ \sin A \cos B = \frac{1}{2}\left[ \sin(A-B)+\sin(A+B) \right] \]
\[ \sin A \cos B = \frac{1}{2}\left[ \sin(A-B)+\sin(A+B) \right] \]

A wide range of math environments will work as well:

$\begin{align*}
e^x & = 1 + x + \frac{x^2}{2} + \frac{x^3}{6} + \cdots \\
& = \sum_{n\geq 0} \frac{x^n}{n!}
\end{align*}$
$\begin{align*}
e^x & = 1 + x + \frac{x^2}{2} + \frac{x^3}{6} + \cdots \\
& = \sum_{n\geq 0} \frac{x^n}{n!}
\end{align*}$

Dokuwiki odd behaviour with <code> and <code text> syntax parser

Compare <code> and <code text> blocks:

<code>
*filter

# This will allow all loopback (lo0) traffic and drop all traffic to 127/8
# that does not use lo0
-A INPUT -i lo -j ACCEPT
-A INPUT ! -i lo -d 127.0.0.0/8 -j REJECT

#  This accepts all already established connections
-A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT

# This allows all outbound traffic
-A OUTPUT -j ACCEPT
</code>

 

<code text>
*filter

# This will allow all loopback (lo0) traffic and drop all traffic to 127/8
# that does not use lo0
-A INPUT -i lo -j ACCEPT
-A INPUT ! -i lo -d 127.0.0.0/8 -j REJECT

#  This accepts all already established connections
-A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT

# This allows all outbound traffic
-A OUTPUT -j ACCEPT
</code>

 

In dokuwiki text formatting option adds single spaces in the blank lines. Not helpful in the case of iptables rules files, where these spaces break the parser…

Getting WebCal to work with DAViCal

Well, that was odd. Managed to get WebCal to work (after realising it doesn’t hook into the DAViCal database at all – it’s a completely separate admin account, user accounts etc). After creating user, couldn’t add calendars to them. Eventually tracked it down to utils/helper.php and the encode and decode functions which were retrieving $iv of the wrong lengths – saw 21 and 24 bytes. After putting code in to watch the variables created a new user – which worked perfectly. Disabled debugging code, deleted all users and recreated Glasgow10m user – works fine. Bizarre.

Installing Bedework

Install Java

Needs to be the Oracle JDK. Download the .bin file and make it executable. Create appropriate directory, change to it and run the .bin file.

update-alternatives --install "/usr/bin/java" java" "/usr/lib/jvm/jdk1.6.0_31/bin/java" 1

Creates link for java in /usr/bin/

update-alternatives --set java "/usr/local/bin/oracle-java-default/bin/java"

Not needed for a clean install – there are no other versions of java on the system.

Then in /etc/environment

JAVA_HOME="/usr/lib/jvm/jdk1.6.0_31"

Gave up at this point and decided to give DAViCal another go.