forked from Alan-ADATA/SSS-PTS-TEST
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathINSTALL
More file actions
45 lines (28 loc) · 1.12 KB
/
INSTALL
File metadata and controls
45 lines (28 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
The following are example install steps for this benchmark.
# UBUNTU 16.04LTS SETUP
# install dependencies
$sudo apt-get update
$sudo apt-get -y install fio gnuplot util-linux zip hdparm wkhtmltopdf xvfb git nvme-cli php-cli php-mysql apache2 smartmontools
# install fio-2.16
https://packages.ubuntu.com/artful/fio
# install MariaDB
https://downloads.mariadb.org/mariadb/repositories/#mirror=ossplanet&distro=Ubuntu&distro_release=xenial--ubuntu_xenial
# install phpMyAdmin
https://www.phpmyadmin.net/
https://docs.phpmyadmin.net/en/latest/setup.html#ubuntu
# get SSS-PTS-TEST
$cd /opt
$sudo git clone https://github.com/Alan-ADATA/SSS-PTS-TEST.git
# Set up Database
1. Log in phpMyAdmin and create a new 'pts' database
2. Add user account user name:pts password:pts for 'pts' database
3. import pts.sql from 'SSS-PTS-TEST/web/'
4. Add a new admin user into pts.user table
# config apache server
1. create a symbolic link
$sudo ln -s /opt/SSS-PTS-TEST/web/ /var/www/html/pts
2. $sudo service apache2 restart
3. $sudo visudo
add 'www-data ALL=(ALL) NOPASSWD: ALL'
# run
Open a browser and type 'localhost/pts' in address bar.