-
Notifications
You must be signed in to change notification settings - Fork 5
Deployment Production(Linux)
-
Download the bundle from here.
-
Install MySql.
sudo apt-get install mysql-server -
Create Databases.
mysql -u root -p < $server_bundle/ServerApps/db/mysql_database_schema.sql -
Install Tomcat.
wget http://www.us.apache.org/dist/tomcat/tomcat-7/v7.0.70/bin/apache-tomcat-7.0.70.tar.gz
tar -xvzf apache-tomcat-7.0.70.tar.gzor,sudo apt-get install tomcat7 -
Install Apache
sudo apt-get install apache2 -
Enable apache modules
sudo a2enmod proxy proxy_ajp proxy_http rewrite deflate headers proxy_balancer proxy_connect proxy_html -
Add new virtual host for imanage by copying 000-default.conf to imanage.conf and add the following lines to it
ProxyPreserveHost On ProxyRequests Off ProxyPass / http://localhost:8080/ ProxyPassReverse / http://localhost:8080/ -
Enable imanage virtual host
sudo a2ensite imanage.conf -
Restart apache server
-
Export JAVA_HOME in System Environment.
export JAVA_HOME=JAVA_HOME_PATH -
Move iManage webapp in the $server_bundle/WebApps to tomcat/webapps.
-
Update Database related properties in context.xml.
verify database url, database driver, database username and password -
Create following directories on the server machine and update the corresponding locations in context.xml.
log_storage, storage_root, movie_storage, image_cache_storage, task_log_storage, backup_storage, export_storage, zoom_storage -
Move solr webapp in the $server_bundle/WebApps/ to tomcat/webapps.
-
Create a directory to store solr_data.
-
Update solr/home path in solr/WEB-INF/web.xml with the created directory
-
Extract cache-deploy in $server_bundle/ServiceApps. Update icache.properties for Logging.
-
Extract worker-deploy in $server_bundle/ServiceApps. Update iworker.properties for Logging, Cache, Service, Solr, Database properties.
-
Start cache.
Run the scriptrun-cache.shin cache-deploy
nohup ./run_cache.sh& -
Start tomcat.
Run the script startup.sh in tomcat/bin -
Start worker.
Run the scriptrun-worker.shin worker-deploy.
nohup ./run_worker.sh& -
Server should be up at http://localhost:8080/iManage
-
login using the admin credentials present in context.xml.
-
create users and projects