PC Monitor Enterprise Server Setup Guide
Prerequisites Server Requirements - Microsoft Windows Server 2008 R2 or 2012-2GB RAM - IIS 7.5 or IIS 8.0 (with ASP.NET 4.0 installed) - Microsoft SQL Server 2008 R2 or 2012 Express Edition - 1 fixed IP address - 1 SSL Certificate or a Wildcard Certificate or SAN Certificate Required steps before installing the PC Monitor Enterprise Server: - Obtain the SSL certificate for pcmonitor.<yourdomainname> - Add a DNS entry for pcmonitor.<yourdomainname> -> Public IP address - Install the SSL certificate in IIS - Install SQL Server 2008 R2 or 2012 Express Edition with Management Tools on the server - Allow connections on port TCP 443 (HTTPS) IN/OUT for pcmonitor.<yourdomainname> in the firewall - Allow connection on port TCP 443 (HTTPS) OUT to slv.mobilepcmonitor.com and slv2.mobilepcmonitor.com in the firewall Important: A valid product key and license file will also be required. Make sure you have obtained them before starting the installation. The license file will contain the name of your company and the server name (pcmonitor.<yourdomainname>). 2 mobilepcmonitor.com
Windows 2008 R2 Server Configuration Requirements The following services must be selected for the IIS role: - Common HTTP Features o Static Content o Default Document o HTTP Errors - Application Development o ASP.NET o.net Extensibility o ISAPI Extensions o ISAPI Filters - Performance o Static Content Compression o Dynamic Content Compression - Security o Request Filtering o IP and Domain Restrictions - Management Tools o IIS Management Console 3 mobilepcmonitor.com
Windows 2012 Server Configuration Requirements The following features must be selected: -.NET 4.5 Framework Features o.net Framework 4.5 o ASP.NET 4.5 HTTP Activation TCP Port Sharing The following services must be selected for the Web Server IIS role: - Common HTTP Features o Default Document o HTTP Errors o Static Content - Performance o Static Content Compression o Dynamic Content Compression - Security o Request Filtering o IP and Domain Restrictions - Application Development o.net Extensibility 4.5 o ASP.NET 4.5 o ISAPI Extensions o ISAPI Filters - IIS Management Tools o IIS Management Console 4 mobilepcmonitor.com
Installation Step 1 Software Download Download and install the following software components: - PC Monitor Manager http://www.mobilepcmonitor.com/download/pcmonitor_x64.msi Note:.NET Framework 4.0 Full might be required at this stage; a prompt will be displayed if that is the case. - PC Monitor Enterprise Server Installer http://www.mobilepcmonitor.com/download/serverinstall.exe Note: Keep the C:\Hosting as the destination folder. - PC Monitor Enterprise Server Updater Service http://www.mobilepcmonitor.com/download/serverupdate_x64.msi Note: This software component installs a Windows service that checks for server updates. Please make sure you allowed TCP connection out on port 443 to slv.mobilepcmonitor.com and slv2.mobilepcmonitor.com - PC Monitor Dashboard http://www.mobilepcmonitor.com/download/pcdashboard_x64.msi Note: Dashboard can be installed on any computer; the installation on the server is only for testing. 5 mobilepcmonitor.com
Step 2 Database Configuration - Open the SQL Server Management Studio and create a database named pcmonitor. - Run the SQL Script that can be found on C:\Hosting\Admin\SQL Scripts\ SQL_DB.txt - Go to Security, Logins and for the NT AUTHORITY\SYSTEM user assign the db_owner role for the pcmonitor database as shown below: 6 mobilepcmonitor.com
Step 3 PC Monitor Admin Settings The PC Monitor Admin application is installed in C:\Hosting\Admin. Open the PCMonitorAdmin.config file and make sure the SQL Service instance name is correct. By default the value is localhost\sqlexpress edit that value if required and save the file. Create a desktop shortcut for PCMonitorAdmin.exe and name it PC Monitor Admin. 7 mobilepcmonitor.com
Step 4 Web Service Settings The web service is installed in C:\Hosting\Service Open the Web.config file and perform the same operation as in Step 3. 8 mobilepcmonitor.com
Step 5 Web App Settings The Web application is installed in C:\Hosting\WebApp. Edit the settings.pcm file from the configuration subfolder and replace the <changeme> value with your DNS entry name pcmonitor.<yourdomainname> and save the file. You can also adjust the Idle time for a connection before it is disconnected the default is 15 minutes. 9 mobilepcmonitor.com
Step 6 License and Server Updates Start the PC Monitor Admin for the first time. If the database connection has not been set up correctly an error message will appear describing the error. After the Admin application has started it will display an error message related to the missing license. Go to the License and Administration tab, enter your product key and install the license file. The key and the license file should be placed in the C:\Hosting folder. Once the license has been installed close the PC Monitor Admin application. Create a C:\Logs folder. Go to Services and start the PC Monitor Server Update Service. This service will connect to the updates server slv.mobilepcmonitor.com on 443 (HTTPS) and will check if a new version is available. If a new version is available it will be downloaded and installed. The whole process is logged in the C:\Logs\ PCMonitor_ServerUpdate.log file please inspect that file and make sure there are no errors and that the update is completed successfully. 10 mobilepcmonitor.com
Step 7 IIS Web Service Configuration Start the Internet Information Services (IIS) Manager and create a new web site: Site Name: pcmonitor Physical Path: C:\Hosting\Service Binding Type: https IP address: All Unassigned or a specific IP assigned for PC Monitor Port: 443 SSL certificate: Select the SSL certificate already installed in IIS for pcmonitor.<yourdomainname> Press OK when complete. Note: If a web site named Default Web Site is defined in IIS and it is not used it is recommended that you delete it. 11 mobilepcmonitor.com
After the web site has been created select it and click on the SSL Settings option. Make sure the Require SSL is selected and then press the Apply link from the top right. 12 mobilepcmonitor.com
Open the Application Pools in IIS and select the pcmonitor application pool. Change the.net Framework version to.net Framework v4.0 and press OK. 13 mobilepcmonitor.com
Edit the pcmonitor application pool advanced settings: Select the LocalSystem Identity, set the Idle Time-out (minutes) to 0 and press OK. 14 mobilepcmonitor.com
Edit the pcmonitor application pool recycling settings: Change the Regular time intervals (in minutes) to 7200, press Next then OK. 15 mobilepcmonitor.com
Step 8 IIS Web App Configuration (optional) Select the pcmonitor web site: And click on the Add Application option. Enter web as alias, C:\Hosting\WebApp as Physical path and press OK. 16 mobilepcmonitor.com
Select the newly created application and click on the Default Document option: And add the index.html entry: 17 mobilepcmonitor.com
Step 9 Testing the installation Open a web browser on the server and enter the following address: https://pcmonitor.<yourdomainname>/server.svc You should see a result like this: If you get an error instead of this result make sure that: 1. The HTTPS (443) requests to pcmonitor.<yourdomainname> are forwarded to the current server; 2. The DNS name resolves correctly; 3. In some cases,.net 4.0 is not registered in IIS. In this case, open a command prompt and go to C:\Windows\Microsoft.NET\Framework64\v4.0.30319 folder. Type the following command: aspnet_regiis i Wait for the configuration to finish then try the same address again in the web browser. Once you get the correct result the installation is completed. 18 mobilepcmonitor.com
Step 10 Configuring the server Start the PC Monitor Admin application and create a first account: 19 mobilepcmonitor.com
Go to License and Administrator tab -> Server Administration tab: Enter your Web Server address, your newly created username and password and an email address that will be used to send server related notifications. The final configuration item is the email account used to send email notifications to users. Go to Server Settings tab -> Email Notifications tab in order to configure that account. 20 mobilepcmonitor.com
Step 11 Configuring the First PC Monitor Agent Start the PC Monitor Manager application installed on that server; enter the new account credentials and make sure to select Use Dedicated Server option and enter the Server Address: pcmonitor.<yourdomainname> Once completed press OK and start the service. 21 mobilepcmonitor.com
Step 12 Configuring the PC Monitor Dashboard Start the PC Monitor Dashboard application on that server. As the Dashboard runs for the first time a configuration dialog will appear: Press OK when completed you should now see your server on the list. 22 mobilepcmonitor.com
Step 13 Configuring the Mobile App Search PC Monitor in the app store or download the mobile application from: Apple AppStore: http://itunes.apple.com/app/pc-monitor/id405566169?mt=8 Google Play: http://market.android.com/details?id=com.mobilepcmonitor Windows Phone Marketplace: http://windowsphone.com/s?appid=f80e9d87-c254-e011-854c-00237de2db9e Windows 8 Store: http://apps.microsoft.com/webpdp/en-us/app/pc-monitor/9efc1d1c-6816-48bc-8de7-d4b21a5b3589 Amazon Appstore: http://www.amazon.com/gp/product/b006benipi Then configure the application: Remember to select the Use Dedicated Server option and enter your server address. 23 mobilepcmonitor.com
Step 13 Testing the Web App Open a web browser and enter the following address: https://pcmonitor.<yourdomainname>/web The web application should open: Enter your username and password and you should be able to login and see the first computer in the list. 24 mobilepcmonitor.com