Twonky Media Server Install and Systemd config

This post describes the process to install Twonky Media Server 8.3 on Centos7 and enable startup on boot.

  • Download the binaries here
    • wget http://d33rws75kj13ih.cloudfront.net/downloads/packages/twonky-i686-glibc-2.9-8.3.zip
  • Unzip the package into /usr/local/twonky
  • Create the following directory /var/twonky
  • Create the following file in /etc/systemd/system/twonkyserver.service
[Unit]
Description=Twonky service
After=syslog.target network.target

[Service]
Type=forking
ExecStart=/usr/local/twonky/twonkystarter
ExecStop=/usr/local/twonky/twonky.sh stop
PIDFile=/var/run/mediaserver.pid

[Install]
WantedBy=multi-user.target
  • Reload systemd
    •  systemctl daemon-reload
  • Start twonkyserver
    • systemctl start twonkyserver
  • Enable twonkyserver
    • systemctl enable twonkyserver
  • Reboot and test your work!
  • Grab a beer
 
 

Linksys SPA-3102 and Incredible PBX 12.0.70

First of all you need to install Incredible PBX. Simple instructions are here. I am using a VM built on Xenserver but any PC or VM should be able to work for you. Next you need to have a compatible Voice Gateway devices. I am using an old Linksys SPA-3102 which enables Voice over IP.

You will also need a half decent wireless phone system. I am using an AT&T dec system with 5 handsets

Pretty easy so far right?

Configure the SPA-3102 as follows:

Linksys SPA-3102 Admin

Linksys SPA-3102 Admin Continued

Linksys SPA-3102 Admin Page cont'd

Next goto your Incredible PBX admin screen http://phone1.local.net/admin

pbx5

and add your google account under Connectivity / Google Voice

pbx4

You now need to setup your connection to your Linksys SP-3102 under “Applications / Extensions”

Create Generic PJSIP Device

ext2

Grab a beer, you’re done!

Drupal on Docker in 30 seconds

Install Docker

yum install docker-engine

After that you just need to pull a drupal container from docker hub

docker run -d -p 8080:80 -p 8022:22 -v `pwd`/modules:/var/www/sites/all/modules/custom -v `pwd`/themes:/var/www/sites/all/themes wadmiraal/drupal

Access new docker environment on http://yourdockerserver:8080

account login is admin / admin

docker

Grab a beer

Docker install on OpenSuse Tumbleweed

sudo zypper in docker
sudo systemctl start docker
sudo systemctl enable docker
sudo /usr/sbin/usermod -a -G docker dmalpass
sudo docker run --rm -i -t opensuse /bin/bash

 

 

 

Quick one liner to get a full OPatch inventory of your Oracle Middleware Server

After trying to use OEM to grab all the patches from every installed Oracle product, I gave up and decided to write my own one liner. Customize to match your weblogic install directory.

This script will first find all Middleware Homes specifically using Weblogic, then run the lsinventory or lspatches to display a full listing.

  • First, sign in as the “oracle” user
  • Second, run the following command on your linux system

ora-plane

 

for line in `locate oraInst.loc|grep weblogic |sed 's/.\{12\}$//'`;do /u01/app/oracle/weblogic1036R2/oracle_common/OPatch/opatch lsinv -detail -oh $line;done