List files installed by a package (RPM and APT based distributions)

RPM:

  1. Install yum-utils with:
    yum install yum-utils
  2. Make your query:
    repoquery --list *package_name*
  3. Sample:
    $ repoquery --list httpd 
    /etc/httpd
    /etc/httpd/conf
    /etc/httpd/conf.d
    /etc/httpd/conf.d/README
    /etc/httpd/conf.d/welcome.conf
    /etc/httpd/conf/httpd.conf
    …

APT

  1. Just type your query:
    dpkg -L *package_name*
  2. Sample:
    $ dpkg -L apache2
    /.
    /usr
    /usr/share
    /usr/share/bug
    /usr/share/bug/apache2
    /usr/share/bug/apache2/control
    …

PostgreSQL services Mac OS X Lion start/stop

When it comes to manually start/stop services installed by PostgreSQL on a Mac, I had a hard time figuring out how to do it, so here is the solution:

First you need to know where definition files for daemons are located:

/Library/LaunchDaemons

Here you will find at least 2 files (if you installed EnterpriseDB-ApachePhp with StackBuilder)

com.edb.launchd.apache.plist
com.edb.launchd.postgresql-9.1.plist

You can start/stop this daemons with:

launchctl start com.edb.launchd.apache
launchctl stop com.edb.launchd.apache

or

launchctl start com.edb.launchd.postgresql-9.1
launchctl stop com.edb.launchd.postgresql-9.1

Technology Day 2011

IT NOW magazine is organazing the Technology Day 2011 today and tomorrow in well known hotels of Central America, Panamá and Dominican Republic, mayor brands are assisting and providing information abut new products and services, today it started around 14:00 hours in San Salvador and was pleasant to see a lot of local providers participating, if you’re interested I think you can make it for tomorrow and see what’s going on.

Here is a picture of first participations in Costa Rica: