Category archives: System administration

RSS feed of System administration

Django Admin CLI

Published July 4, 2015 in Development, System administration - Last update on July 6, 2015.

I ever want to manage Django models directly from command line. In my dreams I have a curses script which have the same look and feel than Django Admin, in fact I created a CRUD application named Django Admin CLI. It is a Django third app linked to Admin's registry which allow DRY, easy ...

Continue reading

My Shell cheatsheet

Published June 25, 2015 in Development, System administration - Last update on July 8, 2015.

There are some tricks I do a long time ago then I forget or want to share:

Save time with history expansion

First daily use case, I want to run a command but I forgot to make it as root user.

$ ls /root/
ls: cannot open directory /root/: Permission denied
$ sudo !!
sudo ls /root/
file1 ...

Continue reading

Ansible Part 1: J'ansible, Tu ansibles, il...

Published May 15, 2015 in Deployment, System administration - Last update on July 6, 2015.

Ansible is my favourite deployment and configuration management tools. After tested direct concurrency, Puppet and Chef, my choice naturally went to Ansible.

  • 1st it is in Python
  • 2nd it has a clear YAML syntax
  • 3rd it is simple.

What's the stack

My blog uses a classical Django webstack: Nginx + uWSGI + Django + MySQL. Because I ...

Continue reading