Hey frogs, there is a French version of this project: README.fr.md
- Requirements
- Firefox
- SSH
- GIT
- ZSH
- Vim
- LAMP
- Chromium
- Java
- Adobe Flash
- Dropbox
- Ruby
- Node
- PostgreSQL
- MongoDB
- Sublime Text 3
- Disable some apps from launching
- Unity custom launchers
- Some other softwares
- Other
Create a workspace
folder into $HOME.
mkdir ~/workspace
sudo ln -s ~/workspace/ /workspace
- Change homepage
- Configure Sync
Go to about:config and update the followings :
browser.backspace_action
to0
browser.ctrlTab.previews
totrue
- Firebug
- Live HTTP Headers
- Web Developer
- Adblock Plus
- JSONView
- feedly
- Firefox OS Simulator
- ColorZilla
Tip: to select Software Center for apt files from Firefox, select the following script: /usr/bin/software-center
.
To use Firefox Aurora instead of the stable release:
sudo add-apt-repository ppa:ubuntu-mozilla-daily/firefox-aurora
sudo apt-get update
sudo apt-get install firefox
To use install Firefox Nightly (doesn't override Stable/Aurora):
sudo add-apt-repository ppa:ubuntu-mozilla-daily/ppa
sudo apt-get update
sudo apt-get install firefox-trunk
cd ~
ssh-keygen -t rsa
You should also install openssh-server: sudo apt-get install openssh-server
/!\ Don't forget to add you public key to your Github and/or Bitbucket accounts.
sudo apt-get install git
gedit ~/.gitconfig
Add the following instructions: see https://github.com/rhannequin/dotfiles/blob/master/gitconfig.
cd ~/workspace && mkdir github bitbucket
cd github
git clone git@github.com:rhannequin/upgrade-ubuntu.git
sudo apt-get install zsh curl
git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
chsh -s /bin/zsh
Update the file ~/.zshrc
and replace content with : https://github.com/rhannequin/dotfiles/blob/master/zshrc.
sudo apt-get install vim
mkdir ~/.vim && mkdir ~/.vim/bundle
git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
vim .vimrc
See https://github.com/rhannequin/dotfiles/blob/master/vimrc.
Run :PluginInstall
.
sudo apt-get install lamp-server^
sudo ln -s ~/workspace/ /var/www/workspace
sudo apt-get install phpmyadmin
# select "apache2" tp configure it automatically
# select "yes" to configure phpmyadmin with dbconfig-common
sudo ln -s /usr/share/phpmyadmin/ /var/www/phpmyadmin
sudo service apache2 restart
You need to edit php.ini
files from PHP to activate debug. The following parameters must be like this:
- error_reporting = E_ALL
- display_errors = On
- display_startup_errors = On
- track_errors = On
You must activate the following modules:
sudo apt-get install curl libcurl3 libcurl3-dev php5-curl php5-mcrypt
sudo a2enmod rewrite deflate
sudo service apache2 restart
sudo apt-get install chromium-browser
# TODO: fix missing backspace key and ctrl+tab
Download JAVA SE 7u55 JDK.
sudo mkdir /usr/lib/jvm
cd /usr/lib/jvm
sudo tar xvzf ~/jre-7u45-linux-*.tar.gz
sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.7.0_55/bin/java 1
sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk1.7.0_55/bin/javac 1
sudo update-alternatives --install /usr/bin/javaws javaws /usr/lib/jvm/jdk1.7.0_55/bin/javaws 1
# 64 bits only
# sudo update-alternatives --install /usr/lib/mozilla/plugins/libjavaplugin.so mozilla-javaplugin.so /usr/lib/jvm/jdk1.7.0_55/jre/lib/amd64/libjavaplugin_jni.so 1
sudo update-alternatives --install /usr/lib/mozilla/plugins/libjavaplugin.so mozilla-javaplugin.so /usr/lib/jvm/jdk1.7.0_55/jre/lib/i586/libjavaplugin_jni.so 1
sudo update-alternatives --config java
sudo update-alternatives --config javac
sudo update-alternatives --config javaws
sudo update-alternatives --config mozilla-javaplugin.so
32 bits
cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86" | tar xzf -
64 bits
cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf -
Start dropbow
~/.dropbox-dist/dropboxd
Requirements for Ruby are:
sudo apt-get install libssl-dev g++
git clone git://github.com/sstephenson/rbenv.git ~/.rbenv
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
echo 'eval "$(rbenv init -)"' >> ~/.bashrc
source ~/.bashrc
git clone git@github.com:sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
rbenv install 2.1.1
rbenv global 2.1.1
sudo apt-get install aptitude samba curl
\curl -L https://get.rvm.io | bash -s stable --ruby
rvm requirements
rvm install 2.1.1
Make sure you have the following line in your ~/.bashrc
:
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # This loads RVM into a shell session.
sudo apt-get install libsqlite3-dev libpq-dev
gem install rails
# Only for rbenv
rbenv rehash
rails -v
sudo apt-get install g++
cd ~/workspace
git clone https://github.com/joyent/node.git && cd node
git checkout v0.10.26
mkdir ~/opt && mkdir ~/opt/node
./configure --prefix=~/opt/node
make
make install
npm install -g express coffee-script bower grunt-cli jslint nodemon sails
sudo apt-get install postgresql
sudo -i -u postgres
psql
CREATE USER rhannequin;
ALTER ROLE rhannequin WITH CREATEDB;
CREATE DATABASE first_pq_db OWNER rhannequin;
ALTER USER rhannequin WITH ENCRYPTED PASSWORD 'root';
\q
exit
sudo apt-get install pgadmin3
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/mongodb.list
sudo apt-get update
sudo apt-get install -y mongodb-org
sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo apt-get install sublime-text-installer
Run command:
import urllib.request,os,hashlib; h = '7183a2d3e96f11eeadd761d777e62404e330c659d4bb41d3bdf022e94cab3cd0'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://sublime.wbond.net/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)
If an error occurs, you need to download the binary package and move it to Installed Packages at $HOME/.config/sublime-text-2
. Restart Sublime Text.
If you're bihind a proxy, you need to edit the config file ùPreferences > Package Settings > Package Control > Settings - User* with:
{
// An HTTP proxy server to use for requests
"http_proxy": "xxx.xxx:xx",
// An HTTPS proxy server to use for requests - this will inherit from
// http_proxy if it is set to "" or null and http_proxy has a value. You
// can set this to false to prevent inheriting from http_proxy.
"https_proxy": "xxx.xxx:xx",
// Username and password for both http_proxy and https_proxy
"proxy_username": "xxx",
"proxy_password": "xxx"
}
- BracketHighlither
- Better CoffeeScript
- INI
- SCSS
- Markdown Preview
- Trailing Spaces
- Emmet
- Sublime Linter
- SideBarEnhancements
- AdvancedNewFile
- Theme - Flatland
Replace config file Preferences > Settings - User with: see https://github.com/rhannequin/dotfiles/blob/master/sublimetext/settings.
Replace config file Preferences > Key Binding - User with: see https://github.com/rhannequin/dotfiles/blob/master/sublimetext/key-bindings.
Edit settings from Settings - User de Sublime Linter with: see https://github.com/rhannequin/dotfiles/blob/master/sublimetext/sublime-linter-settings.
sudo apt-get install sysv-rc-conf
sudo sysv-rc-conf
sudo apt-get install gnome-panel
sudo gnome-desktop-item-edit /usr/share/applications/ --create-new
sudo apt-get install indicator-multiload vlc flashplugin-installer meld rar gimp filezilla openvpn virtualbox alacarte
Install IntteliJ IDEA, RubyMine and WebStorm from JetBrains website.
From Skype website.
sudo gedit /usr/share/applications/skype.desktop
> Exec=env PULSE_LATENCY_MSEC=60 LD_PRELOAD=/usr/lib/i386-linux-gnu/libv4l/v4l1compat.so skype %U
wget -qO- https://toolbelt.heroku.com/install-ubuntu.sh | sh
sudo apt-get install friends-app dconf-tools
dconf-editor
# > com > canonical > friends
# Set interval to 1 and notifications to all
Download the Steam .deb package and install it.
- Configure Twitter
- System Parameters > Privacy : remove bottom inputs.
sudo apt-add-repository ppa:gurqn/systray-trusty
sudo apt-get update
sudo apt-get upgrade
Enable Backspace:
echo '(gtk_accel_path "<Actions>/ShellActions/Up" "BackSpace")' >> ~/.config/nautilus/accels
sudo apt-get install compizconfig-settings-manager
ccsm
Go to Desktop Wall > Assignations > Move with window within the wall