Posts

Change Owner and Group of Folder and Subfolders with commandLine

Image
[Skip if you are busy] I wanted to share my music with my brother's user account, but I didn't want to make a copy of that or move it, then I created a group called publicmedia changed the permissions of the folder 'Music' and assigned it to the group publicmedia, but I had to do it for every single sub folder in the folder Music. To change the permissions is easy by using the option "change Permissions for Enclosed Files", but it didn't change the group, then I searched and this is what I found [Here is the important] The next command will change the group and the owner of a folder, by using the option -R it does recursively for every subfolder inside chown -R snipercat:publicmedia Music [IMPORTANT!] If the owner of the folder enabled the option to encrypt the folder, this will not work unless the owner of the folder logged in before, you have to set it off, try with this How to Disable Home Folder Encryption After Installing Ubuntu . sourc...

Configure dads.conf file to connect to two data bases

Image
This tutorial will explain how to configure dads.conf file to get something similar to the image in the left, you already have a server with Apache that is configured to connect to a database with Apex (i.e. Apex 3.2) and now you want to use the same server to connect to other version of apex in other data base server (i.e. Apex 4.2) but you don't want to lost the current connection. In that case you only have to modify the dads.conf file and change something in the new Apex installation. Installing Apex Since this post is not about how to install apex, I'll not explain all the steps to install Apex, only the step you have to make something different, you can refer to Oracle documentation or other blogs to install it. If both apex installation have the same version, you'll not need to change this this step. The different step you have to make is when you run the apexins.sql script, there you include the parameter /i/ to indicate a virtual directory for the images, but p...

Firefox - Scroll with middle mouse is not working [Solved]

Image
Recently I installed Kubuntu 12.04 and there I installed Firefox 21.0, when I open it a tried to go down using the Scroll it did Anything. I searched by the problem, and I found some one with a "Problem" that I didn't even knew I had. it is not really a problem, it is something great. if you click the middle mouse button when you have selected Text it will copy the text, and if you press it over a text box, you will paste the text. Here is the page where I found that Firefox 3 middle mouse button error Well, some one suggested go to about:config and disable the option middlemouse.paste. I did it, but Still the scroll was not working. but there I searched by scroll and compared every option with a firefox on Windows, fortunately the first option I compared was the spolution :P Sorry if I bored you with this... Then the solution to the problem is: Type in the Address bar about:config What is the Address Bar? It is the field in the top of your browser where y...

Problema en Eclipse "Not Java virtual machine was found…"

Image
Al igual que en el link del que solucione el problema, recién estreno un equipo para desarrollar, y necesito Eclipse para desarrollar en Processing, pero tuve unos problemas, inicialmente no pude descomprimirlo, lo intentaba en el escritorio y generaba un problema de que la ruta era muy larga o algo así, entonces tuve que descomprimirlo en C:, luego al intentar correrlo me salia un error. A java Runtime Environment (JRE) or Java Development kit (JDK) must be available in order to run Eclipse. No Java virtual machine was found after searching the following locations: C:\eclipse\jre\javaw.exe javaw.exe in your current PATH Lo solucione con la ayuda de este post. [Solución?] Not Java virtual machine was found… en eclipse. Al inicio no descargue la versión de 32Bits, solo hice lo que menciona al final, de colocar la variable de entorno. Al revisar las variables de entorno ya tenia una variable PATH, entonces agregue la ruta de javaw.exe que en mi caso estaba en "C:\Program ...

Oracle HTTP Server (not complete)

Image
cd Dsk1 sudo ./ runInstaller -ignoreSysPrereqs next>>>> if error "error in invoking target 'ntcontab.o' of make file" https://kr.forums.oracle.com/forums/thread.jspa?threadID=852879 check the packages with: rpm -q binutils compat-db compat-libstdc++-33 glibc glibc-devel glibc-headers gcc gcc-c++ libstdc++ cpp make libaio ksh elfutils-libelf sysstat libaio libaio-devel setarch --qf '%{name}.%{arch}\n'|sort will return the packages that are not installed, in my case no one T_T; sudo apt-get install binutils for compat-db ubuntuforums.org/showthread.php?t=826070 cd /etc/apt/ sudo kate sources.list and add # CompatDB.org deb http://compatdb.majorgeeks.com/apt/ ./ save, close and run sudo apt-get update I found the others using Synaptic, although some names were differents and I found that some packages were replaced by build-essential. the only package I didn found was setarch, but even without it, it worked. Now run th...