|
|
# Cheetah Experimental Platform Web
|
|
|
# Cheetah Experimental Platform Web (CEP-Web)
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
### Set up the database (MySQL)
|
|
|
* Login to you MySQL server: mysql -uroot -p
|
|
|
* Create a database for Cheetah Web: create database cheetah_web charset utf8;
|
|
|
* Create a user for Cheetah Web: grant all on cheetah_web.* to cheetah_web identified by 'cheetah_web_pass';
|
|
|
CEP-Web requires an underlying database to work properly. It has been developed using MySQL 5.6 (http://www.mysql.com). Therefore, we recommend to install MySQL 5.6 to guarantee the best compatibility as follows.
|
|
|
|
|
|
* Download MySQL server from http://www.mysql.com
|
|
|
* Follow the installation instructions that came with your MySQL Download
|
|
|
* Login to you MySQL server using the command line as follows or use a MySQL client, e.g., MySQL Workbench
|
|
|
```
|
|
|
mysql -uroot -p
|
|
|
```
|
|
|
* Create a new database for CEP-Web:
|
|
|
```
|
|
|
create database cheetah_web charset utf8;
|
|
|
```
|
|
|
* Create a user for CEP-Web
|
|
|
```
|
|
|
grant all on cheetah_web.* to cheetah_web identified by 'cheetah_web_pass';
|
|
|
```
|
|
|
* Exit the MySQL client
|
|
|
* Initialize the content of the database: mysql -ucheetah_web -p cheetah_web < cheetah_web.sql
|
|
|
* Initialize the content of the database using the command line or using the MySQL Workbench
|
|
|
```
|
|
|
mysql -ucheetah_web -p cheetah_web < cheetah_web.sql
|
|
|
```
|
|
|
|
|
|
### Set up Tomcat
|
|
|
* Download Tomcat 6.x: https://tomcat.apache.org/download-60.cgi
|
... | ... | |