Skip to content

Commit bec3f9d

Browse files
authored
Update README.md
1 parent b91ea50 commit bec3f9d

File tree

1 file changed

+27
-10
lines changed

1 file changed

+27
-10
lines changed

README.md

Lines changed: 27 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,33 @@
1212
## Instruction
1313
The installer requires an internet connection. The first run will take longer due to the need to download and install MySQL 8.0 CE database server, MySQL 8.0 shell and JDK 11.
1414

15-
1. Download and unzip to linux-installer-1.x.x dir: [linux-installer-1.2.0.zip](https://github.com/SCADA-LTS/linux-installer/releases/download/v1.2.0/linux-installer-1.2.0.zip)
16-
2. Start MySQL server:
17-
````
18-
./mysql_start.sh
19-
````
20-
3. After started MySQL server, then start Tomcat with Scada-LTS:
21-
````
22-
./tomcat_start.sh
23-
````
24-
4. If there is a problem with permissions, run the following command:
15+
1. Go to https://github.com/SCADA-LTS/linux-installer and select [releases](https://github.com/SCADA-LTS/linux-installer/releases) tab and then download latest release to desired folder.
16+
17+
2. Go to location of downloaded installer and extract it.
18+
19+
3. Start first script by using terminal and typing `./mysql_start.sh` inside extracted folder.
20+
21+
Script will ask for some basic information to make configuration run correctly. Below is an example of the data that can be entered:
22+
* Port: 3306
23+
* Username: root
24+
* Password: root
25+
* root password: root
26+
27+
After providing the information you should wait for the line confirming the correct setup of the database:
28+
`~/linux-installer-1.2.0/mysql/server/bin/mysqld: ready for connections. Version: '8.0.33' socket: '/tmp/mysql.sock' port: 3306 MySQL Community Server - GPL.`
29+
30+
4. Start second terminal in the same folder and run `./tomcat_start.sh` script.
31+
32+
Similar to first script you will have to provide some information, example below:
33+
* Enter port: 8080
34+
* Enter username: tcuser
35+
* Enter password: tcuser
36+
* Enter database port: 3306
37+
* Enter database username: root
38+
* Enter database password: root
39+
40+
After that you should be able to access Scada-LTS via web browser by typing in search bar `localhost:8080/Scada-LTS`
41+
5. If there is a problem with permissions, run the following command:
2542
````
2643
chmod +x linux-installer-1.x.x/**/*.sh
2744
chmod +x linux-installer-1.x.x/*.sh

0 commit comments

Comments
 (0)