Posts

Showing posts from July, 2011

Change default jre in linux (ubuntu11.04)

Change default jre >>> sudo update-alternatives --config java

Make external monitor to be PRIMARY

For ubuntu 11.04 ( search keyword ) - for HDMI >>> xrandr --output HDMI1 --primary - for others monitor >>> xrandr --output --primary # press tab until it show the list of display then it's show >>> CRT1 DFP1 DFP2 LVD2

Difference between apt-get update and apt-get dis-upgrade

The “sudo apt-get upgrade” isn’t necessary. It’s a different type of upgrade from “dist-upgrade” You either run one or the other. “apt-get upgrade” will only update your existing packages while “apt-get dist-upgrade” will update your existing packages, remove obsolete packages and install new available packages as well. You can get breakages either way since new packages might be required as dependencies for upgraded packages in the case of “sudo apt-get upgrade” so using “apt-get dist-upgrade” is still the best way so far. Note: This only applies to LMDE since LMDE is a true rolling release. For any other flavor of Mint you’d use MintUpdate levels 1, 2 and 3 all the way. Perhaps someday Clem and Co. will figure out how to tailor MintUpdate so it works properly in LMDE but considering the rolling aspect of LMDE, I’m at a loss as to how theyn would do that. ref http://b10gger.wordpress.com/2011/03/20/difference-between-apt-get-upgrade-and-apt-get-dist-upgrade/ (thank for this website)

About Generate SSH KEY

usage: ssh-keygen -t e.g. >>> ssh-keygen -t dsa Choose passphrase whatever you want and then its appear at ~/.ssh/id_dsa.pub

New Knowledge from Joe The Infra

>>> aptitude search for search app we can download >>> aptitude install postfix for installing MTA >>> aptitude install mailutils don't know what for, but come with postfix >>> vi /etc/postfix/main.cf edit mydestination value for domain. >>> /etc/init.d/postfix restart to restart postfix service >>> tail -f /var/log/mail.log to monitor mail log

Amazing !!! Company :)

Today, I just saw my boss were tuning guitar's string by listen to harmonic's sound. It's locate on fret 5 and 7. I think I will try to do it , soon.

Install firefox plugins (so files) manually

Yahh Hi Again. If we have just a xxxx.so file that we know what it is (so file). Thing we need to do is put that to ~/.mozilla/plugins directory if that directory is not there just mkdir

Yahh Ben's Linux command

Yahh When u have trouble with eject disc by GUI. " just sudo eject " ... ben's said

Setting Up adobe air for ubuntu 11.04 (64bit)

You can build package by yourself using these commands: wget http://airdownload.adobe.com/air/lin/download/2.6/adobeair.deb mkdir adobeair dpkg-deb -x adobeair.deb adobeair dpkg-deb –control adobeair.deb adobeair/DEBIAN sed -i “s/i386/all/” adobeair/DEBIAN/control dpkg -b adobeair adobeair_64.deb rm -rf adobeair sudo dpkg -i adobeair_64.deb Thank Johnny (http://www.ubuntu-corner.com/author/johnny/) ref http://www.ubuntu-corner.com/2011/06/how-to-install-adobe-air-on-ubuntu-11-04-x64/

How do I know what in my box that I used.(linux)

- We can start with command: >>> lspci That's list all PCI devices, But we can advance it by >>> lspci -v - We can see cpuinfo >>> cat /proc/cpuinfo and guess what!!! we have >>> lshw but you have to use super-user for running it.