Skip to content

Instantly share code, notes, and snippets.

View franciscomxs's full-sized avatar
🏠
Working from home

Francisco Martins franciscomxs

🏠
Working from home
View GitHub Profile
@franciscomxs
franciscomxs / rails-ubuntu12.04.sh
Last active October 9, 2015 17:58
Instalação do Rails em redes restritas no Ubuntu 12.04
#!/usr/bin/env bash
sudo apt-get install build-essential zlib1g-dev curl git-core libgeoip-dev imagemagick vim libxslt-dev mysql-server mysql-client libmysql-ruby libmysqlclient-dev -y
cd
git clone https://github.com/sstephenson/rbenv.git .rbenv
cd .rbenv
mkdir plugins
cd plugins
git clone https://github.com/sstephenson/rbenv-vars.git
git clone https://github.com/sstephenson/ruby-build.git
git clone https://github.com/fesplugas/rbenv-installer.git
@franciscomxs
franciscomxs / ubuntu_steps.sh
Created July 5, 2012 17:06 — forked from johnrees/_ubuntu_steps.sh
Standard Rails 3.* setup for Ubuntu 10.04 LTS 32
# As root user
# Update the OS
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
# Setup Hostname & TimeZone
echo "{{HOSTNAME}}" > /etc/hostname
hostname -F /etc/hostname
dpkg-reconfigure tzdata