Installing the Klocwork Server package on Mac
Installing the Klocwork Server package on MacThis page provides instructions for installing the Klocwork Server package using the installer. Before you beginUpgrading? See Upgrading from a previous version. Where do I get the software? Download the packages from Klocwork Support. Typically, only one or two users in an organization have access to Klocwork Developer Network. If you don't have access, you can register for a new account. You need a license. See Getting a license if you don't already have one.
Prerequisites
Default settings and installation directories
You can override server settings and specify where the projects_root is created during installation. Running the installation packageRun the Klocwork Server installation package, following the prompts. Please note the following:
TroubleshootingCheck the installation log from the Console (Applications > Utilities) or /var/log/install.log. Start the serversStart the servers with kwservice start: kwservice --projects-root <projects_root> start
Example kwservice --projects-root /space/klocwork/projects_root start You see messages indicating that the servers have been started, showing the server host name and port number and the path to the projects_root. For example: Using projects root: /space/klocwork/projects_root Local Host is: serverxyz.com [13.1.1.142] Starting License Server [started on serverxyz.com:27000] (projects root is /space/klocwork/projects_root) Starting Database Server [started on serverxyz.com:3306] (projects root is /space/klocwork/projects_root) Starting Klocwork Server [started on serverxyz.com:8080] (projects root is /space/klocwork/projects_root) Log in to Klocwork Static Code AnalysisAfter starting the Klocwork servers, Klocwork Static Code Analysis is accessible from a browser using the URL of the Klocwork server hostname and the Klocwork server port chosen during the install (for example, server21:8080). By default, the person who installed Klocwork is set as the Klocwork administrator, and is given the Projects root admin role. Initially, the Basic Authentication access control method is used, so no password is needed to log in. For example, if the user account used during the installation was ‘jsmith’, to log in to Static Code Analysis with the administrator role, use the credentials:
username: jsmith password: <empty>For more details on security and authentication methods, see Security and permissions. |