Agile Programming

Linux

Written on July 27th, 2010

Joining Ubuntu Lucid Lynx to Active Directory

linux xp Joining Ubuntu Lucid Lynx to Active DirectoryFrom Jaunty Jackalope version of Ubuntu and now in the lastest release (Ludid, 10.4) it’s very easy to join your Ubuntu to an Active Directory. Where I work we have a huge Active Directory to centralize users, groups, computers and resources (far more than 3000 users).

Here I go to explain how to join an Ubuntu Lucid Lynx (10.04) box to an Active Directory server:

Before all take notice that your DNS are pointing to your corporative DNS and the client system-time is synchronized with the server time. To do this just issue the next command:

sudo ntpdate domain.of.your.ad.server.com
  1. Install the likewise open AD authentication application with the next command: sudo apt-get install likewise-open
  2. Register your Ubuntu system:
    sudo domainjoin-cli join name.of.jour.domain.com admin-user 

    (where name.of.your.domain.com is your domain name, and admin-user is a user account on the domain with permissions to add computers to it).

  3. When prompted, enter the password of your adminstrator account. A dialogue box will appear asking for your domain name, enter your AD fully qualified domain name in upper case letters, i.e YOUR.DOMAIN.COM
  4. Finally reboot.

Read the rest of this entry »

Written on July 26th, 2010

Feelings at Guadec-ES 7 (A Coruña)

4822346820 e64099778a Feelings at Guadec ES 7 (A Coruña)Last  Thursday and Friday I was in Coruña attending to the GUADEC-ES, the most important event of GNOME and “hispanic version” of GNOME Users and Developers Conference.
It was my first event focused in GNOME and was simply amazing. I met a lot of GNOME Hackers and get the feeling that I’m in a collaborate with great community.

I enjoy all the talks but I have to highlight some of them.

  • Git it done! by Mario Sánchez. I use git for more than 2 years but Mario gave us a glorifious crash course about it. You can find the slides [ES] in the next link: http://tinyurl.com/2wzqy6d
  • Other of the talks that I prefer is “GNOME 3 para desarrolladores” (GNOME 3 for developers). Carlos Garcia Campos explain us the main differences between last GNOME libraries and what was done to achieve GNOME 3. Clean up !!
  • The great discovery talk was “Vala, un lenguaje para Gnome 3.0” by Roberto Majadas. I heared just a little about Vala but Roberto with a lot of examples explain us the posibilities that Vala has to develop with a high-level language but with the benefits of optimization and speed of C language.
  • And finally  ”cómo estudiar y participar en software libre sin morir en el intento” (How to study and participate in Free Software without die trying). Diego Escalante, developer of Epiphany, IMHO is the best speaker I have the pleasure to attend. The talk had a funny tone mixed with real experiences. Again you can find the slides here: http://people.gnome.org/~diegoe/slides/20100723_Coru%25C3%25B1a_Estudiar-y-participar.pdf

GPUL, coorganizers of this GUADEC, promised to make accesible all the videos recorded there. When this happen I’ll update this post to link them.

Conclusion: I recommend all to go this type of conferences cause you can learn a lot in just some hours and you’ll meet a lot of amazing people.

Written on July 15th, 2010

How to setup a LAMP server with less than 100 characters

lamp How to setup a LAMP server with less than 100 charactersOne of the reasons cause I love the GNU/Linux for developing is its easy and quick setup.
So if you’re a LAMP-dev you can setup a LAMP server with less than 100 chars.
With the next command you will have a apache2+php5+mysql on Debian based systems with the bonus of phpmyadmin for administer your databases.
sudo apt-get install phpmyadmin lamp-server^

Dont forget the trailing ‘^’ char.

Quick post, quick solution. Isn’t it?

Written on June 24th, 2010

MacBook Pro keyboard backlight keys on Ubuntu GNU/Linux

macbook keyboard1 MacBook Pro keyboard backlight keys on Ubuntu GNU/Linux

Recently I have purchased a new MacBook Pro 15″ and the first thing I do was install Ubuntu Lucid Lynx on it. After some readying I have all the hardware working properly but the keyboard backlight wasn’t integrated into system and unfortunately after searching on the web for something that could do this, I decide to write a simple script with Bash and use Ubuntu-tweak to bind the keyboard keys to invoke the script. So let’s go…

Read the rest of this entry »