Category : "Ubuntu"

Ubuntu tips and tricks

Top Port Scanners on Ubuntu Linux

Here is a list of port scanners that work on Ubuntu/Linux. 1. Angry IP Scanner Download and Install from http://www.angryip.org/ Fast and easy to use network scanner and port scanner. To scan ports got to Tools > Preferences > Ports > Port Selection Enter the ports you want to scan Start the scan. 4. Nmap - network mapper Install : sudo apt-get install nmap Nmap is a utility ...

Convert vcd dat file to mpeg on ubuntu

VCDs that are played on vcd players often contain the video in dat format. The dat format is internally mpeg only but has some additional header information attached. So the mpeg portion has to be ripped off to get the mpeg format. Once converted to mpeg format, it can be processed inside any video editor. On ubuntu there are many tools ...

Install Ruby 1.9.2 on Ubuntu

As you all know Ruby is one of the most popular programming language on the web. It is recommended to install ruby 1.9.2 instead of 1.8.x I tried to install ruby from the package manager on Ubuntu, but ruby 1.9.2 is not there in the repo. So, I am going to show you how to install ruby 1.9.2 on Ubuntu Step 1 - Fire ...

Increase phpmyadmin session/login time in Ubuntu 9.10 Karmic

Phpmyadmin Login time To increase the loging time of phpmyadmin edit : /etc/phpmyadmin/config.inc.php Add the following line : $cfg = 3600 * 9; To make the login time 9 hours. Along with this also check session.gc_maxlifetime in php.in to be higher than or equal to this value. Otherwise session time will be the lower of the two values. ...

Install apache mod expires on Ubuntu 9.10 Karmic

Apache mod expires mod expires is an Apache module that can send additional expiry information about a server file to a browser. If the expiry date is set to a far future date, then the browser will fetch the file from its cache on next request and will not contact the server. This will speed up the loading time of the ...

Useful ffmpeg and mencoder commands on Ubuntu 9.10 Karmic

FFmpeg can be installed easily from synaptic $ sudo apt-get install ffmpeg Some useful FFMPEG commands : 1. convert mpeg to flv ffmpeg -i /path/to/movie.mpeg -ar 22050 -ab 32 -f flv -b 500000 -s 480x360 -y movie.flv 2. convert mp3 to flv ffmpeg -i /path/to/track.mp3 -f mp3 -ab 64000 -ar 22050 myfile.mp3 3. convert mpeg to flv with mp3 ffmpeg -i /path/to/movie.mpeg -ar 22050 -ab 64000 -acodec libmp3lame ...

Install SPICE on Ubuntu 9.10 64bit Karmic Koala

SPICE (Simulation Program with Integrated Circuit Emphasis) is a analog circuit simulator. To install on Ubuntu get the .deb files from : http://sourceforge.net/projects/ngspice/files/ Look for 17.binary.64bit directory. http://sourceforge.net/projects/ngspice/files/ng-spice-rework/17.binary.64bit/ Download ngspice_17.0.0-1_amd64.deb xspice_17.0.0-1_amd64.deb The both depend on each other so install like dpkg -i *.deb or dpkg -i ngspice_17.0.0-1_amd64.deb xspice_17.0.0-1_amd64.deb Ubuntu repository has a tools called : 1. easyspice - Graphical frontend for SPICE Install as sudo apt-get install easyspice Run as easy_spice 2. gspiceui - ...

Install php xdebug profiler on ubuntu

Install Xdebug Install the packages from synaptic package manager sudo apt-get install php5-dev php5-xdebug Configure php to use xdebug extension Locate the path to xdebug.so file [email protected]:/$ find / -name 'xdebug.so' 2> /dev/null /usr/lib/php5/20060613/xdebug.so An alternative command to find the xdebug.so file is using dpkg and grep as follows $ dpkg -L php5-xdebug | grep xdebug.so /usr/lib/php5/20100525/xdebug.so Now edit the php.ini configuration file as follows : sudo gedit /etc/php/apache2/php.ini Add the following ...

Cgi bin directory for each user in Apache

This page http://httpd.apache.org/docs/2.2/howto/cgi.html describes how to give each user his own cg-bin directory. The following lines should be added to the Apache configuration file http.conf : <Directory /home/*/public_html/cgi-bin> Options ExecCGI SetHandler cgi-script </Directory> Along with this there are some more points to be kept in mind. If you .htaccess file has a section like this : <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{http_host} ^site.com RewriteRule ^(.*)$ http://www.site.com/$1 </IfModule> then putting the ...

Open View MS Access mdb files in Ubuntu Linux

MDB Tools MDB Tools is a set of utilities that can be used to read mdb format (Microsoft Access) database files on Linux. It also comes with a gtk based graphical frontend tool called Gmdb (Gnome MDB Viewer) that can be used to read the table structure and data quickly and easily. More information can be found at the project website http://mdbtools.sourceforge.net/. On ...



Connect with us