Difference between revisions of "How to install MOR Front-End"
(Created page with 'Login to MOR as admin and go to SETTINGS > Setup > Settings > API. Check options "Allow API" and "API allow Registration". Put any password in "API Secret Key". Connect to se…') |
|||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[Image:warning.png|30px]]'''IMPORTANT - this add-on is no longer supported!''' Kolmisoft has stopped development of MOR Front-End due to the reason of other priority projects as company concentrates mainly on improving softswitch/ billing part. | |||
However, there's possibility to integrate any Website / Front End you want using MOR API. Please contact vilius@kolmisoft.com for more information. | |||
<br><br> | |||
<br> | |||
=Configuration from MOR GUI= | |||
<br> | |||
Login to MOR as admin and go to SETTINGS > Setup > Settings > API. | Login to MOR as admin and go to SETTINGS > Setup > Settings > API. | ||
Line 5: | Line 13: | ||
Put any password in "API Secret Key". | Put any password in "API Secret Key". | ||
<br> | |||
=Installation= | |||
<br> | |||
Connect to server on which MOR Front-End should be installed via SSH. | Connect to server on which MOR Front-End should be installed via SSH. | ||
Line 37: | Line 47: | ||
db_host - if you do not want to use remote database, then use 127.0.0.1 here. | db_host - if you do not want to use remote database, then use 127.0.0.1 here. | ||
Administrator password will be automatically generated during installation. Please check output to see it. | Administrator password will be automatically generated during installation. Please check output to see it. | ||
<br> | |||
=Front-End access= | |||
<br> | |||
When installation is completed, you can put | When installation is completed, you can put | ||
Line 56: | Line 68: | ||
password was provided during installation. | password was provided during installation. | ||
<br> | |||
=Additional information= | |||
<br> | |||
If user already has a domain name he wants to use - you should also create a conf file like this: | |||
echo " <br> | |||
<VirtualHost *:80> <br> | |||
ServerAdmin admin@localhost <br> | |||
DocumentRoot /var/www/html/'''FRONT_END_DIR''' <br> | |||
ServerName '''www.example.com''' <br> | |||
<Directory /> <br> | |||
Options FollowSymLinks <br> | |||
AllowOverride All <br> | |||
</Directory> <br> | |||
<Directory /var/www/html/'''FRONT_END_DIR'''> <br> | |||
Options Indexes FollowSymLinks MultiViews <br> | |||
AllowOverride All <br> | |||
Order allow,deny <br> | |||
allow from all <br> | |||
</Directory> <br> | |||
alias /billing /var/www/html/billing <br> | |||
</VirtualHost> <br> | |||
" >> /etc/httpd/conf.d/'''FRONT_END_DIR'''.conf <br> | |||
Please change FRONT_END_DIR to your installed directory and www.example.com to your domain. | |||
Uncomment this line in /etc/httpd/conf/httpd.conf: | |||
NameVirtualHost *:80 | |||
/etc/init.d/httpd reload | |||
<br> | |||
=Installation errors= | |||
<br> | |||
FAILED xmlstarlet installation failed! | |||
Solution: | |||
yum -y install libxslt-devel | |||
<br> | |||
=How to reset Front-end administrator password= | |||
<br> | |||
Default admin panel address is: | |||
http://SERVERIP/DIRECTORY/admin | |||
In order to access Front-End admin interface without disturbing user and asking for passwords - use magento_support_access.sh script with alias | |||
fcrack. | |||
Default Front-End login and password will be | |||
username: magento_admin | |||
password: magento_admin | |||
Example: | |||
[root@localhost ~]# fcrack /var/www/html/magento2 | |||
URL to access magento admin panel: | |||
Press enter to continue | |||
Please note that MOR alias'es must be enabled in order fcrack would work. | |||
MOR alias'es can be enabled using these commands (you have to do them only once): | |||
sh /usr/src/mor/test/scripts/various/alias.sh | |||
bash | |||
<br> | |||
=Logs= | |||
<br> | |||
DB update scripts writes to a log /var/log/magento/db_updates.log | |||
<br> | |||
<br> | |||
=Backups= | |||
<br> | |||
Backups are created during Front-End update. They are located at $INSTALL_DIR/backups | |||
<br><br> | |||
== See also == | |||
* [[MOR Front-End]] | |||
* [[MOR Front-End tariffs configuration]] | |||
* [[I have a problem with MOR Front-End]] |
Latest revision as of 09:10, 4 December 2014
IMPORTANT - this add-on is no longer supported! Kolmisoft has stopped development of MOR Front-End due to the reason of other priority projects as company concentrates mainly on improving softswitch/ billing part.
However, there's possibility to integrate any Website / Front End you want using MOR API. Please contact vilius@kolmisoft.com for more information.
Configuration from MOR GUI
Login to MOR as admin and go to SETTINGS > Setup > Settings > API.
Check options "Allow API" and "API allow Registration".
Put any password in "API Secret Key".
Installation
Connect to server on which MOR Front-End should be installed via SSH.
There should be CentOS operating system on server.
You can install MOR Front-End where MOR is installed.
Issue following commands:
yum -y install subversion svn co http://svn.kolmisoft.com/magento/install_script /usr/src/magento_install sh /usr/src/magento_install/magento_install.sh /var/www/html/INSTALL_DIRECTORY 'http://SERVER_IP/DIRECTORY/' 'MOR_API_KEY' 'http://MOR_SERVER_ADDRESS/billing' db_username db_password db_name db_host
Place correct values on last command:
INSTALL_DIRECTORY - directory where Front End files will be placed. Example: mor_front_end
SERVER_IP - IP of server on which Front End will be installed. IP of server to which you are connected. Example: 11.22.33.44
DIRECTORY - address which should be entered to access Front End. Example: accounts
MOR_API_KEY - same key which was entered in SETTINGS > Setup > Settings > API.
MOR_SERVER_ADDRESS - IP of MOR server. If you have few servers solution, it should be IP of GUI server. Example: 22.33.44.55
db_username - Front End database user which will be used by Front End.
db_password - password of same user.
db_name - name of Front End database. It will be create by install scripts. DO NOT USE 'mor' or other database names which already exist. Example: mor_front_end
db_host - if you do not want to use remote database, then use 127.0.0.1 here.
Administrator password will be automatically generated during installation. Please check output to see it.
Front-End access
When installation is completed, you can put
on your browser to access Front End.
To access administrator interface, use
http://SERVERIP/DIRECTORY/admin
username is magento_admin
password was provided during installation.
Additional information
If user already has a domain name he wants to use - you should also create a conf file like this:
echo "
<VirtualHost *:80>
ServerAdmin admin@localhost
DocumentRoot /var/www/html/FRONT_END_DIR
ServerName www.example.com
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
<Directory /var/www/html/FRONT_END_DIR>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
alias /billing /var/www/html/billing
</VirtualHost>
" >> /etc/httpd/conf.d/FRONT_END_DIR.conf
Please change FRONT_END_DIR to your installed directory and www.example.com to your domain.
Uncomment this line in /etc/httpd/conf/httpd.conf:
NameVirtualHost *:80
/etc/init.d/httpd reload
Installation errors
FAILED xmlstarlet installation failed!
Solution:
yum -y install libxslt-devel
How to reset Front-end administrator password
Default admin panel address is:
http://SERVERIP/DIRECTORY/admin
In order to access Front-End admin interface without disturbing user and asking for passwords - use magento_support_access.sh script with alias
fcrack.
Default Front-End login and password will be
username: magento_admin password: magento_admin
Example:
[root@localhost ~]# fcrack /var/www/html/magento2
URL to access magento admin panel:
Press enter to continue
Please note that MOR alias'es must be enabled in order fcrack would work.
MOR alias'es can be enabled using these commands (you have to do them only once):
sh /usr/src/mor/test/scripts/various/alias.sh
bash
Logs
DB update scripts writes to a log /var/log/magento/db_updates.log
Backups
Backups are created during Front-End update. They are located at $INSTALL_DIR/backups