Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
install_2019
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Harbor Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PET Computação
install_2019
Commits
63504137
Commit
63504137
authored
6 years ago
by
Gabriel_Tha
Browse files
Options
Downloads
Patches
Plain Diff
Adiciona instalador de navegadores
parent
420f51c1
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Script2019.sh
+15
-7
15 additions, 7 deletions
Script2019.sh
with
15 additions
and
7 deletions
Script2019.sh
+
15
−
7
View file @
63504137
...
...
@@ -63,8 +63,7 @@ branco="\033[1;37m"
# Script de instalação de editor de texto
echo
-e
"
\0
33[1;32mScript de Instalação Básico do Grupo PET Computação - 2019
\0
33[0m"
echo
-e
"
\0
33[1;31mQual editor de texto você deseja usar?
\0
33[0m"
echo
-e
"(selecione uma opção e pressione
\0
33[5;30m ENTER
\0
33[0m)"
echo
echo
-e
"(selecione uma opção e pressione
\0
33[5;30m ENTER
\0
33[0m)
\n
"
echo
"1 - VIM"
echo
"2 - Sublime Text"
echo
"3 - Visual Code"
...
...
@@ -114,26 +113,35 @@ echo -e "(selecione uma opção e pressione \033[5;30m ENTER \033[0m)"
echo
echo
"1 - Google Chrome"
echo
"2 - Opera"
echo
-e
"3 - Firefox
\n
"
echo
"3 - Firefox "
echo
-e
"4 - Vivaldi
\n
"
# echo "3 - Exibir uma mensagem”
read
editor
;
if
[
$editor
==
"1"
]
;
#Instalador do Google Chrome
then
sudo
apt
install
-y
vim
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo
dpkg
-i
google-chrome-stable_current_amd64.deb
elif
[
$editor
==
"2"
]
;
#Instalador do Opera
then
sudo
snap
install
sublime-text
wget
-qO-
https://deb.opera.com/archive.key |
sudo
apt-key add -
sudo
add-apt-repository
"deb [arch=i386,amd64] https://deb.opera.com/opera-stable/ stable non-free"
sudo
apt
install
opera-stable
elif
[
$editor
==
"3"
]
;
#Instalador do Firefox
then
sudo
sn
ap
install
--classic
vscode
sudo
ap
t-get
install
firefox
elif
[
$editor
==
"4"
]
;
#Instalador do Vivaldi
then
wget
-qO-
http://repo.vivaldi.com/stable/linux_signing_key.pub |
sudo
apt-key add -
sudo
add-apt-repository
"deb [arch=i386,amd64] http://repo.vivaldi.com/stable/deb/ stable main"
sudo
apt
install
vivaldi-stable
fi
adidionar pragramas a serem instalados no computador aqui
sudo
apt
install
-y
openssh-server
sudo
systemctl status ssh
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment