Skip to content

Instantly share code, notes, and snippets.

@aalvesjr
Created January 12, 2015 21:56
Show Gist options
  • Save aalvesjr/a66abd94259da003bf5d to your computer and use it in GitHub Desktop.
Save aalvesjr/a66abd94259da003bf5d to your computer and use it in GitHub Desktop.
Atualizar Ubuntu via terminal
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