| 1 | = Apache Web Server Installation = |
| 2 | |
| 3 | === perfSONAR Installation Options === |
| 4 | |
| 5 | First update the Ubuntu package repository. |
| 6 | |
| 7 | {{{ |
| 8 | sudo apt update |
| 9 | }}} |
| 10 | |
| 11 | Then install the web server. |
| 12 | {{{ |
| 13 | sudo apt install apache2 |
| 14 | }}} |
| 15 | |
| 16 | Check the apache version |
| 17 | |
| 18 | {{{ |
| 19 | apache2 -v |
| 20 | }}} |
| 21 | |
| 22 | Now visit your server through the IP address. http://server_ip_address. |
| 23 | |
| 24 | [[Image(https://ws.learn.ac.lk/raw-attachment/wiki/Nmm2022/Agenda/perfSONARsetup/ps1.png)]] |
| 25 | |
| 26 | = MariaDB DBMS Installation = |
| 27 | |
| 28 | Here we will choose MariaDB DBMS as our database application. Install this using below command. |
| 29 | |
| 30 | {{{ |
| 31 | sudo apt install mariadb-server mariadb-client |
| 32 | }}} |
| 33 | |
| 34 | Once installed check the version, |
| 35 | |
| 36 | {{{ |
| 37 | mysql --version |
| 38 | }}} |
| 39 | |
| 40 | For mysql there is a script that strengthen the mariaDB server security. It is a series of yes no questions which removes initial weaknesses of the server. |
| 41 | |
| 42 | To execute the scripts, |
| 43 | |
| 44 | {{{ |
| 45 | sudo mysql_secure_installation |
| 46 | }}} |
| 47 | |
| 48 | [[Image(https://ws.learn.ac.lk/raw-attachment/wiki/Nmm2022/Agenda/perfSONARsetup/ps1.png)]] |
| 49 | |
| 50 | You can find more information on these option from [https://docs.perfsonar.net/install_options.html this page]. |