mirror of https://gitlab.com/hp3icc/emq-TE1.git
Update install.sh
This commit is contained in:
parent
78023cfbee
commit
3a52a37115
56
install.sh
56
install.sh
|
|
@ -59,7 +59,7 @@ rm get-pip.py
|
|||
# Instalar paquetes en el entorno virtual
|
||||
sudo apt install -y libssl-dev
|
||||
python3 -m pip install --no-cache-dir --upgrade pip setuptools
|
||||
python3 -m pip install --no-cache-dir cryptography pyopenssl autobahn Twisted dmr_utils3 bitstring jinja2 markupsafe bitarray configparser aprslib attrs
|
||||
python3 -m pip install --no-cache-dir --upgrade cryptography pyopenssl autobahn Twisted dmr_utils3 bitstring jinja2 MarkupSafe bitarray configparser aprslib attrs setuptools wheel service_identity pyOpenSSL mysqlclient tinydb ansi2html mysql-connector-python pandas xlsxwriter cursor pynmea2 maidenhead flask folium mysql-connector resettabletimer setproctitle requests libscrc Pyro5
|
||||
|
||||
# Instalar Rust y configurar versión
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||
|
|
@ -70,30 +70,7 @@ rustup default 1.71.1
|
|||
|
||||
# Crear archivo requirements.txt y instalar paquetes
|
||||
#cat <<EOF | sudo tee /opt/requirements.txt
|
||||
pip install --no-cache-dir --upgrade cryptography
|
||||
pip install --no-cache-dir --upgrade pyopenssl
|
||||
pip install --no-cache-dir --upgrade autobahn
|
||||
pip install --no-cache-dir --upgrade Twisted
|
||||
pip install --no-cache-dir --upgrade dmr_utils3
|
||||
pip install --no-cache-dir --upgrade bitstring
|
||||
pip install --no-cache-dir --upgrade jinja2
|
||||
pip install --no-cache-dir --upgrade MarkupSafe
|
||||
pip install --no-cache-dir --upgrade bitarray
|
||||
pip install --no-cache-dir --upgrade configparser
|
||||
pip install --no-cache-dir --upgrade aprslib
|
||||
pip install --no-cache-dir --upgrade attrs
|
||||
pip install --no-cache-dir --upgrade setuptools
|
||||
pip install --no-cache-dir --upgrade wheel
|
||||
pip install --no-cache-dir --upgrade service_identity
|
||||
pip install --no-cache-dir --upgrade pyOpenSSL
|
||||
pip install --no-cache-dir --upgrade mysqlclient
|
||||
pip install --no-cache-dir --upgrade tinydb
|
||||
pip install --no-cache-dir --upgrade ansi2html
|
||||
pip install --no-cache-dir --upgrade mysql-connector-python
|
||||
pip install --no-cache-dir --upgrade pandas
|
||||
pip install --no-cache-dir --upgrade xlsxwriter
|
||||
pip install --no-cache-dir --upgrade cursor
|
||||
#EOF
|
||||
|
||||
##############
|
||||
#sudo pip install --no-cache-dir --upgrade -r /opt/requirements.txt
|
||||
|
||||
|
|
@ -101,10 +78,6 @@ echo "Instalación completa."
|
|||
# Desactivar el entorno virtual
|
||||
deactivate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
####################
|
||||
sudo cat > /opt/emq-ver <<- "EOF"
|
||||
EMQ-VER: 01.07
|
||||
|
|
@ -199,29 +172,8 @@ bash -c "$(curl -fsSL https://gitlab.com/hp3icc/emq-TE1/-/raw/main/menu/menu-nxd
|
|||
|
||||
############################
|
||||
|
||||
pip install --no-cache-dir --upgrade cryptography
|
||||
pip install --no-cache-dir --upgrade pyopenssl
|
||||
pip install --no-cache-dir --upgrade autobahn
|
||||
pip install --no-cache-dir --upgrade Twisted
|
||||
pip install --no-cache-dir --upgrade dmr_utils3
|
||||
pip install --no-cache-dir --upgrade bitstring
|
||||
pip install --no-cache-dir --upgrade jinja2
|
||||
pip install --no-cache-dir --upgrade MarkupSafe
|
||||
pip install --no-cache-dir --upgrade bitarray
|
||||
pip install --no-cache-dir --upgrade configparser
|
||||
pip install --no-cache-dir --upgrade aprslib
|
||||
pip install --no-cache-dir --upgrade attrs
|
||||
pip install --no-cache-dir --upgrade setuptools
|
||||
pip install --no-cache-dir --upgrade wheel
|
||||
pip install --no-cache-dir --upgrade service_identity
|
||||
pip install --no-cache-dir --upgrade pyOpenSSL
|
||||
pip install --no-cache-dir --upgrade mysqlclient
|
||||
pip install --no-cache-dir --upgrade tinydb
|
||||
pip install --no-cache-dir --upgrade ansi2html
|
||||
pip install --no-cache-dir --upgrade mysql-connector-python
|
||||
pip install --no-cache-dir --upgrade pandas
|
||||
pip install --no-cache-dir --upgrade xlsxwriter
|
||||
pip install --no-cache-dir --upgrade cursor
|
||||
# pip install --no-cache-dir --upgrade cryptography pyopenssl autobahn Twisted dmr_utils3 bitstring jinja2 MarkupSafe bitarray configparser aprslib attrs setuptools wheel service_identity pyOpenSSL mysqlclient tinydb ansi2html mysql-connector-python pandas xlsxwriter cursor pynmea2 maidenhead flask folium mysql-connector resettabletimer setproctitle requests libscrc Pyro5
|
||||
|
||||
|
||||
(crontab -l; echo "* */1 * * * sync ; echo 3 > /proc/sys/vm/drop_caches >/dev/null 2>&1")|awk '!x[$0]++'|crontab -
|
||||
sudo systemctl enable gotty.service
|
||||
|
|
|
|||
Loading…
Reference in New Issue