World of *Nix

by S. M. Ibrahim (lavluda)

Archive for the ‘Linux Helps’ Category

using ubunt ? need non-free software ?

Friday, April 4th, 2008

today i passed some time tune my ubuntu gutsy (7.10). at the time of searching on the google i found www.medibuntu.org :). from that site:

Medibuntu (Multimedia, Entertainment & Distractions In Ubuntu) is a repository of packages that cannot be included into the Ubuntu distribution for legal reasons (copyright, license, patent, etc).

their package collection is so interesting. they have:

  • acrobat reader
  • w32codecs (also w64codecs)
  • googleearth
  • skype
  • etc :-)

isn’t it interesting  ?

before getting this site, i was really missing my favourite “w32codecs”

to use this repository you have to run these commands (it’s too simple)

first get the repository address:

sudo wget http://www.medibuntu.org/sources.list.d/gutsy.list -O /etc/apt/sources.list.d/medibuntu.list

then add the gpg key to trusted keyring (so that you will not get warning each time you do something with apt)

wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add - && sudo apt-get update

too simple !!

thanks www.medibuntu.org for there hard work , to make life more easy :) 

Share/Save/Bookmark

Sphere: Related Content

mount your windows partition with write permission

Friday, October 19th, 2007

I always get question from new linux users how to mount windows partition with read/write permission. That’s why writing this post…

to mount your other partition in linux, first you have to know what is there physical address. you can get this by:

ibrahim@lavluda:~$ su
Password:
lavluda:/home/ibrahim# fdisk -l

Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 3270 26266243+ c W95 FAT32 (LBA)
/dev/sda2 3271 3513 1951897+ 82 Linux swap / Solaris
/dev/sda3 3514 5945 19535040 83 Linux
/dev/sda4 5946 14593 69465060 f W95 Ext’d (LBA)
/dev/sda5 8108 10247 17189518+ b W95 FAT32
/dev/sda6 10248 12420 17454591 b W95 FAT32
/dev/sda7 12421 14593 17454591 b W95 FAT32
/dev/sda8 5946 8107 17366202 83 Linux

Partition table entries are not in disk order
lavluda:/home/ibrahim#

now open your /etc/fstab with your favourite editor (i prefer nano for console)
and change according to your need. for batter understand you here is my fstab as example.

lavluda:/home/ibrahim#cd /media
lavluda:/home/ibrahim#mkdir c d e f
lavluda:/home/ibrahim# nano /etc/fstab

# /etc/fstab: static file system information.
#
# proc /proc proc defaults 0 0
/dev/sda3 / reiserfs notail 0 1
/dev/sda2 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/sda1 /media/c vfat rw,users,umask=000 0 0
/dev/sda5 /media/d vfat rw,users,umask=000 0 0
/dev/sda6 /media/e vfat rw,users,umask=000 0 0
/dev/sda7 /media/f vfat rw,users,umask=000 0 0

now time to mount these partitions :D

lavluda:/home/ibrahim#mount -a

write comments if you still getting problem :P

Share/Save/Bookmark

Sphere: Related Content

how to enable mod_rewrite in apache2.2 (debian/ubuntu)

Sunday, July 15th, 2007

Here i am going to describe how to enable mod_rewrite in apache2.2 -specaily for debian.

In default installion of apache2.2 on debian never enable mod_rewrite default. So you may need to enable .

First install the apache2.2 with this command :
debian user please use “su” before start this process
ubuntu user please use “sudo su” before start this process

apt-get install apache2 (it will install apache 2.2)

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 desuable mods.
so now do this:

cd /etc/apache2/mods-enabled
touch rewrite.load
gedit 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/000-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

OK, you done :D

don’t forget to comment, if it works or not.

thanks.

Share/Save/Bookmark

Sphere: Related Content