Skip to Content

develCuy's blog

by Fernando Paredes García


Ubuntu

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-s...
  2. http://developer.appcelerator.com/question/118186/kitchen-sink-not-worki...
  3. http://developer.appcelerator.com/question/35751/error-failed-installing...

If you survive let me know :)


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:

<

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


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


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


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).

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!


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


HOWTO Debian(testing) to Ubuntu(dapper)

BEFORE ANYTHING
This is not for begginers!!! follow up if you know exactly what you are doing.
GO TO WORK
A. LIBC6
1. Get following files or equivalent:



Syndicate content