Skip to content

Commit 46b2f8c

Browse files
authored
Merge pull request #203 from fryntiz/dev
Mejoras en software y dependencias
2 parents 7149b34 + f516528 commit 46b2f8c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+728
-79
lines changed

Apps/1_Aplicaciones_Basicas.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ aplicaciones_basicas() {
3838
instalarSoftwareLista "$SOFTLIST/Basico/monitores.lst"
3939
instalarSoftwareLista "$SOFTLIST/Basico/terminal.lst"
4040
instalarSoftwareLista "$SOFTLIST/Basico/tipografias.lst"
41+
instalarSoftwareLista "$SOFTLIST/Basico/network.lst"
4142

4243
repararGestorPaquetes
4344
}

Apps/IDEs/phpstorm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ phpstorm_postconfiguracion() {
7575
}
7676

7777
phpstorm_instalador() {
78-
local version='PhpStorm-2020.1.2'
78+
local version='PhpStorm-2020.3'
7979

8080
echo -e "$VE Comenzando instalación de$RO PhpStorm$CL"
8181

Apps/IDEs/pycharm_pro.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ pycharm_postconfiguracion() {
7474
}
7575

7676
pycharm_pro_instalador() {
77-
local version='pycharm-professional-2020.1.2'
77+
local version='pycharm-professional-2020.3'
7878

7979
echo -e "$VE Comenzando instalación de$RO PyCharm$CL"
8080

Apps/IDEs/webstorm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ webstorm_postconfiguracion() {
7070
}
7171

7272
webstorm_instalador() {
73-
local version='WebStorm-2019.3'
73+
local version='WebStorm-2020.3'
7474

7575
echo -e "$VE Comenzando instalación de$RO WebStorm$CL"
7676

Apps/desarrollo.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ aplicaciones_desarrollo() {
3434
instalarSoftwareLista "$SOFTLIST/Desarrollo/ftp.lst"
3535
instalarSoftwareLista "$SOFTLIST/Desarrollo/ide.lst"
3636
instalarSoftwareLista "$SOFTLIST/Desarrollo/nubes.lst"
37+
instalarSoftwareLista "$SOFTLIST/Desarrollo/android.lst"
3738

3839
repararGestorPaquetes
3940
}

Apps/pentesting.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ aplicaciones_pentesting() {
3030
instalarSoftwareLista "$SOFTLIST/Pentesting/frameworks.lst"
3131
instalarSoftwareLista "$SOFTLIST/Pentesting/redes.lst"
3232
instalarSoftwareLista "$SOFTLIST/Pentesting/sistema.lst"
33+
instalarSoftwareLista "$SOFTLIST/Pentesting/bluetooth.lst"
34+
instalarSoftwareLista "$SOFTLIST/Pentesting/crackers.lst"
3335

3436
repararGestorPaquetes
3537
}

Apps/video.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ aplicaciones_video() {
3030
instalarSoftwareLista "$SOFTLIST/Video/conversores.lst"
3131
instalarSoftwareLista "$SOFTLIST/Video/editores.lst"
3232
instalarSoftwareLista "$SOFTLIST/Video/reproductores.lst"
33+
instalarSoftwareLista "$SOFTLIST/Video/record_screen.lst"
3334

3435
repararGestorPaquetes
3536
}

Lenguajes-Programacion/php.sh

Lines changed: 32 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@ php_instalar() {
4141
instalarSoftwareLista "$SOFTLIST/Lenguajes-Programacion/php.lst"
4242
}
4343

44+
php_composer_latest_install() {
45+
echo -e "$VE Instalando la última versión de$RO Composer$CL"
46+
php -r "copy('https://getcomposer.org/installer', '/tmp/composer-setup.php');"
47+
sudo php '/tmp/composer-setup.php' --install-dir='/usr/bin/' --filename='composer-latest'
48+
}
49+
4450
php_postconfiguracion() {
4551
echo -e "$VE Generando Post-Configuraciones de php"
4652

@@ -76,6 +82,19 @@ php_postconfiguracion() {
7682
echo -e "$VE Activando Mostrar errores al iniciar → 'display_startup_errors'$CL"
7783
sudo sed -r -i "s/^;?\s*display_startup_errors\s*=.*$/display_startup_errors = On/" $PHPINI
7884

85+
echo -e "$VE Tiempo máximo de ejecución 5 minutos → 'max_execution_time'$CL"
86+
sudo sed -r -i "s/^;?\s*max_execution_time\s*=.*$/max_execution_time = 300/" $PHPINI
87+
88+
echo -e "$VE Límite de Memoria por script → 'memory_limit = 512M'$CL"
89+
sudo sed -r -i "s/^;?\s*memory_limit\s*=.*$/memory_limit = 512M/" $PHPINI
90+
91+
## Límite de archivos
92+
echo -e "$VE Tamaño máximo de subida → 'upload_max_filesize = 10240M'$CL"
93+
sudo sed -r -i "s/^;?\s*upload_max_filesize\s*=.*$/upload_max_filesize = 10240M/" $PHPINI
94+
95+
echo -e "$VE Tamaño máximo de POST → 'post_max_size = 10240M'$CL"
96+
sudo sed -r -i "s/^;?\s*post_max_size\s*=.*$/post_max_size = 10240M/" $PHPINI
97+
7998
else
8099
echo -e "$VE Configurando PHP para producción$CL"
81100
echo -e "$VE Desactivando Reportar todos los errores → 'error_reporting'$CL"
@@ -86,20 +105,20 @@ php_postconfiguracion() {
86105

87106
echo -e "$VE Desactivando Mostrar errores al iniciar → 'display_startup_errors'$CL"
88107
sudo sed -r -i "s/^;?\s*display_startup_errors\s*=.*$/display_startup_errors = Off/" $PHPINI
89-
fi
90108

91-
echo -e "$VE Tiempo máximo de ejecución 5 minutos → 'max_execution_time'$CL"
92-
sudo sed -r -i "s/^;?\s*max_execution_time\s*=.*$/max_execution_time = 300/" $PHPINI
109+
echo -e "$VE Tiempo máximo de ejecución 5 minutos → 'max_execution_time'$CL"
110+
sudo sed -r -i "s/^;?\s*max_execution_time\s*=.*$/max_execution_time = 120/" $PHPINI
93111

94-
echo -e "$VE Límite de Memoria por script → 'memory_limit = 256M'$CL"
95-
sudo sed -r -i "s/^;?\s*memory_limit\s*=.*$/memory_limit = 256M/" $PHPINI
112+
echo -e "$VE Límite de Memoria por script → 'memory_limit = 128M'$CL"
113+
sudo sed -r -i "s/^;?\s*memory_limit\s*=.*$/memory_limit = 128M/" $PHPINI
96114

97-
## Límite de archivos
98-
echo -e "$VE Tamaño máximo de subida → 'upload_max_filesize = 1024M'$CL"
99-
sudo sed -r -i "s/^;?\s*upload_max_filesize\s*=.*$/upload_max_filesize = 1024M/" $PHPINI
115+
## Límite de archivos
116+
echo -e "$VE Tamaño máximo de subida → 'upload_max_filesize = 1024M'$CL"
117+
sudo sed -r -i "s/^;?\s*upload_max_filesize\s*=.*$/upload_max_filesize = 1024M/" $PHPINI
100118

101-
echo -e "$VE Tamaño máximo de POST → 'post_max_size = 1024M'$CL"
102-
sudo sed -r -i "s/^;?\s*post_max_size\s*=.*$/post_max_size = 1024M/" $PHPINI
119+
echo -e "$VE Tamaño máximo de POST → 'post_max_size = 1024M'$CL"
120+
sudo sed -r -i "s/^;?\s*post_max_size\s*=.*$/post_max_size = 1024M/" $PHPINI
121+
fi
103122
}
104123

105124
personalizar_php() {
@@ -224,4 +243,7 @@ php_instalador() {
224243
php_preconfiguracion
225244
php_instalar
226245
php_postconfiguracion
246+
247+
## Instalo la última versión de composer
248+
php_composer_latest_install
227249
}

Personalizar/0_Main.sh

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ source "$WORKSCRIPT/Personalizar/icons.sh"
2727
source "$WORKSCRIPT/Personalizar/Terminales.sh"
2828
source "$WORKSCRIPT/Personalizar/cursors.sh"
2929
source "$WORKSCRIPT/Personalizar/qt.sh"
30+
source "$WORKSCRIPT/Personalizar/services.sh"
3031

3132
############################
3233
## FUNCIONES ##
@@ -42,6 +43,7 @@ menuPersonalizacion() {
4243
gtk_install
4344
qt_install
4445
terminales_instalador
46+
services_enable_disable
4547
}
4648

4749
if [[ "$1" = '-a' ]]; then
@@ -57,7 +59,8 @@ menuPersonalizacion() {
5759
5) Personalizar GTK
5860
6) Personalizar QT
5961
7) Configurar Terminales
60-
8) Todos los pasos anteriores
62+
8) Habilitar/Deshabilitar Servicios al iniciar
63+
9) Todos los pasos anteriores
6164
6265
0) Atrás
6366
'
@@ -75,8 +78,9 @@ menuPersonalizacion() {
7578
4) cursors_install;; ## Cursores Personalizados
7679
5) gtk_install;; ## Personalizar GTK
7780
6) qt_install;; ## Personalizar QT
78-
7) terminales_instalador;; ## Configurar tTerminales
79-
8) todas_personalizaciones;; ## Todos los pasos anteriores
81+
7) terminales_instalador;; ## Configurar Terminales
82+
8) services_enable_disable;; ## Configurar servicios
83+
9) todas_personalizaciones;; ## Todos los pasos anteriores
8084

8185
0) ## SALIR
8286
clear_screen

Personalizar/Configurar_GIT.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,16 @@ configurar_git() {
107107
git config --global gui.encoding utf-8
108108
git config --global help.autocorrect 1 ## Activa corrector de comandos
109109

110+
if [[-f '/usr/bin/meld' ]]; then
111+
git config --global diff.tool meld
112+
git config --global difftool.meld.path "/usr/bin/meld"
113+
git config --global difftool.prompt false
114+
115+
git config --global merge.tool meld
116+
git config --global mergetool.meld.path "/usr/bin/meld"
117+
git config --global mergetool.prompt false
118+
fi
119+
110120
## Preguntar si se desea configurar GPG
111121
echo -e "$VE ¿Quieres configurar una clave$RO GPG$VE para firmar?$CL"
112122
read -p 'Introduce una opción y/N → ' input

0 commit comments

Comments
 (0)