Difference between revisions of "Retain Linux Install"
From GWAVA Technologies Training
(→Prerequisites for Retain 3.5:) |
|||
| Line 2: | Line 2: | ||
== Prerequisites for Retain 3.5: == | == Prerequisites for Retain 3.5: == | ||
| − | # | + | # Create disks for best practices |
| − | # | + | #* OS |
| + | #* ARCHIVE | ||
| + | #* INDEX | ||
| + | #* LOGS | ||
| + | #* DATA | ||
| + | # Install http server (apache2) from YaST | ||
| + | # Set DNS to Exchange server, if applicable. YaST/Network Settings | ||
| + | # Create directories /software/retain and /software/mysql | ||
#md /software/mysql directory and change to it | #md /software/mysql directory and change to it | ||
| − | #download MySQL Community Server '''5.5.42''' [http://dev.mysql.com/downloads/mysql/] direct? [http://dev.mysql.com/downloads/file.php?id=455557] to that mysql directory | + | # download MySQL Community Server '''5.5.42''' [http://dev.mysql.com/downloads/mysql/] direct? [http://dev.mysql.com/downloads/file.php?id=455557] to that mysql directory |
| − | #*<code>wget "http://dev.mysql.com/get/archives/mysql-5.5/MySQL-5.5.42-1.sles11.x86_64.rpm-bundle.tar"</code> | + | #* <code>wget "http://dev.mysql.com/get/archives/mysql-5.5/MySQL-5.5.42-1.sles11.x86_64.rpm-bundle.tar"</code> |
| − | # | + | # Extract the MySQL client and MySQL server or just untar the whole thing |
| − | #md /software/retain[version] directory and change to it | + | #* <code>tar -xf MySQL-5.5.42-1.sles11.x86_64.rpm-bundle.tar</code> |
| − | #download the current version of Retain [http://download.gwava.com/download.php?product=Retain&version=versions] or the beta. | + | # md /software/retain[version] directory and change to it |
| − | #*<code>wget "http://download.gwava.com/download.php?product=Retain&version=current"</code> | + | # download the current version of Retain [http://download.gwava.com/download.php?product=Retain&version=versions] or the beta. |
| − | #*<code>wget "http://download.gwava.com/download.php?product=Retain&version=beta"</code> | + | #* <code>wget "http://download.gwava.com/download.php?product=Retain&version=current"</code> |
| − | #unzip Retain | + | #* <code>wget "http://download.gwava.com/download.php?product=Retain&version=beta"</code> |
| − | #chmod +x *.sh | + | # unzip Retain |
| + | # <code>chmod +x *.sh</code> | ||
== Install: == | == Install: == | ||
| Line 27: | Line 35: | ||
#* create a database, username and password | #* create a database, username and password | ||
# take the defaults | # take the defaults | ||
| − | # go to the [retain server]/RetainServer to | + | # Stop tomcat <code>rcretain-tomat7 stop</code> |
| + | # Change ownership on ARCHIVE, INDEX and LOGS to <code>chown -R tomcat:tomcat /[volume]</code> | ||
| + | # Change permissions on ARCHIVE, INDEX and LOGS to <code>chmod -R 774 /[volume]</code> | ||
| + | # Change ownership on DATA to <code>chown -R mysql:mysql /[volume]</code> | ||
| + | # Change permissions on DATA to <code>chmod -R 774 /[volume]</code> | ||
| + | # Start tomcat <code>rcretain-tomat7 start</code> | ||
| + | # go to the [retain server]/RetainServer to configure the server. | ||
Revision as of 20:25, 10 November 2015
Prerequisites for Retain 3.5:
- Create disks for best practices
- OS
- ARCHIVE
- INDEX
- LOGS
- DATA
- Install http server (apache2) from YaST
- Set DNS to Exchange server, if applicable. YaST/Network Settings
- Create directories /software/retain and /software/mysql
- md /software/mysql directory and change to it
- download MySQL Community Server 5.5.42 [1] direct? [2] to that mysql directory
- Extract the MySQL client and MySQL server or just untar the whole thing
-
tar -xf MySQL-5.5.42-1.sles11.x86_64.rpm-bundle.tar
-
- md /software/retain[version] directory and change to it
- download the current version of Retain [3] or the beta.
- unzip Retain
-
chmod +x *.sh
Install:
-
./RetainInstall.sh - install modules:
- Retain Server
- Reporting & Monitoring
- Worker
- setup database, using MySQL
- give it the path from above
- give mysql root user a password (remember this)
- create a database, username and password
- take the defaults
- Stop tomcat
rcretain-tomat7 stop - Change ownership on ARCHIVE, INDEX and LOGS to
chown -R tomcat:tomcat /[volume] - Change permissions on ARCHIVE, INDEX and LOGS to
chmod -R 774 /[volume] - Change ownership on DATA to
chown -R mysql:mysql /[volume] - Change permissions on DATA to
chmod -R 774 /[volume] - Start tomcat
rcretain-tomat7 start - go to the [retain server]/RetainServer to configure the server.