Installing Java 7 on Debian

On 16/03/2012, in Debian, Linux, by miguel

How I installed Java 7 in debian:

wget http://download.oracle.com/otn-pub/java/jdk/7/jdk-7-linux-x64.tar.gz
tar zxvf jdk-7-linux-x64.tar.gz -C /usr/lib/jvm/

Next step, config:

update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.7.0/bin/java 1065
update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk1.7.0/bin/javac 1065

Job done! :-)

 

Hi everyone.

Just published my first android app. It’s very specific, but i tough I could share it with everyone. I bought a Current Cost Envi a couple of months ago and after setting everything up, one of the things i missed in my setup, was an android app I could use to monitor the energy used at home. So, i took care of the problem, developing my own app. The code is very simple, and currently only displays the current consumption. I plan to add another features, like alarms for high energy consumption.

If you are looking for more info, go to the specific myEnergy page, where you could find the installation instructions.

 

Tagged with:  
 

Web Site Certificate info

On 15/12/2011, in Linux, Web, by miguel

If you need to get more info about an web site certificate, just use this command:

openssl s_client -showcerts -connect www.example.com:443

Tagged with:  
 

Custom size image files

On 10/02/2011, in Uncategorized, by miguel

dd if=/dev/zero of=[image file] bs=1032192 count=[size in megabytes]

 

My PS3 does linux! And yours?

On 09/02/2011, in Debian, Linux, PS3, by miguel

PS3 loves linux!

Link to psgroove post.

Tagged with:  
 

Convert MKV DTS audio to AC3

On 08/11/2010, in DLNA, Tip, TV, by miguel

I’ve been playing arround with DLNA lately, and managed to stream almost everything to my Samsung LED TV. Only thing missing was Matroska containers with DTS audio track. After some research, i found a script to do the conversion from DTS to AC3 quick and simple! All the info needed is in the wiki: http://www.networkedmediatank.com/wiki/index.php/Converting_DTS_to_AC3

 

Are you having problems making the auth_ldap module in Apache because your LDAP server is an Active Directory from Microsoft… well, welcome to the club. It took two days to solve, but finally found the answer in this Apache 2.0.48 bug report:

https://issues.apache.org/bugzilla/show_bug.cgi?id=26538

It seems that AD as a global catalog, that answers in port 3268 (LDAP runs in port 389 or 636 with SSL).

Using this port, you can access all your entries, and do not encounter the referral problems.

 

Page optimized by WP Minify WordPress Plugin