| tierno | c312cc1 | 2018-05-04 15:11:26 +0200 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | |
| 3 | ## |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may |
| 5 | # not use this file except in compliance with the License. You may obtain |
| 6 | # a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
| 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
| 13 | # License for the specific language governing permissions and limitations |
| 14 | # under the License. |
| 15 | # |
| 16 | # For those usages not covered by the Apache License, Version 2.0 please |
| 17 | # contact with: OSM_TECH@list.etsi.org |
| 18 | ## |
| 19 | |
| 20 | echo "POST INSTALL OSM-COMMON" |
| Benjamin Diaz | 76a6056 | 2018-10-18 17:31:05 -0300 | [diff] [blame] | 21 | echo "Installing python dependencies via pip..." |
| tierno | c312cc1 | 2018-05-04 15:11:26 +0200 | [diff] [blame] | 22 | |
| delacruzramo | 562435a | 2019-12-10 12:06:01 +0100 | [diff] [blame^] | 23 | pip3 install --upgrade aiokafka |
| 24 | pip3 install --upgrade pymongo |
| Felipe Vicens | c9e91d8 | 2019-12-03 12:41:09 +0100 | [diff] [blame] | 25 | pip3 install --upgrade pyyaml==5.* |
| tierno | 3fa08d4 | 2018-11-02 18:21:46 +0100 | [diff] [blame] | 26 | pip3 install pycrypto # added dependency python3-crypto seems not working |
| tierno | c312cc1 | 2018-05-04 15:11:26 +0200 | [diff] [blame] | 27 | |
| 28 | #Creation of log folder |
| 29 | mkdir -p /var/log/osm |
| 30 | |