NathanFriend.co.uk

Developers notebook

Month: October 2014

Concrete5 Pretty URLs in Ubuntu 14.04

Enable mod_rewrite sudo a2enmod rewrite
Edit /etc/apache2/sites-available/000-default.conf and add

<Directory "/var/www/html">
 AllowOverride All
</Directory>

Restart apache sudo service apache2 restart

Set DNS server on Ubuntu 14.04

Used to edit /etc/resolv.conf but now.  It’s
/etc/resolvconf/resolv.conf.d/base

Same format of
nameserver 8.8.8.8

Then instead of restarting networking use
sudo resolvconf -u

Colour terminal output on OSX

Edit
.profile
.bashrc
.bash_profile

Add
export CLICOLOR=1
export LSCOLORS=GxFxCxDxBxegedabagaced

 

Source: http://stackoverflow.com/questions/1550288/mac-os-x-terminal-colors

© 2017 NathanFriend.co.uk

Theme by Anders NorenUp ↑