Skip to content

Commit 7149b34

Browse files
authored
Merge pull request #202 from fryntiz/dev
Actualizo repositorios y claves gpg
2 parents cb80c41 + d658a5e commit 7149b34

File tree

9 files changed

+36
-12
lines changed

9 files changed

+36
-12
lines changed

Repositorios/debian/comunes.sh

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,6 @@ comunes_agregar_llaves() {
7272
actualizarRepositorios
7373
instalarSoftware 'deb.torproject.org-keyring' 'apt-transport-tor'
7474

75-
## Repositorio para mongodb.
76-
echo -e "$VE Agregando clave para$RO MongoDB Repositorio Oficial$CL"
77-
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 9DA31620334BD75D9DCB49F368818C72E52529D4
78-
7975
## Repositorio para Team Viewer.
8076
echo -e "$VE Agregando clave para$RO Team Viewer Repositorio Oficial$CL"
8177
wget -O - https://download.teamviewer.com/download/linux/signature/TeamViewer2017.asc | sudo apt-key add -
@@ -96,6 +92,8 @@ comunes_agregar_llaves() {
9692
echo -e "$VE Agregando clave para el editor$RO VS Codium$CL"
9793
wget -qO - https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg | gpg --dearmor | sudo dd of=/etc/apt/trusted.gpg.d/vscodium-archive-keyring.gpg
9894
sudo chmod ugo+r /etc/apt/trusted.gpg.d/vscodium-archive-keyring.gpg
95+
#sudo touch /etc/apt/apt.conf.d/99verify-peer.conf
96+
#echo "Acquire { https::Verify-Peer false }" | sudo tee /etc/apt/apt.conf.d/99verify-peer.conf
9997

10098
## Google Earth
10199
echo -e "$VE Agregando clave para $RO Google Earth$CL"
@@ -127,16 +125,24 @@ comunes_agregar_llaves() {
127125
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F24AEA9FB05498B7
128126

129127
## QOwnNotes
128+
echo -e "$VE Agregando clave para $RO QOwnNotes$CL"
130129
wget http://download.opensuse.org/repositories/home:/pbek:/QOwnNotes/Debian_10/Release.key -O - | sudo apt-key add -
131130

132131
## Any Desk
132+
echo -e "$VE Agregando clave para $RO Any Desk$CL"
133133
wget -qO - https://keys.anydesk.com/repos/DEB-GPG-KEY | sudo apt-key add -
134134

135135
## GO CD (Desarrollo continuo)
136+
echo -e "$VE Agregando clave para $RO GO CD$CL"
136137
curl https://download.gocd.org/GOCD-GPG-KEY.asc | sudo apt-key add -
137138

138139
## Jenkins
140+
echo -e "$VE Agregando clave para $RO Jenkins$CL"
139141
wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add -
142+
143+
## MongoDB
144+
echo -e "$VE Agregando clave para $RO MongoDB$CL"
145+
wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | sudo apt-key add -
140146
}
141147

142148
##
@@ -159,13 +165,14 @@ comunes_download_repositorios() {
159165
echo -e "$VE Descargando repositorios desde scripts oficiales$CL"
160166
## NodeJS Oficial
161167
echo -e "$VE Agregando repositorio$RO NodeJS$AM Repositorio Oficial$CL"
162-
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
168+
curl -sL https://deb.nodesource.com/setup_current.x | sudo -E bash -
163169

164170
## Riot
165171
echo -e "$VE Agregando Repositorio para$RO Riot (Matrix)$CL"
166172
sudo sh -c "echo '##deb https://riot.im/packages/debian/ artful main' > /etc/apt/sources.list.d/matrix-riot-im.list"
167173

168174
## Atom
175+
echo -e "$VE Agregando Repositorio para$RO Editor Atom$CL"
169176
sudo sh -c 'echo "deb [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main" > /etc/apt/sources.list.d/atom.list'
170177
}
171178

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
########################################################
2+
## MongoDB ##
3+
########################################################
4+
5+
deb [ arch=amd64 ] http://repo.mongodb.org/apt/debian buster/mongodb-org/4.4 main
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1+
########################################################
2+
## VS Codium ##
3+
########################################################
4+
## https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo
5+
## wget -qO - https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg | gpg --dearmor | sudo dd of=/etc/apt/trusted.gpg.d/vscodium-archive-keyring.gpg
6+
17
deb [signed-by=/etc/apt/trusted.gpg.d/vscodium-archive-keyring.gpg] https://paulcarroty.gitlab.io/vscodium-deb-rpm-repo/debs/ vscodium main

Repositorios/debian/stable/sources.list.d/mongodb.list

Lines changed: 0 additions & 1 deletion
This file was deleted.

Servidores/mongodb.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ mongodb_instalar() {
3535

3636
mongodb_postconfiguracion() {
3737
echo -e "$VE Generando Post-Configuraciones de$RO mongodb$CL"
38+
sudo systemctl start mongod || sudo systemctl daemon-reload && sudo systemctl start mongod
39+
sudo systemctl status mongod
40+
sudo systemctl enable mongod
3841
}
3942

4043
mongodb_instalador() {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
kate
1+
kate
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
codium
Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
mongodb
2-
mongodb-clients
3-
mongodb-server
4-
mongo-tools
1+
mongodb-org
2+
mongodb-database-tools
3+
mongodb-org-database-tools-extra
4+
mongodb-org-mongos
5+
mongodb-org-server
6+
mongodb-org-shell
7+
mongodb-org-tools

main.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ if [[ -a "$WORKSCRIPT/.env" ]]; then
5353
fi
5454

5555
USER=$(whoami) ## Usuario que ejecuta el script
56-
VERSION='0.8.10' ## Versión en desarrollo
56+
VERSION='0.8.11' ## Versión en desarrollo
5757
MY_DISTRO="$DISTRO" ## Distribución sobre la que se ejecuta
5858
MY_BRANCH="$BRANCH" ## stable|testing|unstable
5959
MY_ENV="$ENV" ## prod|dev desde /etc/environment o .env

0 commit comments

Comments
 (0)