gksu gedit /boot/grub/menu.lst
Save the file, and then the next time you boot up you’ll see a much nicer set of options.
//
sudo apt-get install sun-java6-jdk sun-java6-plugin
For JRE:sudo apt-get install sun-java6-jre sun-java6-plugin
Once either one is done, run the sudo update-java-alternatives -s java-6-sun
command and finally add the line “/usr/lib/jvm/java-6-sun” to the top of the /etc/jvm file (gksudo gedit /etc/jvm
). Save and exit. To test your Java(TM) setup in the terminal type:-java -version
If you get an output like below, then you are done!java version “1.6.0″ Java(TM) SE Runtime Environment (build 1.6.0-b105) Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing)
Assuming that you want to monitor your networking equipment with MRTG, you need to set up the snmp community on the piece of equipment. Usually its just a matter of enabling snmp, and the default community will be public. If you change the default community to another name, make sure you remember the name for later.
Now lets set up MRTG to read the data.
With Ubuntu server, MRTG will automatically set up /var/www/mrtg. In other distrobutions, it will set it up in a different area, so you will need to change the 'WorkDir:' variable in the following scenario to the directory where MRTG is installed.
I'm going to create an /etc/mrtg directory rather then move the mrtg.cfg file within /etc/ This will make it less confusing in the future.
mkdir /etc/mrtg
mv /etc/mrtg.cfg /etc/mrtg/
Now we run the cfgmaker command to get things up and running:
cfgmaker --global 'WorkDir:/var/www/mrtg' --global 'Options[_]: bits,growright' --output /etc/mrtg/mrtg.cfg public@192.168.1.85
We need to make sure the following lines are correct in /etc/mrtg/mrtg.cfg If they are not there, add them.
EnableIPv6: no
RunAsDaemon: Yes
Interval: 5
Logdir: /var/log/mrtg
Now run:
indexmaker --output=/var/www/mrtg/index.html /etc/mrtg/mrtg.cfg
Which will build the index so you can view the output.
Then I run this command to set an environmental variable
env LANG=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
and open http://localhost/mrtg/index.html
This how to will show you how to install a Skype client in Ubuntu & Debian base operating system.
deb http://download.skype.com/linux/repos/debian/ stable non-free
Click Add Sources.
$ sudo aptitude install skype