Tag Archives: Installation

Installing TeamPass on Linux

This page describes how to install TeamPass on a Linux server.

Apache server

If you already have an Apache server installed with PHP and MySQL, then you can jump to next chapter. Otherwise, it is recommended to install XAMPP for Linux.
Please follow installation of XAMPP on ApacheFriends.org.

Prepare Database
  • Open PhpMyAdmin
  • Select tab called “Databases”
  • In the “Create new database” section, enter your database name (for example “teampass”) and select “UTF8_general_ci” as collation.
  • Click on “Create” button
Get TeamPass

Once your Apache server is running, download TeamPass.
Unzip the file into your localhost folder (by default it is /opt/lampp/htdocs) using command (unzip teampass.zip -d /opt/lampp/htdocs)

 Set MySQL database Administrator

We’ll now create a specific Administrator to this database

  • Click on “localhost” in order to get back to home page
  • Select “Privileges” tab
  • Click on “Add a new user” link
  • Enter the login information (I suggest to create a user “teampass_admin” for better understanding of what is this user)
  • Do not give any rights/privileges at this level of the user creation
  • Click on “Go” button

Now it’s time to set some privileges to this user.

  • From Home page, click on “Privileges” tab
  • Click on “Edit privileges” button corresponding to the ”teampass_admin” user
  •  Click on “Check All” link
  • Validate by clicking on button “Go”
Set CHMOD on folders
  • Open your terminal
  • Point to htdocs folder (enter cd /opt/lampp/htdcos)
  • Enter command chmod -R 777 teampass
Install TeamPass
  • Open your web browser
  • Enter url “http://localhost/teampass” or your specific domain
  • Follow the several steps (here bellow the 3 first steps)
  • Once installation is finished, you can use TeamPass on your Linux server.

Installing TeamPass on Windows server

 

In order to install TeamPass on a Windows server, you need to first have an Apache server with MySql and PHP. You can either install each of those components one by one, or directly use a full “All in One” package such as Xampp, WampServer, etc.
This guide is based upon WampServer, but is rather the same with any other package.

Install your Apache server
  • Download the last version of WampServer
  • Launch installation (you can follow installation directly from the Help page of the editor)
  • Once installed, start your server and you should see the wampserver icon in green. As shown in next screen capture.
Prepare TeamPass environment
Activate PHP mcrypt extension
  • Do a click on the WampServer icon
  • In the dialogbox, select PHP >PHP extensions and click on  ”php_mcrypt”
Set MySQL database Administrator
  • Open PhpMyAdmin (click on the WampServer icon and select PhpMyAdmin)
  • In the “Create new database” section, enter your database name (for example “teampass”) and select “UTF8_general_ci” as collation.
  • Click on “Create” button
 Set MySQL database Administrator

We’ll now create a specific Administrator to this database

  • Click on “localhost” in order to get back to home page
  • Select “Privileges” tab
  • Click on “Add a new user” link
  • Enter the login information (I suggest to create a user “teampass_admin” for better understanding of what is this user)
  • Do not give any rights/privileges at this level of the user creation
  • Click on “Go” button

Now it’s time to set some privileges to this user.

  • From Home page, click on “Privileges” tab
  • Click on “Edit privileges” button corresponding to the ”teampass_admin” user
  •  Click on “Check All” link

     

  • Validate by clicking on button “Go”
Upload files
  • Download TeamPass package
  • Unzip it in a temporary folder
  • If your installation is a local one, copy the folder TeamPass in folder “<wampserver_installation_path>/www”. If it is a remote server, use your FTP software to upload the TeamPass folder in “html_public” folder
Ready to install TeamPass
  • With your favorite web browser, get to “http://<your_teampass_url>”
  • Follow instruction given by the installation script

Upgrade

If you have installed a previous of TeamPass, you can easily upgrade to newest version by doing as described below.

Operations

  •  Download lastest package,
  •  Unzip package into a temporary folder (let’s call it [NewTP]),
  •  On your server, rename the actual TeamPass folder (for example to “teampass_old”)
  •  Upload [NewTP] on your server,
  •  Copy files from old folders called “Backups”, “Files” and “Upload”,
  •  Copy file /includes/settings.php into [NewTP],
  •  Enter url: http://your_domain/cpassman/install/upgrade.php,
  •  Follow instructions,
  •  You can now connect to http://your_domain/cpassman,
  • Think about cleaning up your Browser’s cache

Installation

Requirements

You need to check that your server has:

  •  Apache,
  •  MySQL,
  •  PHP version 5.3 or higher,
  •  PHP extension “mcrypt” enabled,
  • For LDAP, PH extension “LDAP” enabled.

Operations

  •  Download lastest package,
  •  Unzip package into a temporary folder,
  •  Upload package on your server,
  •  Enter url: http://your_domain/cpassman/install/install.php,
  •  Follow instructions,
  •  You can now connect to http://your_domain/cpassman,
  •  The by default login/password is admin.