Installing TeamLab on a Local ServerThis guide is intended for users with basic knowledge of Windows administrationThe Tea...
your own computer and folder names.)1. Copy all the contents of the folder _cideploy to c:teamlab.2. Go to c:teamlabservic...
b. Add yourself to the list of the portal users providing your personal data. After thata notification e-mail with a passw...
module● web.studioProductsCommunityModulesPhotoManagerApp_Data - photo database● web.studioProductsCommunityModulesPhotoMa...
Configuring TeamLab to work with MySQLTeamLab is by default configured to work with SQLite. The portal migration from SQLi...
Upcoming SlideShare
Loading in...5
×

Team lab install_en

1,846

Published on

Published in: Self Improvement, Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,846
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Team lab install_en

  1. 1. Installing TeamLab on a Local ServerThis guide is intended for users with basic knowledge of Windows administrationThe TeamLab portal includes:● TeamLabSvc — the TeamLab portal core service. Designed for user processing andportal configuration. It is also used to launch the TM Talk IM server. This service alsoincludes an embedded web server.● Web Studio — a website where all products and modules are located.● Additional auxiliary utilities.Portal Compilation1. Compile the source code with the help of the .bat file that can be found here:ascBuildAndDeploy.bat2. Once the source code is compiled, the portal binary files will be located in the_cideploy folder, TeamlabSvc can be found in the cideployservice folder, and WebStudio can be found in the _cideployweb.studio folder.Server System RequirementsMS .Net Framework 3.5 SP 1 must be installedCPU: 1.7GHz or higherRAM: 1Gb or higherOperating System : Windows XP SP2 or later. If you plan to use the portal for simultaneouswork of more than 15-20 users, we recommend installing the portal on a computer/server with a serverOS (Win2003 or Win2008).Deploying Portal on the IntranetFor a mid-size portal it will be sufficient to deploy it in its default configuration:● DB : SQLite3● Web Server : ASC embedded web server.Suppose youll need to deploy the portal on a computer named srv003 to the following folder:c:teamlab. (these are just example names, so when performing the operation please use
  2. 2. your own computer and folder names.)1. Copy all the contents of the folder _cideploy to c:teamlab.2. Go to c:teamlabservice. Open the TeamLabSvc.exe.Config configuration file. Find theappSettings section where youll need to locate and modify the following key:a. webport. The TCP/IP port on which the embedded web server will be launched.If there is no other web server (for example, IIS) launched on srv003, set thevalue to 80 which is the default http port. In this case the portal will be availableat the following address: http://srv003/. Otherwise, the portal will be available athttp://srv003:[webport]/3. Go c:teamlabweb.studio. Open the web.appsettings.config configuration file. Findthe appSettings section where youll need to find and modify the following key:a. asc.core.users.user-display-format. This setting can be either removed orchanged to that of your personal choice. It is used for setting user name displayformat: FirstName LastName({1} {0}) or LastName FirstName({0} {1}). If it is notspecified otherwise, the FirstName LastName will be used by default.4. Set the portal as Windows Service. Setting the portal as a Windows service, rather thana console application, will enable the portal to operate in the stand-alone mode. To dothat, please follow these steps:a. Create an install.bat file in the c:teamlabservice folder.b. Open install.bat in Notepad and enter the following text:sc create TeamLabPortal binPath= "с:teamlabserviceTeamLabSvc.exe" start= autoPlease enter the text exactly as provided above.c. Save the file and launch it as Administrator.d. Go Control Panel -> Administrative Tools, open Services, find theTeamLabPortal service in the list and start it.5. Your portal is now available at http://srv003:[webport]/. You will be able to login after enteringyour name, email address and password.6. After you have logged in, there are several important things to be done inside the portal:a. Configure SMTP settings so that notifications and other e-mails can be sent tousers from the portal.
  3. 3. b. Add yourself to the list of the portal users providing your personal data. After thata notification e-mail with a password will be sent to the e-mail address youspecified when creating your account. Youll be able to change password for theuser you have just added.c. Add the created user to administrators.d. Sign out in order to close the admin session and sign in again using the data ofyour personal account that you have just created. When you are signed in, delete the adminuser profile. This is done to avoid collisions, because the admin userhas a non-unique ID.e. Enter a name for the portal and load its logo.f. Invite your co-workers to the portal.g. Set any convenient DNS name for the server on which the portal is installed. You also needto set the new DNS name in the Custom Domain Name field on the Portal Settings page so thatthe links in the notifications led to this new DNS name.WarningsAttention! The above described configuration is not recommended for deploying the portal onthe Internet. For instructions on deploying on the Internet, please refer to the correspondingsection below.Attention! All the portal data are stored in the service and web.studio folders. Some importantfiles are listed below:● servicecore.db3 - TeamLabSvc core service database● web.studioApp_Data - the portal common databases● web.studiodata - files loaded to the portal● web.studioProductsCommunityModulesBlogsApp_Data - blog database● web.studioProductsCommunityModulesBlogsData - files loaded to the blog module● web.studioProductsCommunityModulesBookmarkingApp_Data - bookmarksdatabase● web.studioProductsCommunityModulesBookmarkingData - files loaded tobookmarks● web.studioProductsCommunityModulesForumApp_Data - forums database● web.studioProductsCommunityModulesForumData - files loaded to forums● web.studioProductsCommunityModulesNewsApp_Data - events database● web.studioProductsCommunityModulesNewsData - files loaded to the events
  4. 4. module● web.studioProductsCommunityModulesPhotoManagerApp_Data - photo database● web.studioProductsCommunityModulesPhotoManagerData - files loaded to thephotos module● web.studioProductsCommunityModulesWikiApp_Data - wiki database● web.studioProductsCommunityModulesWikiData - files loaded to wiki● web.studioProductsProjectsApp_Data - projects database● web.studioProductsProjectsData - files loaded to projectsDeploying Portal on the InternetThe only difference from the Intranet configuration consists in that the website will operate undera more powerful and secure web server Microsoft IIS included into Win2003 and Win2008packages.Configuring is performed in much the same way as for the Intranet. In addition to the stepsdescribed in the Deploying Portal on the Intranet section above, you will also need to performthe following operations:1. Go to c:teamlabservice. Open theTeamLabSvc.exe.Config configuration file. In theopened file find and modify the following key:a. change launch from “all” to “core,services”.2. Configure a website with the root directory c:teamlabweb.studio in IIS.3. Give maximum permissions to the account under which the site will operate (NETWORKSERVICE by default) to the directory c:teamlabweb.studio. All changes performedduring the portal functioning (creating folders, modifying/deleting files, etc.) will be savedto this directory.WarningsAttention! If your site is hosted under IIS, youll need to start it strictly in the following order:start the TeamLabPortal core service first, then launch the site itself. If the core service isrestarted, the site must be restarted as well.Attention! The Idle Timeout parameter must be set to zero in the website Application Poolsettings, so that the the application pool doesnt stop when idling. If the application pool stops,the What’s New notifications may fail to be sent.
  5. 5. Configuring TeamLab to work with MySQLTeamLab is by default configured to work with SQLite. The portal migration from SQLite toMySQL can be performed only after deploying the portal (Deploying Portal on the Intranet steps1-6 of this instruction)1. Edit file _cideployserviceTeamLabSvc.exe.Configa. Add line <add name="MySQL Data Provider"invariant="MySql.Data.MySqlClient"description=".Net Framework Data Provider for MySQL"type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data" /> to section<DbProviderFactories>b. Change the database connection line in the following section:<connectionStrings><add name="core" connectionString="Your database connection line"providerName="MySql.Data.MySqlClient" />2. Edit file _cideployweb.studioweb.connections.configChange connection lines for modules from SQLite to MySQL, as described in 1(b).3. In MySQL, run the SQL scripts located in the following directory: SQL_ScriptsMySql

×