Graphical Installer
...
Once the installer has been launched you are presented with a menu of options. We will focus on
...
configuring a server for the first time in this guide, other options are discussed in Other uses of the iEnterprise Mobile Installer.
To configure a new server:
- When the installer is opened, the first option presented in the list is to deploy a new mobile server.
...
- Click to select and you will be prompted for the Tomcat path.
- Choose browse, and navigate to the home directory for
...
- Tomcat. This is the directory which contains the bin, lib, webapps, etc subdirectories.
...
- Choose open to confirm the path. If you have run the installer before, it will remember your last choice.
...
- Below the window displaying the path, there is a 'Tomcat Version' selection box. Ensure the correct version is selected in the dropdown list
- Select Next to continue.
The next screen will ask you for your war file.
- This file should have been received from iEnterprises. Its name will be similar to MEXX9.0.0.war.
- Navigate to its path, and click Open. The installer will extract your war file.
- Click Next to move to the next step.
Enter your MySQL details.
- The simplest MySQL setup is on the local server (localhost, port 3306), using the root MySQL user and password.
...
- Any user which can create
...
- databases can be used
...
- , but root is the most common.
- Once you've entered in the server, port, username and password, click the blue + to create a new schema.
- The schema's name should be all one word. For example, you might choose the schema name: mobileserver
...
- Your new schema name should now appear in the line next to Schemas.
- Click Test Connection to ensure that the mysql setup is working as intended. If it is correct, the Next button will now be clickable.
- Click Next to continue.
Confirm MySQL / schema details. In the next screen, you may choose to add an additional user to MySQL in order to not use the root MySQL user for continued access to the
...
iEnterprise Mobile server's database.
- Click the button next to the user list field to create a new user for your
...
- iEnterprise Mobile installation, if desired.
...
- Check that correct user is displayed in the User List, confirm password and Schema. You may need to click on the 'Set Privilege' button next to the schema list if you have changed user and they do not have permission to access the schema.
- Choose Test Connection to proceed.
- The next button will be clickable if the connection test succeeded.
- Click next to continue.
...
You will be presented with a screen which will show the database scripts being run that create the database schema. Several tables will be set up, this can take several minutes to complete.
- Any errors will be displayed and will also be added to the logs.
- There is an 'Edit System Keys' button at the top of the screen if you wish to change settings before deployment, but these can be changed in the Admin Console later. It is recommended that these settings are not altered, unless you were specifically instructed to do so.
- Assuming there are no errors, click next to proceed.
- Configure the server details. The next screen allows you to configure the logging details, ports and server details:
Set the path for the
...
iEnterprise Mobile log files that you created earlier in the Linux or Windows installation section of the document.
- The default logging level should be left at "info". It is possible to change it later
...
- in the iEnterprise Mobile™ admin console on the fly. Please see How to change the server logging level for more information on changing the logging.
- The Mobile Server Name you enter here will be the context in the URL that is accessed later. It is often advisable to make this name the same as the database schema name. For example
...
- : mobileserver
- Configure Ports. You can choose to run the administrative console and the server servlets on different ports.
...
- For more information see Before You Get Started.
- Single port - basic installation: For a basic installation, using the default Tomcat port 8080, you do not need to select anything. You would also use this option to run iEnterprise Mobile on a single port other than 8080. However, this requires editing of the server.xml file. Please see the tomcat documentation for more details.
- Split port - advanced installation: For an installation using two ports, select the checkmark next to 'Run Mobile Server admin console and Service Servlets on two different ports to increase security'. This will prompt you for additional information:
- Admin console port: This is the port that an administrator will use to access the admin console. It is the URL they will enter in a browser to access. For example: http://your.company.com:8085/mobileserver
- Service port: This is the port that all exernal devices connect over and will need to be open. In the example here, we could define port 8086. All devices will therefore need to be able to connect to this port. The 'Used Ports' section will display ports that you already have in use, so a duplicate is not selected.
- URIEncoding: Usually UTF-8, if you should change this, you will be advised to do so, otherwise, leave the default value.
- Service URL: You need to confirm the full URL that devices will connect to. This should include the service port / mobile name context, including whether it is http or https. If this is set incorrectly, your devices will not operate and you will see isssues in the admin console completing certain operations. Please set this carefully, in the format: http://your.company.com:8086/mobileserver
- Press Deploy Mobile Server to proceed.
- For more information see Before You Get Started.
...
Any errors which occurred will be displayed in the window which follows.
- If deploying on Windows,
...
- Tomcat will be automatically restarted by the installer. Alternatively, you can restart tomcat using 'Services' in windows.
- Linux users will get a reminder to restart
...
- Tomcat.
...
- If you deployed using Linux, you will need to update the ownership and restart tomcat. Please see Linux Preparation for details.
Info |
---|
If all has worked, your |
...
iEnterprise Mobile server is now available |
...
at (assuming you used port 8080): http:// |
...
your.company.com:8080/mobileserver You can log in to the |
...
iEnterprise Mobile server using admin/admin as the username and password. |
...
It will immediately ask for a new password. |
...