Skip to content

Instantly share code, notes, and snippets.

@luisfc
luisfc / Install development environment
Last active April 8, 2017 05:12
Install development environment
sudo apt-get install nginx
sudo apt-get install mysql-server
sudo apt-get install php5-cli php5-fpm php5-mysql php5-gd php5-curl php5-sqlite php5-tidy php5-imagick
#For PHP5.6
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install mysql-server
sudo apt-get install php5.6-cli php5.6-fpm php5.6-mysql php5.6-gd php5.6-curl php5.6-sqlite php5.6-tidy php5.6-imagick
#sudo apt-get install php5.6-dom php5.6-json php5.6-common php5.6-opcache php5.6-readline
@luisfc
luisfc / Enable numlock when ubuntu boot
Last active April 6, 2017 20:08
Enable numlock when ubuntu boot
#Ensure that numlockx is installed:
sudo apt-get install numlockx
#Edit as root user the next file
sudo vi /usr/share/lightdm/lightdm.d/50-ubuntu.conf
or
sudo vi /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf
#Add the following line to the end of the file
greeter-setup-script=/usr/bin/numlockx on
@luisfc
luisfc / Install fish shell Ubuntu.txt
Created April 5, 2017 06:28
Install fish shell Ubuntu
git clone https://github.com/fish-shell/fish-shell
sudo apt-get install fish
#Make Fish your default shell:
chsh -s /usr/bin/fish
#To switch your default shell back, you can run:
chsh -s /bin/bash