Mandriva Install Guide

From MirrorMed

For this guide Mandriva 2006 official, and MirrorMed RC1 were used.

Install Mandriva 2006 without any servers. Go to http://urpmi-addmedia.org/ and add package sources of every type

urpmi apache

It asks what type of server, I chose 1- apache-mpm-prefork

it will ask if you want to install other packages as well, say yes.

As of RC1 MirrorMed requires php4, Mandriva 2006 installs php5 by default, so if you have it on your system already you must remove it using urpme

urpme php

which will give you a list of php packages installed, you must then type

urpme (paste) Where you paste in all of the php packages listed when you typed urpme

urpmi php4-cli

again say yes to packages

urpmi apache-mod_php4

yes to packages

urpmi apache-mod_ssl

urpmi php4-mysql

urpmi php4-xml

urpmi php4-xmlrpc

yes to packages

urpmi htmldoc

urpmi mysql

I chose 1 MySQL-4.1.12

service mysqld start

service httpd start

download MirrorMed javascript:insertTags('','','Link title'); Internal link tar xzvf mirrormed…….tgz

mv mirrormed………. /var/www/html/mirrormed


Buy the CPT code packs from http://www.mirrormed.org (they only charge the cost they have to pay AMA for providing them) Decompress the code pack and place it in /var/www/html/mirrormed/local/setup/code_packs

cd /var/www/html/

chown -R apache:apache mirrormed

Now edit your php4.ini file to match the settings required by MirrorMed.

cd /etc

urpmi nano

Nano is my favorite command line text editor, feel free to use yours.

nano php4.ini

You can use Ctl-W to search

post_max_size = 30M

upload_max_filesize = 30M

change memory_limit in the php.ini file to 128

change max_execution_time in php.ini to 45

change register_globals in php.ini to off

change magic_quotes_gpc in php.ini to off

ctrl-x to save, which must be done as a root user.

now restart the httpd server to load the new config

service httpd restart

Now to use the automated installer

Use your web browser to go to the MirrorMed page, if you are doing this from the local machine, make sure you always connect using https://127.0.0.1/mirrormed avoid using localhost as it can cause problems down the road. If you are connecting from a remote machine, make sure you always connect using https:// to protect the data flowing between your server and your workstation.


click continue


now fill in the database name which is mirrormed, you can leave the root password blank for now, unless your set a mysql root password, note that this is not your system root password, but the root password for mysql.


click save

If all of the checks came up green, you did everything right, if not, go back and fix any problems. now click continue

click I agree(after reading of course)

Now that the MirrorMed database has been installed, you have the options to install other data in to the MirrorMed database, if you bought the code pack, click on the name of the code pack(if it contains all three code packs, cpt, icd, and hcpcs, you only have to click on that pack and click install file.

This will take quite a bit of time, 5-20 minutes depending on the speed of your server, go do some crunches, get a drink of water, and come back.

Once it finishes it will go back to the screen and let you select more code packs if needed.

Now click done, then continue, then here

Log in using username: admin password: admin

Now Follow the configuration guide.