Please refer to Teampel Server Help: "Installation and Configuration" > "Install/deploy (Linux environment)".
If you have any questions during deployment, please contact us.
Installation and Deployment (Linux Environment)
Installation Environment
CentOS 6 32-bit or 64-bit.
Install system components associated with Teampel
Teampel services rely on the following system components:libstdc++, libuuid, zlib, openssl, libcurl, openldap. For 64-bit OS, please update 64-bit components before installing 32-bit components. Command as followed:
#yum -y update libstdc++.x86_64
#yum -y install libstdc++.i686#yum -y update libuuid.x86_64
#yum -y install libuuid.i686#yum -y update ncurses-libs.x86_64
#yum -y install ncurses-libs.i686#yum -y update zlib.x86_64
#yum -y install zlib.i686#yum -y update openssl.x86_64
#yum -y install openssl.i686
#yum -y install openssl-devel.i686#yum -y update libcurl.x86_64
#yum -y install libcurl.i686
#yum -y install libcurl-devel.i686#yum -y update openldap.x86_64
#yum -y install openldap.i686
#yum -y install openldap-devel.i686
Install MySQL
Supports MySQL version 5.1 or above.If applicable, use MySQL service pre-installed in CentOS.
- #yum -y remove mysql* (You are advised to delete the built-in MySQL component library because it may conflict with the MySQL version that you are going to install)
- #rpm -ivh MySQL-shared-5.6.19-1.el6.x86_64.rpm
- #rpm -ivh MySQL-shared-compat-5.6.19-1.el6.x86_64.rpm
- #rpm -ivh MySQL-devel-5.6.19-1.el6.x86_64.rpm
- #rpm -ivh MySQL-server-5.6.19-1.el6.x86_64.rpm
- #rpm -ivh MySQL-client-5.6.19-1.el6.x86_64.rpm
- # service mysqld start (launch database services)
Note:
- When installing MySQL, a default password will be created at"/root/.mysql_secret".In order to connect MySQL services, please execute "#mysql -uroot -p$(cat /root/.mysql_secret)".If root password needs to be modified, please execute the following command "set password = password('new password');".
- If an installation error has occurred, there is a potential compatibility issue.Please delete the default MySQL component gallery, "# yum -y remove mysql*",and re-install MySQL rpm.
Install and Set up Teampel Server
- # tar xzvf ./teampel.tar.gz (extract "Teampel.tar.gz" package to specified directory)
- # cd teampel
- # chmod a+x ./service.sh (set configuration script as executable)
- # ./service.sh config (configure Teampel service environment)
- # ./service.sh start (launch Teampel services)
- Open a browser and visit http://127.0.0.1:35002 to configure database connection
- Configure database connection (steps same as Windows setup) and start all Teampel services.Please refer to the following commands:
- # ./service.sh start (launch Teampel services)
- # ./service.sh stop (stop all Teampel services)
- # ./service.sh status (check Teampel service status)
- Sign in to TP Management System (default account and password: admin) and create a division tree for your organization.
Frequently Used Commands
- # service mysqld start (launch MySQL service)
- # service mysqld stop (stop MySQL service)
- # service mysqld status (check MySQL service status)
- # ./service.sh config (configure service environment)
- # ./service.sh start (launch Teampel services)
- # ./service.sh stop (stop all Teampel services)
- # ./service.sh status (check Teampel service status)
- # ./service.sh config_service (Set to start with system startup. The script will automatically configure a "teampeld" service and start it at system startup. The commands "# service teampeld start/stop/restart" can also start, shut down or restart teampeld service)