Category Archives: Ubuntu

Ubuntu tips and tricks

Increase phpmyadmin session/login time in Ubuntu 9.10 Karmic

By | July 2, 2010

Phpmyadmin Login time To increase the loging time of phpmyadmin edit : /etc/phpmyadmin/config.inc.php Add the following line : 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. Last Updated… Read More »

Install SPICE on Ubuntu 9.10 64bit Karmic Koala

By | April 14, 2010

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 :… Read More »

Install php xdebug profiler on ubuntu

By | April 7, 2010

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… Read More »

Cgi bin directory for each user in Apache

By | March 21, 2010

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 : Along with this there are some more points to be kept in mind. If you .htaccess file has a section like this : then putting the cgi configuration will… Read More »