|
|
|
Installation on Linux or Solaris
|
|
|
|
|
|
Please make sure you install SamePage as well as other components like CVS as a Non-Root user in your Linux/Solaris environment.
Before installing on Solaris, please check with us for CVS support on your specific version.
|
- Copy and unzip the samepage.zip to a temporary folder. Ex: mkdir temp/samepage, cp samepage.zip temp/samepage/, cd temp/samepage/, jar -xvf samepage.zip
- Above command will extract all the files from samepage.zip to temp/samepage folder.
- Now run the Setup.sh file (type Setup.sh and press Enter key).
-
If you see permission denied error on your console then run the following command:
"chmod +x Setup.sh" and re-run the Setup.sh file.
|
Now follow the instructions. Given instruction below are with default choices, but it can be changed to suit your requirements
- If you choose your database to be Oracle, follow the below given steps.
5.1. Type "1" and press enter on License Screen.
5.2. Type "1" on the database screen to choose Oracle as the database.
5.3. On Destination Screen type the folder path where you want to install the SamePage and press enter. Ex: "/home/products/samepage". Note, this should not be the temporary folder where you unzipped the initial zip file.
5.4.When "Select Valid Choice for Destination Screen" is prompted on Destination Screen, Type "2" and press enter.
5.5. Files copied message will appear after few seconds.
5.6. Type the database Name for Database Connection Details page and press Enter.
5.7. Type the database User and press enter.
5.8. Type the database Password and press enter.
5.9. Type the connection property on this screen: eg: "jdbc:oracle:thin:@localhost:1521:samepagedb" (replace localhost with your IP and samepagedb with your database name). If you plan to use Oracle RAC as your database, please check
On-premise SamePage connecting to Oracle RAC
5.10. Type "2" and press enter.
5.11. Type the IP address of this machine.
5.12. Type the port on which tomcat will listen.
5.13. Type your smtp host. Like mail.mycompany.net
5.14. Type administrator's email-id.
5.15. Type "2" and press enter.
5.16. On Schema management, Type "1" to create fresh schema. If schema is already created, type "4" for next step or "2" to drop schema first and re-create a fresh schema.
5.17. Type "Y" to proceed with schema creation
6. If you choose your database to be MySQL ,follow the below given steps. If you need detailed instructions on installing MySQL, click
here.
Note:Samepage requires InnoDB engine for MySQL because it supports transactions. The default MyISAM engine does not support transactions and hence cannot be used as the MySQL database engine for SamePage.For instructions to install MySQL with the InnoDB engine click here.
|
6.1. Type "1" and press enter on the License screen to indicate the acceptance of the license terms.
6.2. Type "2" on the Database screen to select MySQL as the database
6.3. On Destination Screen type the folder path where you want to install the SamePage and press enter. Ex: "/home/products/samepage". Note, this should not be the temporary folder where you unzipped the initial zip file.
6.4. When "Select Valid Choice for Destination Screen" is prompted on
Destination Screen, Type "2" and press enter.
6.5. A 'Files Copied' message will appear in a few seconds.
6.6. In the Database Connection Details screen, enter the database name and press enter.
6.7. Enter the database password and press enter.
6.8. Enter the database url,
|
eg: jdbc:mysql://localhost:3306/[your_database_name]?noAccessToProcedureBodies=true&useUnicode-true&characterEncoding=UTF-8&sessionVariables=storage_engine=InnoDB
|
6.9. Type "2" and press enter.
6.10. Type the IP address of this machine.If you do not enter an new value and press enter the default value will be retained.
6.11. Type the port on which tomcat will listen.If you do not enter an new value and press enter the default value will be retained.
6.12. Type your smtp host. Like mail.mycompany.net.If you do not enter an new value and press enter the default value will be retained.
6.13. Type administrator's email-id.If you do not enter an new value and press enter the default value will be retained.
6.14. Type "2" and press enter.
6.15. Unser the Schema Management screen, Type "1" to Create a new schema or type "2" to Drop an existing schema. Type "4" to go to the next step.
6.16. Type "y" to proceed with schema creation.
6.17. When the schema has benn successfully created, the database type and the path repository are displayed.
6.18. A successful installation message is then displayed.
7. Now copy the license.etouch file to "[samepage_install_dir]/cm/WEB-INF/lib/conf" folder. This folder is exists in the install directory of SamePage.
8.
Now run the startup.sh file from "tomcat/bin". This folder is also exists in the install directory of SamePage.
9. Now to verify successful installation open the browser and type the http://host:port/cm/ in address bar and hit enter. You should see the SamePage home page. Replace the host and port with the correct values you have given during the installation.
|
E.g. http://localhost:18080/cm
Admin console is at http://localhost:18080/cm/newui/home/login.jsp
|
10.
You can login into system by using default username and password. The default Username is "system" and password is "password".