Friday, August 16, 2013
Friday, June 28, 2013
Monday, June 24, 2013
install google earth on ubuntu
Google Earth is a 3d globe that puts the world’s geographic information at your fingertips. It’s is available on Linux, Mac, and Windows.

Start the installation by downloading the Linux installer.
Open a terminal and change to the directory where the installer downloaded to. If it’s on your desktop you can use this command:
Change the permissions on the installer so you can run it:
Run the installer as the root user:

The installer dialog will open. The default install paths work fine. Click Begin Install.
Once the installation is finished you can click Start to launch Google Earth.
Want to add Google Earth to the Application menu? Open the menu editor in System->Preferences->Main Menu.
Select the submenu you want to use and click New Item. The command value needs to be googleearth.

You can now launch Google Earth from the Application menu.
credit:http://tombuntu.com
Start the installation by downloading the Linux installer.
Open a terminal and change to the directory where the installer downloaded to. If it’s on your desktop you can use this command:
cd ~/DesktopChange the permissions on the installer so you can run it:
chmod +x GoogleEarthLinux.binRun the installer as the root user:
sudo ./GoogleEarthLinux.binThe installer dialog will open. The default install paths work fine. Click Begin Install.
Once the installation is finished you can click Start to launch Google Earth.
Want to add Google Earth to the Application menu? Open the menu editor in System->Preferences->Main Menu.
Select the submenu you want to use and click New Item. The command value needs to be googleearth.
You can now launch Google Earth from the Application menu.
credit:http://tombuntu.com
installing wine on Ubuntu 64bit
chroot Method
ຕິດຕັ້ງ schroot ແລະ debootstrap packages:
sudo apt-get install schroot debootstrap
ສ້າງ configuration file ສຳຫລັບ schroot:
sudo vim /etc/schroot/chroot.d/precise_i386.conf
[precise_i386] description=Ubuntu Precise personality=linux32 directory=/srv/chroot/precise_i386 root-users=your_username type=directory users=your_username
ສ້າງ directory & download
sudo mkdir -p /srv/chroot/precise_i386 sudo debootstrap --variant=buildd --arch=i386 precise /srv/chroot/precise_i386 http://archive.ubuntu.com/ubuntu/
ໃຫ້ສາມາດ apt-get ໄດ້ໃນ chroot:
sudo cp /etc/apt/sources.list /srv/chroot/precise_i386/etc/apt/
Enter chroot:
schroot -c precise_i386 -u root
Get the basic packages:
apt-get install ubuntu-minimal apt-get install python-software-properties
Install the build dependencies:
apt-get update apt-get build-dep wine
You might need to add the wine repository first if you get an error such as:
E: You must put some 'source' URIs in your sources.list
To do so, simply run:
add-apt-repository ppa:ubuntu-wine/ppa apt-get update
Download the Wine source tree into your chroot:
apt-get install git git clone git://source.winehq.org/git/wine
Note
that the default schroot rebinds the /home directory on the host system
so that it appears in the chroot system. This means your home folder is
basically shared.
Compile:
cd wine ./configure make
To
be able to use Wine from outside the chroot, Wine's dependencies must
be installed outside the chroot. The easiest way is to exit the chroot
and install a prepackaged copy of Wine:
exit sudo apt-get install wine
You can now run Wine from outside the chroot:
exit cd wine ./wine notepad
how to install build-essential on ubuntu without internet
ເອົາ ubuntu Desktop CD ໃສ່
ຈົບ
sudo apt-cdrom add sudo apt-get update sudo apt-get install build-essential
ຈົບ
Install SNMP on UBUNTU Linux
1. SNMPD
SNMPD is the service running SNMP on a managed entity. SNMP comes in 3 versions. Version 1, the one we are going to use here is not secured, therefore we are going to make sure that only localhost is going to be able to access it.People opening the service to the outside should make sure that trusted hosts can access the service either though the use of iptables or through the use of /etc/hosts.allow.
1.1. Installing the SNMP server
The only package which is required on the server site is snmpd, the SNMP daemon.To install it type:
$ sudo apt-get install snmpd
snmpd is now installed but we still have to tweak it a little bit to make it work as we want.1.2. Configuring SNMPD
The first thing we want to make sure is that snmpd is only going to wait for connections on localhost. To do this, edit file /etc/default/snmpd and make sure those values are set:
SNMPDRUN=yes
SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid 127.0.0.1'
SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid 127.0.0.1'
If you want your server to listen on all interfaces, remove the 127.0.0.1 bit.
This setting will make sure that the service will be started and that the service is going to bind to localhost.Finally, we are going to configure snmpd in such a way that it will only return datas to trusted host for a specific community.
Edit /etc/snmp/snmpd.conf and make sure that com2sec it only set to:
com2sec readonly localhost mycommunity
If you want a remote machine to be able to gather information for the community mycommunity, make sure you replace localhost by mynetwork, where mynetwork can be of the form: 1.1.1.1 or 1.1.0.0/16.
1.3. Checking SNMP configuration:
We are going to use the snmpwalk utility to verify that the server is working as wanted.Here we want snmp to reply only to localhost for the community mycommunity.
From localhost
$ snmpwalk -Os -c mycommunity -v 1 localhost system
Should return a lot of output and:
snmpwalk -Os -c public -v 1 localhost system
Timeout: No Response from localhost
Timeout: No Response from localhost
credit: easyguardian.com
Subscribe to:
Comments (Atom)