develCuy's blog
  • About...
  • Projects
  • Contact
  • Ophal
  • OSHW
  • ¿Busca empleo?

Ubuntu (page 1)

Aid | Android | Articles | Birthday | CMS | Cryptocurrency | Databases | Debian | Design | Dios | Drupal | Games | HOWTO ... | Hardware Libre | Hosting | IT | Internationalization | Internet | Java | Javascript | Linux | Lua | Nuevo Perú | OLPC | Office Automation | Ophal | PHP | Politics | Programming | Projects | Salud | Security | Software Libre | Stories | Testing | Thesis | Ubuntu | Usability | Web | Writing

    HOWTO fix the Hard Drive 'Parking' problem on Linux Mint

    The problem with hard drive clicking is better described as a “repeating tick tick tick type of ticking sound, or a faint beep at random intervals” (ThinkWiki).

    This is a dangerous and annoying issue, yet not addressed on major Linux distributions, so one has to fix it manually.

    1. Create file /etc/pm/power.d/95hdparm-apm with the following contents:

       #! /bin/sh
       hdparm -W0 /dev/sda
      

      Note: make it executable: chmod a+x /etc/pm/power.d/95hdparm-apm

    • Add a new comment
    • Read more

    Howto install Titanium Appcelerator in Ubuntu 10.04

    UPDATE 2011-07-19: Following instructions also work with Ubuntu 11.04 Natty Narwhal.

    Programming for mobile in Linux was a pain in the neck 6 years ago and it is still a pain in 2011. The following articles may help you in your journey:

    1. http://dalibornasevic.com/posts/14-how-to-install-titanium-and-android-sdk-on-ubuntu
    2. http://developer.appcelerator.com/question/118186/kitchen-sink-not-working-on-android-please-help#header
    3. http://developer.appcelerator.com/question/35751/error-failed-installing–pkg-datalocaltmpappapk

    If you survive let me know :)

    • Add a new comment
    • Read more

    HOWTO phplua + PHP 5.2 on Ubuntu

    Lua is an embeddable scripting language. If you are trying to embed it in PHP follow this instructions that may help you:

    $ sudo apt-get install phpize liblua5.1-0-dev 
    $ git clone git://repo.or.cz/phplua.git src
    $ cd src/
    $ phpize
    $ ./configure
    

    At this point you are almost done, BUT please edit the file Makefile and change the line:

    LUA_SHARED_LIBADD = -llua

    by:

    LUA_SHARED_LIBADD = -llua5.1

    Then is time to finish cooking:

    $ make
    $ sudo make install
    

    Almost done, do a test:

    $ make tests #all will fail, that is fine by now

    • Add a new comment
    • Read more

    HOWTO Apache 2 + Lua 5.1 + FastCGI in Ubuntu

    Install basement

    $ sudo apt-get install apache2-mpm-worker liblua5.1-0-dev
    $ sudo apt-get install libfcgi-dev libapache2-mod-fcgid

    Install Luarocks

    Download latest version from: http://luarocks.org/releases/, extract it, open a terminal and do a "cd" into its directory, then:

    $ ./configure --with-lua-include=/usr/include/lua5.1/
    $ make
    $ sudo make install

    Install WSAPI

    $ sudo luarocks install wsapi-fcgi

    Configure Apache

    • Add a new comment
    • Read more

    HOWTO recordmydesktop+jack in Ubuntu Karmic

    If you are an screencaster, for sure you know that there are not much options to grab your desktop + microphone at the same time. Perhaps you have tried some java programs, or simply switched back to windows and used a virtual machine. Too complicated!

    Hopefully, there is still an opportunity: recordmydesktop+jack. I will not describe how to install jack here, sorry, google is your friend :) But once you have jack up & running, do the following:

    Download sources $ apt-get source recordmydesktop

    Install development dependencies $ sudo apt-get build-dep

    • Add a new comment
    • Read more

    Software Freedom Day Perú 2009

    19 de Septiembre de 2009, Día del Software Libre - Software Freedom Day

    • Add a new comment
    • Read more

    Seamonkey / IceApe y Session Manager

    Realmente me gusta Firefox y familia(Swiftweasel / Iceweasel), para mi trabajo y uso personal, porque son mis herramientas clave(soy desarrollador y themer Drupal) pero me estresan mucho porque algunas veces pueden consumir todos mis recursos junto a mi servidor web local: Apache, MySQL y PostgreSQL, por eso uso una alternativa ligera: Iceape(versión de Seamonkey en Debian).

    • Add a new comment
    • Read more

    Seamonkey / IceApe and Session Manager

    I really like Firefox and family(Swiftweasel / Iceweasel), for both: work and home, because they are key tools(I’m Drupal developer & themer) but they stress me sometimes because can consume all my resources in conjunction with my local webserver: Apache, MySQL and PostgreSQL, so I use a lighweight alternative: Iceape(Debian version of Seamonkey).

    • Add a new comment
    • Read more

    HOWTO install hp1020 for CUPS on Debian Lenny

    Update: Don’t use this method any more, please install hplip instead, and make sure to remove foo2zjs and hannah, because they conflict with hplip.

    1. Install CUPS # apt-get install cups # adduser youruser lpadmin # adduser youruser lp
    2. Follow instructions from http://foo2zjs.rkkda.com/ to install the driver
    3. Add your printer
      • a. http://localhost:631/ (Web-based CUPS GUI)
      • b. # apt-get install foomatic-gui $ foomatic-gui &
      • c. Add your printer with foomatic-gui like here

    Blessings!

    • Add a new comment
    • Read more

    HOWTO Debian(testing) to Ubuntu(dapper) Know Bugs

    Problem 001: Can’t get Non-US Keymap in X 1. Checking: /etc/X11/xorg.conf Option "XkbLayout" "es" /var/log/Xorg.0.log: (WW) Couldn’t load XKB keymap, falling back to pre-XKB keymap

    • Add a new comment
    • Read more
    1 2 next

    Github: develCuy Twitter: @develCuy Facebook: develCuy

    develCuy's blog by Fernando Paredes Garcia is licensed under a Creative Commons Attribution-ShareAlike 2.5 Peru License.

    Powered by Ophal and Bootswatch Readable.

    Back to top