Tag Archives: Advanced Packaging Tool

How to enable mod_rewrite in apache2
avatar

First install the apache with this command:

apt-get install apache2

Now use locate to find if the mod_rewrite.so is availble on your server:

updatedb
locate mod_rewrite.so

it will found in “/usr/lib/apache2/modules”

New apache follow some folders to enable and disable mods so now do this:

cd /etc/apache2/mods-enabled
touch rewrite.load
vim rewrite.load (you may use any editor to edit this file)

Now paste this following line:

LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so

Then edit:
/etc/apache2/sites-available/default

Find the following:

Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all

and change it to

Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order allow,deny
allow from all

and finally restart Apache:

/etc/init.d/apache2 restart

Now Its Done!!!

Enjoy…..

Enhanced by Zemanta
Social Share Toolbar
Posted in Development | Tagged , , , , , , , , , , , | 1 Comment

How to Install Firefox 10 in Ubuntu
avatar

Mozilla Firefox 10 will bring features such as implementation of Anti-Aliasing for WebGL, the forward button is hidden by default and it will active when you navigate back, implementation of Full Screen APIs to easily build full-screen web apps, support for CSS3 3D-Transform, CSS properties support, element for HTML5 bi-directional text isolation, CSS Style Inspector, and IndexedDB APIs.

To install Mozilla Firefox 10.0 on your system follow the these step on your terminal.

sudo add-apt-repository ppa:mozillateam/firefox-next

sudo apt-get update

sudo apt-get install firefox

When you will be asked if you want to install the Firefox 10 packages, type Y and hit the Enter key. Wait for the installation to finish.

The new Mozilla Firefox 10.0 is now fully installed in your Ubuntu machine. You’ll need to restart Firefox for the changes to take effect.

Enhanced by Zemanta
Social Share Toolbar
Posted in Development | Tagged , , , , , , , , , | Leave a comment

sun JDK installation on ubuntu
avatar

three steps to install sun jdk on ubuntu

sudo add-apt-repository “deb http://archive.canonical.com/ lucid partner”
sudo apt-get update
sudo apt-get install sun-java6-jdk

Enhanced by Zemanta
Social Share Toolbar
Posted in Development | Tagged , , , , , , , | Leave a comment

MySql-Apache-PHP Installation on Ubuntu server
avatar

The way to install a php server with apache & mysql support on ubuntu machine is as follow:

MySql
apt-get install mysql-server mysql-client
New password for the MySQL “root” user: <– yourrootsqlpassword
Repeat password for the MySQL “root” user: <– yourrootsqlpassword

Apache
apt-get install apache2

Php
apt-get install php5 libapache2-mod-php5
/etc/init.d/apache2 restart

check for php-MySql Packages
apt-cache search php5

apt-get install php5-mysql php5-curl php5-gd php5-idn php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-ming php5-ps php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl

/etc/init.d/apache2 restart

apt-get install phpmyadmin
Web server to reconfigure automatically: <– apache2
Configure database for phpmyadmin with dbconfig-common? <– No

Note:use sudo where ever required!!!

Enhanced by Zemanta
Social Share Toolbar
Posted in Development | Tagged , , , , , , , , , , | Leave a comment