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 ...

Access other partitions as writable from Dolphin KDE in Ubuntu

To access other partitions as writable execute the command. sudo chmod -Rv a+w /media/disk where directory /media/disk is the path to your partition. ...

Moneybookers as a Paypal alternative for freelancers

Recently Paypal has faced some issues with RBI which has resulted in withdrawals being reversed etc. Moneybookers is a service similar to Paypal. Moneybookers is available as a withdrawal option in Scriptlance , Getafreelancer , Odesk. Moneybookers charges 1.9% + 0.29 EU for receiving commercial payments compared to ~ 4% in paypal. In Moneybookers the payer is also charged. Moneybookers account ...

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 ...

Install ies4linux on Ubuntu 9.10 Karmic Koala

Wine and cabextract are needed to run ies4linux So install them like this : sudo apt-get install wine cabextract Next download and unpack ies4linux like this : wget http://www.tatanka.com.br/ies4linux/downloads/ies4linux-latest.tar.gz tar zxvf ies4linux-latest.tar.gz cd ies4linux-* Run setup like this ./ies4linux If you get errors like unknown option: T unknown option: menubar then simply edit the file ui/kommander/kommander.sh Towards the end you would see a line like this konsole -T "${GUI_TITLE}" --nomenubar --notabbar --noclose --schema ...

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 ...

PATH_INFO, ORIG_PATH_INFO, APACHE and PHP

AcceptPathInfo Directive The AcceptPathInfo directive is a useful feature of apache. It detects any path information in a url following the actual script name and passes it to php as an environment variable in $_SERVER superglobal. Php mvc based frameworks often use such urls that have additional path information after a script name. This is necessary so that the application can ...

Install apache mod rewrite on windows

In httpd.conf file the following line should be uncommented : LoadModule rewrite_module modules/mod_rewrite.so by removing the # sign before it. Then comes a section which looks like this : # # Possible values for the Options directive are "None", "All", # or any combination of: # Indexes Includes FollowSymLinks ...



Connect with us