Created
January 12, 2015 21:56
-
-
Save aalvesjr/a66abd94259da003bf5d to your computer and use it in GitHub Desktop.
Atualizar Ubuntu via terminal
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get -y update | |
sudo apt-get -y upgrade | |
sudo apt-get -y dist-upgrade | |
sudo apt-get -y autoremove | |
sudo apt-get -y clean | |
sudo reboot | |
// Preparando ambiente | |
$ sudo apt-get -y install build-essential vim openssl curl git-core | |
// Definindo algumas variaveis de ambiente | |
// no arquivo "/etc/environment" acrescentar: | |
LC_ALL="en_US.UTF-8" | |
RAILS_ENV="production" | |
// no arquivo "/etc/profile.d/variables.sh" acrescentar: | |
export LC_ALL="en_US.UTF-8" | |
export RAILS_ENV="production" | |
// Após executar o comando: | |
source /etc/profile.d/variables.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment