Add PHPMyAdmin and Webmin to the Virtual VMX download

Use this forum for questions regarding installation, upgrading and configuration of OpenEMM

Moderator: moderator

baconismidog
Posts: 1
Joined: Thu Mar 31, 2011 3:24 pm

Add PHPMyAdmin and Webmin to the Virtual VMX download

Post by baconismidog »

I downloaded the virtual machine, converted it to use it on a full ESX box and installed Webmin (Linux management) and PHPMyAdmin (MySQL management). Here is what worked for me:

Installed software or repositories (do this in order, config below. Note we started with a VM download that included OpenEMM already)

Code: Select all

wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm
o

Code: Select all

rpm -Uhv rpmforge-release-0.5.2-2.el5.rf.i386.rpm
o if bork, go here and change release ##s

Code: Select all

Yum update

Code: Select all

Yum install nano

Code: Select all

Yum install system-config-keyboard
(supplied keyboard was german)
o

Code: Select all

System-config-keyboard 
(to choose english)

Code: Select all

Yum install webmin
o

Code: Select all

service webmin start

Code: Select all

Yum install phpmyadmin
Webmin config:

Code: Select all

Nano /etc/yum.repos.d/webmin.repo
[Webmin]
name=Webmin Distribution Neutral
baseurl=http://download.webmin.com/download/yum
enabled=1
Ctrl+O, Enter, Ctrl+X
package key for signature

Code: Select all

rpm --import http://www.webmin.com/jcameron-key.asc
Open port 10000 and then write it to /etc/sysconfig/iptables

Code: Select all

	iptables -I INPUT 1 -p tcp --dport 10000 -j ACCEPT
	Service iptables save
OpenEmm config:

Open up webmin. Put this in webmin / bootup and shutdown / to make the openemm run at boot. Note that openemm must be run as user ‘openemm’ not root (first bit of lines below (su – openemm))
su – openemm –c “/home/openemm/bin/OpenEmm.sh start”
su – openemm –c “/home/openemm/bin/OpenEmm.sh stop”

PHPMYADMIN config:

Code: Select all

nano /etc/httpd/conf.d/phpmyadmin.conf
<Directory "/usr/share/phpmyadmin">
Order Deny,Allow
Deny from all
Allow from 192.168.0.0/255.255.254.0
</Directory>

Code: Select all

nano /usr/share/phpmyadmin/config.inc.php
$cfg['blowfish_secret'] = 'MAKEUPYEROWNPASSWURDHERE'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */