Install Miva Empresa (linux) with ease
This is not for everyone obviously and not a detailed outline but a quick and easy supplement to the Miva instructions that are lacking, if you wish to set up Miva Empresa on your website and need to do it in Standard 3x version, this may help you out some. Update the the navigation to reflect your own.
Instructions:
Download and unzip: mivavm-v5.13-linux.tar.gz
Upload the two folders to /home/USERNAME/public_html/cgi-bin:
certs USERNAME:USERNAME 0755 (the files were uploades with 644 perms)
lib USERNAME:USERNAME 0755 (Not sure if 755 is needed but that is what was used)
From cgi-bin, rename mivavm-v5.13 to mivavm and upload to: /home/USERNAME/public_html/cgi-bin
mivavm USERNAME:USERNAME 755
From cgi-bin, rename 3x.so to libmivaconfig.so and upload to: /home/USERNAME/public_html/cgi-bin
libmivaconfig.so USERNAME:USERNAME 644
Make sure you have these two files or your equivalent version:
openssl=/lib/libssl.so.2
openssl_crypto=/lib/libcrypto.so.2
Create a notepad file and name it mivavm.conf and upload to: /home/USERNAME/public_html/cgi-bin
mivavm.conf USERNAME:USERNAME 644 contents: (use the version of OpenSSL you have)
———————————————————
mivavm.conf:
mivaroot=/home/USERNAME/public_html
stdmodedatadir=/home/USERNAME/private/mivadata
cadir=/home/USERNAME/public_html/cgi-bin/certs/openssl-0.9
openssl=/lib/libssl.so.2
openssl_crypto=/lib/libcrypto.so.2
securityoptions=13
dnslookup=0
globaltimeout=360000
mailtimeout=20
calltimeout=360000
authfile=/home/USERNAME/private/miva.authfile
<BUILTIN-LIB LIBRARY = “/home/USERNAME/public_html/cgi-bin/lib/builtins/crypto.so”>
<BUILTIN-LIB LIBRARY = “/home/USERNAME/public_html/cgi-bin/lib/builtins/archive.so”>
<BUILTIN-LIB LIBRARY = “/home/USERNAME/public_html/cgi-bin/lib/builtins/system.so”>
<BUILTIN-LIB LIBRARY = “/home/USERNAME/public_html/cgi-bin/lib/builtins/file.so”>
<BUILTIN-LIB LIBRARY = “/home/USERNAME/public_html/cgi-bin/lib/builtins/math.so”>
<BUILTIN-LIB LIBRARY = “/home/USERNAME/public_html/cgi-bin/lib/builtins/string.so”>
<BUILTIN-LIB LIBRARY = “/home/USERNAME/public_html/cgi-bin/lib/builtins/time.so”>
<BUILTIN-LIB LIBRARY = “/home/USERNAME/public_html/cgi-bin/lib/builtins/template.so”>
<BUILTIN-LIB LIBRARY = “/home/USERNAME/public_html/cgi-bin/lib/builtins/logging.so”>
<BUILTIN-LIB LIBRARY = “/home/USERNAME/public_html/cgi-bin/lib/builtins/mvlibgd.so”>
<COMMERCE-LIB METHOD = “LinkPoint” LIBRARY=”/home/USERNAME/public_htm/cgi-bin/lib/commerce/linkpoint.so”>
<DATABASE-LIB METHOD = “MySQL” LIBRARY=”/home/USERNAME/public_htm/cgi-bin/lib/databases/mysql.so”>
<DATABASE-LIB METHOD = “MivaSQL” LIBRARY=”/home/USERNAME/public_htm/cgi-bin/lib/databases/mivasql.so”>
ServerAdmin=YOU@YOURDOMAIN.com
mivaroot=/home/USERNAME/public_html
</VirtualHost>
———————————————————
Create a notepad file and name it miva.authfile and upload to: / home/USERNAME/private/
miva.authfile USERNAME:USERNAME 755 (644 should be fine) contents:
miva.authfile:
YOURDOMAIN.com=/home/USERNAME/private/mivadata
USERNAME=/home/USERNAME/private/mivadata
———————————————————
Upload diag6.mvc to public area and run (I had to use diag5.mvc, 6 failed a few falsely) run all tests. DELETE after done.
If you are running Miva 4, make sure to update the Authorize module to authnet.mvc-4.2403 if you are using Authorize.net, otherwise update your commerce module. Should be ready to go. =)


Leave a Reply